Skip to content

fix: resolve PyQt5 transparent overlay bugs and improve message handling - #45

Open
Lakshanya25cs505 wants to merge 1 commit into
Harshbansal8705:mainfrom
Lakshanya25cs505:patch-1
Open

Lakshanya25cs505 wants to merge 1 commit into
Harshbansal8705:mainfrom
Lakshanya25cs505:patch-1

Conversation

@Lakshanya25cs505

Copy link
Copy Markdown

Fix issues in the PyQt5 transparent overlay, including incorrect mouse and close event handlers, window dragging functionality, and GUI updates from background threads.

Improve message queue processing using QTimer to ensure GUI operations are performed on the main thread. Implement configurable message timeouts to automatically remove old messages and improve message display and auto-scrolling behavior.

Preserve existing overlay features, including window transparency, status indicators, message input, and response display.

These changes improve the overall stability, responsiveness, and reliability of the transparent assistant overlay.

Description

Brief description of what this PR does and why.

Fixes # 44

Type of Change

  • 🐛 Bug fix (non-breaking change that fixes an issue)
  • ✨ New feature (non-breaking change that adds functionality)
  • 🔨 Refactor (non-breaking change that improves code quality)
  • 💥 Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • 📖 Documentation update

Changes Made

  • Change 1
  • Change 2

How Has This Been Tested?

Describe how you tested your changes:

  • Tested the assistant runs without errors (./run.sh)
  • Tested the specific feature/fix manually
  • Verified no regressions in existing functionality

Checklist

  • My code follows the project's code style
  • I have added/updated docstrings for new/modified functions
  • I have updated the README if needed
  • I have added my new configuration to src/config.py (if applicable)
  • New tools use the @tool decorator from src/core/tools.py

Screenshots / Logs (if applicable)

Add screenshots or relevant log output here.

Fix issues in the PyQt5 transparent overlay, including incorrect mouse and close event handlers, window dragging functionality, and GUI updates from background threads.

Improve message queue processing using QTimer to ensure GUI operations are performed on the main thread. Implement configurable message timeouts to automatically remove old messages and improve message display and auto-scrolling behavior.

Preserve existing overlay features, including window transparency, status indicators, message input, and response display.

These changes improve the overall stability, responsiveness, and reliability of the transparent assistant overlay.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant