| Summary: | Window previews for Firefox when playing videos with sound or streaming audio were sometimes shifted down and to the right | ||
|---|---|---|---|
| Product: | [Plasma] plasmashell | Reporter: | Matt Fagnani <matt.fagnani> |
| Component: | Task Manager and Icons-Only Task Manager widgets | Assignee: | Plasma Bugs List <plasma-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | fanzhuyifan, qydwhotmail |
| Priority: | NOR | Keywords: | qt6 |
| Version First Reported In: | 5.93.0 | ||
| Target Milestone: | 1.0 | ||
| Platform: | Fedora RPMs | ||
| OS: | Linux | ||
| Latest Commit: | https://invent.kde.org/plasma/plasma-desktop/-/commit/b40e3a8764dc4fbfdef9fa5efecb36f88db37ae1 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Matt Fagnani
2024-02-08 09:21:56 UTC
can reproduce on wayland, default animation speed. For me playing videos doesn't seem to be a necessary nor sufficient factor -- this just randomly happens with firefox (I did not extensively test other apps). The horizontal offset seems to caused by Layout alignment not functioning correctly -- it disappears after removing `Layout.alignment: Qt.AlignHCenter | Qt.AlignVCenter` in https://invent.kde.org/plasma/plasma-desktop/-/blob/master/applets/taskmanager/package/contents/ui/ToolTipInstance.qml?ref_type=heads#L78 Thanks. This problem usually happened when I stopped moving the cursor over the Firefox task in the task manager before the window preview popups appeared. When I kept moving the cursor after the window preview popups appeared, the problem normally didn't happen or corrected itself. The initial alignment positions for Firefox previews might be off. I've only seen this problem with Firefox when video or audio are playing or paused with sound on, so the media player controls might be involved in the incorrect positioning somehow. The media player controls like play or pause were either partly cut off at the bottom of the popups or not shown at all when the problem happened. I haven't seen this problem when playing video or audio with Falkon or VLC briefly. I'm seeing this problem with Konsole and Kate 24.01.95 in Plasma 5.93.0. Git commit 777a7803d9239c9233deebfcb506c65a406354e7 by Vlad Zahorodnii. Committed on 25/03/2024 at 19:26. Pushed by vladz into branch 'master'. applets/taskmanager: Don't base the amount of space reserved for the thumbnail on the header This addresses layouting issues, like misplaced contents sometimes. And it makes sense to provide an explicit size rather than base it off the header. M +2 -2 applets/taskmanager/package/contents/ui/ToolTipInstance.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/777a7803d9239c9233deebfcb506c65a406354e7 Git commit b40e3a8764dc4fbfdef9fa5efecb36f88db37ae1 by Vlad Zahorodnii. Committed on 25/03/2024 at 19:43. Pushed by vladz into branch 'Plasma/6.0'. applets/taskmanager: Don't base the amount of space reserved for the thumbnail on the header This addresses layouting issues, like misplaced contents sometimes. And it makes sense to provide an explicit size rather than base it off the header. (cherry picked from commit 777a7803d9239c9233deebfcb506c65a406354e7) M +2 -2 applets/taskmanager/package/contents/ui/ToolTipInstance.qml https://invent.kde.org/plasma/plasma-desktop/-/commit/b40e3a8764dc4fbfdef9fa5efecb36f88db37ae1 |