Bug 475062 - Maximized flag not updated when window is dragged.
Summary: Maximized flag not updated when window is dragged.
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: core (show other bugs)
Version: 5.27.8
Platform: Fedora RPMs Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-09-30 18:31 UTC by Wesley M
Modified: 2023-11-04 01:28 UTC (History)
2 users (show)

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


Attachments
Video Example (2.28 MB, video/x-matroska)
2023-09-30 18:31 UTC, Wesley M
Details
kwinrc as of Oct 3 2023 (3.01 KB, text/plain)
2023-10-03 22:48 UTC, Wesley M
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wesley M 2023-09-30 18:31:21 UTC
Created attachment 161976 [details]
Video Example

SUMMARY
***
Maximized flag not updated when window is dragged.
***


STEPS TO REPRODUCE
1. Maximize any window.
2. Using the titlebar or the super key, drag the window.

OBSERVED RESULT
The window keeps its size, shape, and maximized status, but moves with the drag operation.

EXPECTED RESULT
The window should no longer be maximized. It should revert to it's floating size and shape, but still change position to match the dragging operation.

SOFTWARE/OS VERSIONS
Windows: n/a
macOS: n/a
Linux/KDE Plasma: Fedora 38
(available in About System)
KDE Plasma Version: 5.27.8
KDE Frameworks Version: 5.109.0
Qt Version: 5.15.10

ADDITIONAL INFORMATION
n/a
Comment 1 David Edmundson 2023-10-03 09:08:13 UTC
I cannot reproduce this. 

Can you share your .config/kwinrc
Comment 2 Wesley M 2023-10-03 22:46:56 UTC
Sure thing. I'll both attach it and copy/paste the contents.

[$Version]
update_info=kwin.upd:replace-scalein-with-scale,kwin.upd:port-minimizeanimation-effect-to-js,kwin.upd:port-scale-effect-to-js,kwin.upd:port-dimscreen-effect-to-js,kwin.upd:auto-bordersize,kwin.upd:animation-speed,kwin.upd:desktop-grid-click-behavior,kwin.upd:no-swap-encourage,kwin.upd:make-translucency-effect-disabled-by-default,kwin.upd:remove-flip-switch-effect,kwin.upd:remove-cover-switch-effect,kwin.upd:remove-cubeslide-effect,kwin.upd:remove-xrender-backend,kwin.upd:enable-scale-effect-by-default,kwin.upd:overview-group-plugin-id,kwin.upd:animation-speed-cleanup,kwin.upd:replace-cascaded-zerocornered

[Compositing]
AllowTearing=false
LatencyPolicy=High

[Desktops]
Id_1=fc3c7e5b-abd4-4f4f-8028-93333221ca45
Id_2=cc3d503b-33c0-4ea4-817f-1598012a4935
Id_3=8201614b-d4c0-4e17-bdc0-74c096876eb0
Name_1=1
Name_2=2
Name_3=3
Number=3
Rows=3

[Effect-kwin4_effect_animationsSuite]
minimizeEffect=43
unminimizeEffect=35

[Effect-windowview]
BorderActivateAll=9

[Input]
TabletMode=off

[NightColor]
Active=true
LatitudeFixed=34.29
LongitudeFixed=-77.85
Mode=Location
NightTemperature=2400

[Plugins]
TIL3REnabled=false
auto-tiling-customEnabled=false
autotileEnabled=false
blurEnabled=true
contrastEnabled=false
even-better-quick-tilesEnabled=false
exquisiteEnabled=false
flexGridEnabled=false
forceblurEnabled=false
karouselEnabled=false
krohnkiteEnabled=false
ktileEnabled=false
kwin-wranglerEnabled=false
kwin4_effect_dimscreenEnabled=true
kwin4_effect_rubberband_maximizeEnabled=false
kwin4_effect_scaleEnabled=false
kwin4_effect_translucencyEnabled=true
kwin4_effect_tvEnabled=true
kzonesEnabled=false
maximizetotileEnabled=false
overviewEnabled=false
poloniumEnabled=false
quarter-tilingEnabled=false
quick-tile-2Enabled=false
quicktile-enhancementsEnabled=false
screenedgeEnabled=false
sheetEnabled=true
truely-maximizedEnabled=false
windowviewEnabled=false
zoomEnabled=false

[Script-autotile]
InvertInsertion=false
KeepTiledBelow=false
UseWhitelist=true

[Script-exquisite]
columns=4

[Script-karousel]
untileOnDrag=false

[Script-polonium]
DefaultEngine=4
KeepTiledBelow=false
MaximizeSingle=true
Unfullscreen=true

[TabBox]
OrderMinimizedMode=1
ShowTabBox=false

[Tiling]
padding=4

[Tiling][4fd2297f-4641-507d-9450-e87395b4b2d5]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.5},{"width":0.5}]}

[Tiling][c290b9e9-3829-5319-aad9-4bad5823e26b]
tiles={"layoutDirection":"vertical","tiles":[{"height":0.5},{"height":0.5}]}

[Tiling][c57e74c8-c957-5a0a-a51b-f2dff0ddbf51]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.5},{"width":0.5}]}

[Tiling][d02c035d-eef0-5c68-aa2f-2e83d0ba08b1]
tiles={"layoutDirection":"horizontal","tiles":[{"width":0.25},{"width":0.5},{"width":0.25}]}

[Wayland]
EnablePrimarySelection=false

[Windows]
BorderSnapZone=20
ElectricBorderMaximize=false
MaximizeButtonMiddleClickCommand=Maximize
MaximizeButtonRightClickCommand=Maximize
SeparateScreenFocus=true
TitlebarDoubleClickCommand=Nothing

[Xwayland]
Scale=1

[org.kde.kdecoration2]
ButtonsOnLeft=XAI
ButtonsOnRight=HMS
library=org.kde.breeze
theme=Breeze
Comment 3 Wesley M 2023-10-03 22:48:07 UTC
Created attachment 162067 [details]
kwinrc as of Oct 3 2023
Comment 4 Bug Janitor Service 2023-10-18 03:45:50 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Wesley M 2023-10-21 19:37:22 UTC
Apologies. I didn't know I should manually update the bug status. It seems like something that would interfere with the person helping work on the bug, so the idea didn't even occur to me. It's updated now.
Comment 6 Paul Worrall 2023-10-26 13:04:13 UTC
Removing "ElectricBorderMaximise=false" gives the EXPECTED RESULT.

I don't know what this setting is supposed to be for or how it is supposed to become set/reset.
Comment 7 Wesley M 2023-11-04 01:28:22 UTC
Sorry for the delay.

I can confirm that removing "ElectricBorderMaximise=false" from my kwinrc, logging out, then logging back in resolved the issue. I'd never have caught that. Thank you kindly.

Life demands my attention, but when I get time, I'll try to see if perhaps a desktop effect or Kwin script added that line, and alert the appropriate developer. Hoping I'm doing this correctly here, but marking as resolved. I appreciate the help everyone.