Bug 499256 - Resize issues when a placement policy/rules sets a non-maximisable window to maximised
Summary: Resize issues when a placement policy/rules sets a non-maximisable window to ...
Status: CONFIRMED
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (other bugs)
Version First Reported In: 6.2.5
Platform: Other Linux
: LO normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: wayland-only
Depends on:
Blocks:
 
Reported: 2025-01-28 21:44 UTC by Alberto Salvia Novella
Modified: 2025-12-16 21:47 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Screenshot (63.99 KB, image/png)
2025-01-28 22:29 UTC, Nicolas Fella
Details
stderr.txt (42.94 KB, text/plain)
2025-01-29 17:16 UTC, Alberto Salvia Novella
Details
Record.mkv (1.15 MB, video/x-matroska)
2025-01-29 22:29 UTC, Alberto Salvia Novella
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alberto Salvia Novella 2025-01-28 21:44:37 UTC
SYSTEM
- Zenned (Arch Linux customized)
- plasma-desktop 6.2.5-1
- qt6-base 6.8.1-1
- mate-calc 1.28.0-2 (https://archlinux.org/packages/extra/x86_64/mate-calc/)

STEPS
1. Log into plasma using the Wayland session.
2. Launch mate-calc.

RESULT
- mate-calc is unusable.
- The window lacks decorations. No borders and such.
- If you move the window around, the animation is very choppy.
Comment 1 Nicolas Fella 2025-01-28 22:29:40 UTC
Created attachment 177780 [details]
Screenshot

Seems fine here
Comment 2 Alberto Salvia Novella 2025-01-28 22:31:54 UTC
System?
Comment 3 Vlad Zahorodnii 2025-01-29 13:44:12 UTC
Can you run mate-calc with WAYLAND_DEBUG=1 environment variable and post the output here? Please reset the bug report status back to REPORTED after providing the requested information.
Comment 4 Alberto Salvia Novella 2025-01-29 17:16:10 UTC
Created attachment 177793 [details]
stderr.txt
Comment 5 Vlad Zahorodnii 2025-01-29 17:22:07 UTC
Okay, mate calc appears to create a decoration. Can you share a screenshot to give a glimpse of how mate-calc is broken?
Comment 6 Alberto Salvia Novella 2025-01-29 22:29:08 UTC
Created attachment 177802 [details]
Record.mkv
Comment 7 Vlad Zahorodnii 2025-01-30 10:41:51 UTC
Hmm I cannot reproduce the issue. If you move the window by using Meta+LMB, is there any difference?
Comment 8 John Kizer 2025-02-05 20:12:47 UTC
Updating status pending a response to Vlad's last comment
Comment 9 Alberto Salvia Novella 2025-02-06 01:11:07 UTC
No difference.
Comment 10 Alberto Salvia Novella 2025-12-16 11:21:57 UTC
This affects any window that is non-resizable.

I see the same problem with displaycal dialogs.
Comment 11 Alberto Salvia Novella 2025-12-16 11:22:51 UTC
Let me bisect this...
Comment 12 Alberto Salvia Novella 2025-12-16 11:45:23 UTC
I have found the culprit.

On (System Settings -> Window Behavior -> Advanced) set "Window placement" as "Maximized".