antroids/application-title-bar

Window title not synced with active window

frasty opened this issue · 12 comments

Occasionally the widget's window title is not synced with the active window. Have to restart plasmashell to overcome this behavior. Using application-title-bar 0.5.1 on Wayland/Plasma 6.0.4

Does the context menu appear in the center of the screen?
I have the same issue after resume.
It is a plasma or wayland issue.

What your GPU vendor?
Do you have multi-display setup?

Does the context menu appear in the center of the screen? I have the same issue after resume. It is a plasma or wayland issue.

Yes, it also happend to me that the window title starts to lose its synchronization with the active focused window after resume, but only occasionally. If I click on the widget with the right mouse button the context menu appears correctly and not in the center on the screen, so it seems another issue?

What your GPU vendor? Do you have multi-display setup?

It happens on both my workstations, both with single AMD GPUs, one on Wayland with a dual monitor setup and the other on X11 with a four monitor setup. Fyi I use separate screen focus with ActiveMouseScreen=false in kwinrc

Yes, it seems another issue.
Could you describe how the widget works when the issue appeared?
Is there the same problem with task manager widget?

I'll post an update when the issue will reappear as I already restarted plasmashell but iirc I don't remember to have noticed similar problems with Icon-only task manager

I'm not sure, but it seems like some applications can be associated with off-screen or already destroyed plasmashell instances or displays for some reason. I also noticed that some application can be closed when you are restarting the plasmashell.

It seems something was changed in Plasma 6.1.4 with Qt 6.7.2 or even before.
I cannot see the issues with detached context menu or unsyncronized TasksModel anymore.