Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Colored circles flicker on mouse hover #4151

Open
alt-tab-macos-bot opened this issue Jan 21, 2025 · 1 comment
Open

Colored circles flicker on mouse hover #4151

alt-tab-macos-bot opened this issue Jan 21, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@alt-tab-macos-bot
Copy link

This issue was opened by a bot after a user submitted feedback through the in-app form.

Message:

Describe the bug

When hovering over a window's thumbnail, colored circles appear to close, minimize, expand, etc. While hovering, if any window's thumbnail changes its title (does not have to be the one hovered over), the colored circles disappear and you have to move the mouse to get them to reappear.

To Reproduce

  1. Open any app which changes its title without user input.
  • For example, open a web-browser (tested on Firefox), search "timer" on google, and press start (notice, the tab's title will display the countdown).
  1. Open alttab's window navigator as usual while making sure that the app in step (1) is being displayed.
  • For the web timer example, have the tab in focus when opening alttab's window navigator.
  1. Hover over any of the window thumbnails to display the colored circles, do not move the mouse, and wait for the app in step (1) to change its title.
  • For the web timer example, the countdown updates every second so you do not have to wait long.
  1. The colored circles will dissappear. Move the mouse slightly to have them reappear.

Expected Behavior

The colored circles should not dissappear over the hovered window's thumbnail since the mouse continues to hover over the same thumbnail.

Impact on User

The colored circles dissappearing leads to unexpected behavior if you pause to click one of the colored circles while a random window changes its title. The result is that you accidentally focus the hovered window instead of performing the circle action (like closing).

This is not as uncommon as it seems since many apps may change window title. Timers and stopwatches change title periodically. But other websites like ecommerce, email/chat rooms, and video/audio streaming sites may change their title without user input as part of their notification system (like "new message", "now playing", etc.).

@lwouis
Copy link
Owner

lwouis commented Jan 21, 2025

I noticed this in the past, so the issue is confirmed. We can probably check for mouse position when we refresh the UI.
⚠ We need to be very careful to only check on refreshes, and not on the first showing of the UI. On the first showing, we don't want to react to the mouse if it's not moving. Only on refreshing the UI.

@lwouis lwouis added enhancement New feature or request bug Something isn't working and removed enhancement New feature or request labels Jan 21, 2025
@lwouis lwouis changed the title BUG: Colored circles flicker on mouse hover Colored circles flicker on mouse hover Jan 21, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants