Bug 484253 - Visual Bugs in KiCAD on Plasma 6 Wayland
Summary: Visual Bugs in KiCAD on Plasma 6 Wayland
Status: REPORTED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords: wayland
Depends on:
Blocks:
 
Reported: 2024-03-22 15:49 UTC by Tim
Modified: 2024-03-25 13:40 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Picture of the Bug (97.48 KB, image/png)
2024-03-22 15:55 UTC, Tim
Details
Screencapture of the bug (2.20 MB, video/mp4)
2024-03-22 16:03 UTC, Tim
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tim 2024-03-22 15:49:59 UTC
SUMMARY
KiCAD has visual bugs on my KDE Plasma installation with Wayland Session displayed on my 32:9 Monitor.
After unsuccessfully trying to reproduce the bug on Plasma with X11 and GNOME with Wayland, I suspect that the fault could be within the combination of Plasma with wayland. I've attached a screenrecording of me reproducting the bug.

STEPS TO REPRODUCE
1. Open KiCAD Schematic- and/or PCB-Editor
2. Drag  windows to edges or corners to resize
I've attached a screenrecording of me reproducting the bug.

OBSERVED RESULT
A graphical bug appears within the KiCAD window when resizing.
This does not happen every time but is reproducible on Plasma 6 with Wayland.

EXPECTED RESULT
The content should resize and position properly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux/ KDE Plasma 6
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
KiCAD Version: 8.0.1-1
Comment 1 Tim 2024-03-22 15:55:45 UTC
Created attachment 167612 [details]
Picture of the Bug
Comment 2 Tim 2024-03-22 16:03:36 UTC
Created attachment 167613 [details]
Screencapture of the bug

Qualitiy is low due to compression but bug should still be visible
Comment 3 Nick 2024-03-22 17:00:13 UTC
Hi - I've tried duplicating this on my Neon (Plasma 6.0.20 laptop with KiCAD 6.0.2. Running Wayland on Intel graphics. I'm not able to duplicate it currently.

Are you able to confirm whether you have a discrete graphics card which might be a factor? Any other ideas on how to duplicate this would be appreciated. Thanks, Nick
Comment 4 Tim 2024-03-22 17:34:15 UTC
(In reply to Nick from comment #3)
> Hi - I've tried duplicating this on my Neon (Plasma 6.0.20 laptop with KiCAD
> 6.0.2. Running Wayland on Intel graphics. I'm not able to duplicate it
> currently.
> 
> Are you able to confirm whether you have a discrete graphics card which
> might be a factor? Any other ideas on how to duplicate this would be
> appreciated. Thanks, Nick

Hi, I do have a dGPU (RX 7700S) in this system, however KiCAD only uses the integrated graphics (Radeon 780M) by default.
So far I've encountered this bug only when plugging into the external monitor (via HDMI) so not on the internal display of the laptop.
I also run a newer version of KiCAD - even though I don't know if that helps in any way.
Thanks for your quick reply, hope some of the information is usefull to you.
Cheers, Tim
Comment 5 Nick 2024-03-22 19:02:33 UTC
Hi - I just re-tried it using KiCAD 8.01 (Flatpak) with my external monitor connected via HDMI. Cannot duplicate. I'll leave this here hoping someone else with hardware similar to yours, plus perhaps the non-flatpak KiCAD 8.01 can duplicate it. Thanks, Nick
Comment 6 Tim 2024-03-25 13:40:29 UTC
Tested for the same bug with my desktop system (also with Arch + Plasma 6 installed) connected to the very same display with no problems at all. It seems like the bug appears only on my Laptop (Framework 16). 
Cheers, Tim