Bug 479083 - Window thumbnails are upside down in Task Manager and Spectacle
Summary: Window thumbnails are upside down in Task Manager and Spectacle
Status: RESOLVED FIXED
Alias: None
Product: KPipeWire
Classification: Frameworks and Libraries
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR major
Target Milestone: ---
Assignee: Plasma Bugs List
URL:
Keywords:
: 479759 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-12-27 16:48 UTC by Fernando M. Muniz
Modified: 2024-01-29 20:24 UTC (History)
7 users (show)

See Also:
Latest Commit:
Version Fixed In: 6.0


Attachments
This image shows the taskbar's "window preview" being displayed upside-down. (108.25 KB, image/jpeg)
2023-12-27 16:48 UTC, Fernando M. Muniz
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fernando M. Muniz 2023-12-27 16:48:53 UTC
Created attachment 164480 [details]
This image shows the taskbar's "window preview" being displayed upside-down.

The issue is that the preview/peek window is mirrored upside-down.
Notice the Discover icon.
Comment 1 Ilya Bizyaev 2024-01-12 22:21:07 UTC
Interestingly, the thumbnails are not upside down in the Alt+Tab window switcher.

Operating System: openSUSE Tumbleweed 20240111
KDE Plasma Version: 6.0.80
KDE Frameworks Version: 5.249.0
Qt Version: 6.6.1
Kernel Version: 6.6.10-1-default (64-bit)
Graphics Platform: Wayland
Graphics Processor: NVIDIA GeForce RTX 4070/PCIe/SSE2
Comment 2 Fernando M. Muniz 2024-01-12 23:06:53 UTC
Perhaps a software rendering issue?

Operating System: Fedora Linux 40
KDE Plasma Version: 5.91.0
KDE Frameworks Version: 5.247.0
Qt Version: 6.6.1
Kernel Version: 6.7.0-0.rc8.20240104gitac865f00af29.64.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 5 × Intel® Core™ i5-L16G7 CPU @ 1.40GHz
Memory: 7.6 GiB of RAM
Graphics Processor: llvmpipe
Manufacturer: SAMSUNG ELECTRONICS CO., LTD.
Product Name: 767XCL
System Version: P07AJD
Comment 3 Ilya Bizyaev 2024-01-14 19:40:04 UTC
I have the same problem when recording videos with Spectacle, so the problem is most likely in KPipeWire
Comment 4 Fernando M. Muniz 2024-01-15 08:15:02 UTC
This issue persists on version 5.92.0

I've noticed that it's actually both mirrored and upside-down, instead of just one of them.
Comment 6 Nate Graham 2024-01-16 23:28:19 UTC
*** Bug 479759 has been marked as a duplicate of this bug. ***
Comment 7 Ilya Bizyaev 2024-01-16 23:29:58 UTC
No, that's my commit, it's for a different issue :) This one I don't know how to fix yet.
Comment 8 Nate Graham 2024-01-18 00:27:56 UTC
Oops, sorry.
Comment 9 Ilya Bizyaev 2024-01-25 11:08:44 UTC
This somehow got fixed with https://invent.kde.org/plasma/kwin/-/merge_requests/5037 for me. My guess is that NVIDIA supports `DRM_FORMAT_RGBA8888` while other GPUs don't, which is the format KWin was trying to set on the window captures whenever supported, but it was incorrectly flipped somewhere along the way.