Bug 465853 - Since 5.27 some gtk apps under xwayland have weird scale
Summary: Since 5.27 some gtk apps under xwayland have weird scale
Status: RESOLVED DUPLICATE of bug 465733
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.27.0
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-02-16 16:54 UTC by gudvinr+kde
Modified: 2023-02-16 17:24 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
no GDK_SCALE (1.08 MB, image/png)
2023-02-16 16:54 UTC, gudvinr+kde
Details
GDK_SCALE= (1.12 MB, image/png)
2023-02-16 16:55 UTC, gudvinr+kde
Details

Note You need to log in before you can comment on or make changes to this bug.
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.