Bug 507262

Summary: Windows rules could allow to specify a zoom value
Product: [Plasma] kwin Reporter: tnemeth
Component: rulesAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED INTENTIONAL    
Severity: wishlist CC: isma.af, kde
Priority: NOR    
Version First Reported In: 6.3.5   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description tnemeth 2025-07-20 08:58:27 UTC
SUMMARY

    Context:
    I use several "old" fashioned application (using Athena Widgets for example : xfig) and
    some java applications (eg: sweethome3d) on a 4K, 32" screen... Although old applications
    support ~/.Xdefaults to set their fonts and stuff, it's a bit tedious. Moreover it's not
    foolproof as some parts can be configured and some cannot (eg: icons, drawings on buttons).

    Problem:
    In virtualbox there is a zoom that can be applied to OS windows... and I thought : it would
    be great to be able to apply such a zoom to individual windows (for their contents) in the
    windows rules... But there's no such option.

STEPS TO REPRODUCE
1. Open XFig on a 4K monitor
2. Try and read it's menus without tweaking its resources file
3. Give up
4. Open the Application Rules creation window
5. Look for "Zoom"

OBSERVED RESULT
No "zoom" option :)

EXPECTED RESULT
A "zoom" option ;)

SOFTWARE/OS VERSIONS
Operating System: Debian GNU/Linux 13
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.13.0
Qt Version: 6.8.2
Kernel Version: 6.12.35+deb13-amd64 (64-bit)
Graphics Platform: X11
Comment 1 David Edmundson 2025-07-21 09:44:26 UTC
Unfortunately this is not doable with different X11 apps under the same X11 server. Sorry.

You would need a second xwayland, which can be done now either directly or (more easily) via gamescope.
Comment 2 tnemeth 2025-07-21 09:50:24 UTC
(In reply to David Edmundson from comment #1)
> Unfortunately this is not doable with different X11 apps under the same X11
> server. Sorry.

:'(

> You would need a second xwayland, which can be done now either directly or
> (more easily) via gamescope.

I don't use wayland yet : too much unfinished stuff ;)
I don't know gamescope... Researching now... :)

Thanks.