antroids / application-title-bar

KDE Plasma6 widget with window controls
GNU General Public License v3.0
64 stars 4 forks source link

Window title not synced with active window #30

Open frasty opened 4 months ago

frasty commented 4 months ago

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

antroids commented 4 months ago

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?

antroids commented 4 months ago

Here is the bug report: https://bugs.kde.org/show_bug.cgi?id=482185

frasty commented 4 months ago

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

antroids commented 4 months ago

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?

frasty commented 4 months ago

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

antroids commented 4 months ago

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.

antroids commented 3 weeks ago

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.