Bug 465853

Summary: Since 5.27 some gtk apps under xwayland have weird scale
Product: [Plasma] kwin Reporter: gudvinr+kde
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DUPLICATE    
Severity: normal CC: kde
Priority: NOR    
Version: 5.27.0   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: no GDK_SCALE
GDK_SCALE=

Description gudvinr+kde 2023-02-16 16:54:30 UTC
SUMMARY

I've seen this behavior only in Prusa Slicer so far, but before I upgrade to 5.27 today (and also to kf 5.103), it now doesn't scale.

If I run it with GDK_SCALE set, it starts normally as I usually see it. It doesn't matter if I set "GDK_SCALE" or "GDK_SCALE=1", result is the same.
I didn't use any env variables before so I think there could be some regression.

SOFTWARE/OS VERSIONS
Operating System: Arch Linux 
KDE Plasma Version: 5.27.0
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.12-zen1-1-zen (64-bit)
Graphics Platform: Wayland
Graphics Processor: AMD Radeon RX Vega M GL Graphics

ADDITIONAL INFORMATION
Prusa Slicer is wxgtk app, I have wxgtk 3.2 and it uses gtk3 backend.
Comment 1 gudvinr+kde 2023-02-16 16:54:59 UTC
Created attachment 156313 [details]
no GDK_SCALE
Comment 2 gudvinr+kde 2023-02-16 16:55:16 UTC
Created attachment 156314 [details]
GDK_SCALE=
Comment 3 gudvinr+kde 2023-02-16 16:59:44 UTC
Just as I filed this issue, I opened discord and it has same behaviour. Interface is tiny and if I launch discord with GDK_SCALE= discord, it starts having normal scale.

So I suspect it isn't wxgtk nor prusa-slicer issue.
Comment 4 David Edmundson 2023-02-16 17:19:23 UTC

*** This bug has been marked as a duplicate of bug 465733 ***
Comment 5 David Edmundson 2023-02-16 17:23:19 UTC
Just to clarify "doesn't scale" == looks really small on your high res screen?
Comment 6 gudvinr+kde 2023-02-16 17:24:09 UTC
(In reply to David Edmundson from comment #5)
> Just to clarify "doesn't scale" == looks really small on your high res
> screen?

Yeah. Maybe that was wrong wording here, but yes.