Bug 470315

Summary: Resizing tall Spectacle window downward causes background to show above toolbar.
Product: [Applications] Spectacle Reporter: Roke Julian Lockhart Beedell <4wy78uwh>
Component: GeneralAssignee: Noah Davis <noahadvs>
Status: RESOLVED UPSTREAM    
Severity: minor CC: kde, nate
Priority: NOR    
Version: git-master   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Depiction of the problem.

Description Roke Julian Lockhart Beedell 2023-05-26 21:57:23 UTC
Created attachment 159278 [details]
Depiction of the problem.

STEPS TO REPRODUCE

1. Resize the window quickly downward from a tall height.

EXPECTED RESULT

It shouldn't.

SOFTWARE/OS VERSIONS

Operating System: openSUSE Tumbleweed 20230525
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.107.0
Qt Version: 5.15.9
Kernel Version: 6.3.2-1-default (64-bit)

ADDITIONAL INFORMATION

Graphics Platform: X11
Processors: 12 × AMD Ryzen 5 3600 6-Core Processor
Memory: 31.2 GiB of RAM
Graphics Processor: AMD Radeon RX 5700
Comment 1 Nate Graham 2023-05-31 18:51:23 UTC
This is an unfixable issue with QtQuick apps on X11, but it's already working properly on Wayland. It's one of the things Wayland was designed to fix. Solution: Use Wayland. :)
Comment 2 Roke Julian Lockhart Beedell 2023-06-01 16:02:08 UTC
(In reply to Nate Graham from comment #1)
> This is an unfixable issue with QtQuick apps on X11, but it's already
> working properly on Wayland. It's one of the things Wayland was designed to
> fix. Solution: Use Wayland. :)

I can't, because half of my .kwinrule rules don't work. Do you know whether there's an issue for `noborderrule=2` not working?
Comment 3 Nate Graham 2023-06-01 16:08:03 UTC
I mean you*can*, you just won't have your window rules. Just like if you currently use Wayland and move to X11, you'll lose per-screen scaling, variable refresh rates, and touchpad gestures.

And yes, it's possible to disable window borders on Wayland. IIRC rules need to be recreated on Wayland, but once you do so, it should work. If it doesn't, it's a bug, not something intentional.
Comment 4 Roke Julian Lockhart Beedell 2023-06-01 16:21:19 UTC
(In reply to Nate Graham from comment #3)
> I mean you*can*, you just won't have your window rules. Just like if you currently use Wayland and move to X11, you'll lose per-screen scaling, variable refresh rates, and touchpad gestures.
> 
> And yes, it's possible to disable window borders on Wayland.

I actually want the opposite – to force-enable them for all windows. Disablement them works on Wayland, but not enablement.

> IIRC rules need to be recreated on Wayland, but once you do so, it should work. If it doesn't, it's a bug, not something intentional.

As in, I need to log out of X, login to Wayland, then manually recreate the old X11 window rules in kcm_kwinrules, just whilst using Wayland? That doesn't appear to work.
Comment 5 Nate Graham 2023-06-01 16:51:58 UTC
Weird. If that doesn't work, it's a bug.
Comment 6 Roke Julian Lockhart Beedell 2023-06-01 18:29:29 UTC
Thanks. I'll move discussion to https://bugs.kde.org/show_bug.cgi?id=470535, then.