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

Having many tray icons from one AppVM, only one is reacting to mouse events #227

Closed
marmarek opened this Issue Mar 8, 2015 · 2 comments

Comments

Projects
None yet
1 participant
@marmarek
Member

marmarek commented Mar 8, 2015

Reported by smoku on 18 Apr 2011 19:49 UTC
When you start several applications docking a tray icon in one VM, only the last one is receiving mouse events of all tray icons in this domain.

Ie. having tray icon A B and C, all icons have the hint of icon C and clicking on any icon shows context menu of icon C.

Migrated-From: https://wiki.qubes-os.org/ticket/227

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by joanna on 21 Apr 2011 09:11 UTC
Hm, I don't observe this behaviour...?

Member

marmarek commented Mar 8, 2015

Comment by joanna on 21 Apr 2011 09:11 UTC
Hm, I don't observe this behaviour...?

@marmarek marmarek added this to the Release 1 Beta 2 milestone Mar 8, 2015

@marmarek

This comment has been minimized.

Show comment
Hide comment
@marmarek

marmarek Mar 8, 2015

Member

Comment by marmarek on 25 Apr 2011 14:07 UTC
Tray icon/window don't get any notification when a) systray was moved b) icon in tray was moved.
This bug was only when new icon got the same place as previous (but previous hasn't get notified about move), so was overlapped. Tray icon, embedded into root-window, didn't get any raise event, so there was in order that was created, and mouse events went to the top one.

I haven't found any way to get noticed when icon was moved, so I implemented some workaround: check icon position on mouse enter/leave and send corresponding event to VM.

Some problem not solved here: position of notifications from icons. After icon move, notification will be displayed near previous position of the icon. This will be fixed after mouse move over the icon.

http://git.qubes-os.org/gitweb/?p=marmarek/gui.git;a=commit;h=b57b0e9f1ab914eec8e396553f1fe37b131e79d0

Member

marmarek commented Mar 8, 2015

Comment by marmarek on 25 Apr 2011 14:07 UTC
Tray icon/window don't get any notification when a) systray was moved b) icon in tray was moved.
This bug was only when new icon got the same place as previous (but previous hasn't get notified about move), so was overlapped. Tray icon, embedded into root-window, didn't get any raise event, so there was in order that was created, and mouse events went to the top one.

I haven't found any way to get noticed when icon was moved, so I implemented some workaround: check icon position on mouse enter/leave and send corresponding event to VM.

Some problem not solved here: position of notifications from icons. After icon move, notification will be displayed near previous position of the icon. This will be fixed after mouse move over the icon.

http://git.qubes-os.org/gitweb/?p=marmarek/gui.git;a=commit;h=b57b0e9f1ab914eec8e396553f1fe37b131e79d0

@marmarek marmarek closed this Mar 8, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment