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

Popup menu in system tray opens wrong direction under KDE #472

Open
ghost opened this issue Apr 20, 2023 · 1 comment
Open

Popup menu in system tray opens wrong direction under KDE #472

ghost opened this issue Apr 20, 2023 · 1 comment
Labels
bug Faults with Polychromatic itself dependencies A library or dependency affecting Polychromatic tray applet Specific to the tray applet application

Comments

@ghost
Copy link

ghost commented Apr 20, 2023

Details about the problem

Open the system tray once. Hover over a device, and the menu options will be rendered partially or entirely offscreen.
I am using another monitor to the right, not sure if that affects anything (as it doesn't get rendered past the cutoff).
Also, this seems to fix itself and then consistently break again at startup

Screenshot_20230420_035450

Operating System / Desktop Environment / Version(s)

Linux 6.2.11-arch1-1 (64-bit)

KDE Plasma (Wayland) 5.27.4

Affected Devices

N/A (my mouse works fine)

This may also be a good opportunity to mention that the system tray doesn't highlight or checkmark selected settings, which seems like a missed opportunity

@ghost ghost added the bug Faults with Polychromatic itself label Apr 20, 2023
@lah7 lah7 added tray applet Specific to the tray applet application dependencies A library or dependency affecting Polychromatic labels Apr 21, 2023
@lah7 lah7 changed the title Popup menu in system tray opens wrong direction Popup menu in system tray opens wrong direction under KDE Apr 21, 2023
@lah7
Copy link
Member

lah7 commented Apr 21, 2023

Can confirm, it's a bug in KDE. Applications have no control over which direction these menus open:

It's been a bug for as long as I started using KDE daily some years ago. This app currently uses a GTK technology to build the tray icon and intends to move to a Qt implementation in future - although that's not going to fix it either, it seems.

This may also be a good opportunity to mention that the system tray doesn't highlight or checkmark selected settings, which seems like a missed opportunity

Thanks for the feedback. Maintaining the state has always been a challenge (buggy) for the tray applet, since devices can be changed externally (via Controller, command line or another app). To keep things lightweight, the tray applet opted to be more a "do this", "do that", but it's good to know.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Faults with Polychromatic itself dependencies A library or dependency affecting Polychromatic tray applet Specific to the tray applet application
Projects
None yet
Development

No branches or pull requests

1 participant