https://bugs.kde.org/show_bug.cgi?id=517093

Robin Candau <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |[email protected]

--- Comment #7 from Robin Candau <[email protected]> ---
Hi,

I'm the author / upstream developer of the Arch-Update tool.
Thanks for investigating this!

Here a few answers and additional info I can provide:

The tray icon is written with PyQT6, the code is available here:
https://github.com/Antiz96/arch-update/blob/main/src/lib/tray.py
The tray context menu for it used to work just fine (with a correct placement)
before Plasma 6.6.0. It also works as expected on any other DE / WM, so this
issue (or at least part of it) seems Plasma specific.

> I don't use CachyOS though; is there any other app's tray icon that exhibits 
> the problem? The menu for the tray icons of Steam and Discord seem to appear 
> in the right place.

It indeed appears that the Arch-Update / Cachy-Update tray icon is affected
while other tray icons such as Steam and Discord are not. Maybe PyQT6 is also
involved in the mix (assuming that the Steam / Discord applet are not written
with it)?

> I expect the CachyOS version is forked from the Vanilla Arch version and it's 
> the same issue in both.

Yes indeed.

> So we should fix this on our side, but it sounds like there may also be an 
> issue with the CachyOS widget too. Maybe it hasn't given the menu a parent or 
> something?

It's indeed possible that there's also an issue in the tray applet code
somewhere. Although, as said earlier, it used to work just fine before Plasma
6.6.0 and still does on any other DE / WM, so I guess something has changed
since Plasma 6.6.0 on that front?

Regarding menu parent, the "main" menu is declared here:
https://github.com/Antiz96/arch-update/blob/main/src/lib/tray.py#L381
And is attached to the tray here:
https://github.com/Antiz96/arch-update/blob/main/src/lib/tray.py#L409
But it indeed doesn't seem like it has a parent I think? I'm not really a PyQT6
expert I must admit... Anything obvious I should fix here to match Plasma >=
6.6.0 expectations?

I remain available to provide any additional information or test.
Thanks once again :)

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to