Skip to content

TrayApp not opening near the tray icon on KDE #347

@Nohus

Description

@Nohus

My system tray is at the bottom of the screen, as usual, but when I click it the TrayApp window opens aligned to the top of the screen instead of to the bottom where the tray icon is.

Looking into the debugger, I think the issue is that in getTrayWindowPosition(), the screenSize value is incorrect. That's because Toolkit.getDefaultToolkit().screenSize returns the size of the primary display, but that's not where my system tray is (I have 3 displays, and the one with my system tray is smaller than the primary one).

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions