| Summary: | resizing an edge of a quick-tiled window often changes other edges too | ||
|---|---|---|---|
| Product: | [Plasma] kwin | Reporter: | Flupp <Flupp+bugs.kde.org> |
| Component: | core | Assignee: | KWin default assignee <kwin-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | jospoortvliet |
| Priority: | NOR | Flags: | thomas.luebking:
ReviewRequest+
|
| Version First Reported In: | 5.3.1 | ||
| Target Milestone: | --- | ||
| Platform: | Arch Linux | ||
| OS: | Linux | ||
| URL: | https://git.reviewboard.kde.org/r/123882/ | ||
| Latest Commit: | http://commits.kde.org/kwin/e830f08defc3c38ec79542faeacbc5aea2cb2327 | Version Fixed/Implemented In: | |
| Sentry Crash Report: | |||
|
Description
Flupp
2015-06-03 15:30:25 UTC
It' s the deco/updateborders/checkWorkspacePosition dance
diff --git a/geometry.cpp b/geometry.cpp
index ea7b587..7617102 100644
--- a/geometry.cpp
+++ b/geometry.cpp
@@ -2581,6 +2581,7 @@ bool Client::startMoveResize()
if (quick_tile_mode != QuickTileNone && mode != PositionCenter) { // Cannot use isResize() yet
// Exit quick tile mode when the user attempts to resize a tiled window
quick_tile_mode = QuickTileNone; // Do so without restoring original geometry
+ geom_restore = geometry();
emit quickTileModeChanged();
}
I'll add the patch to the series in https://git.reviewboard.kde.org/r/123882/
Git commit e830f08defc3c38ec79542faeacbc5aea2cb2327 by Thomas Lübking. Committed on 10/06/2015 at 06:50. Pushed by luebking into branch 'master'. update geom_restore when silently breaking QT mode the next checkWorkspacePosition (now triggered by deco border update) would falsely restore the pre-tiling geometry REVIEW: 123882 M +1 -0 geometry.cpp http://commits.kde.org/kwin/e830f08defc3c38ec79542faeacbc5aea2cb2327 @thomas did/will this also make it to 5.3.2/5.3.3 or is it a 5.4 thing? 5.4 only, this stuff (and notably shading) was massively broken throughout at least all 5.x, so (and since the patch is pretty invasive) I deemed it master (now becoming 5.4) only. Should be safe to backport, though. I care because of the sticky resizing script - see https://github.com/Flupp/sticky-window-snapping/issues/1#issuecomment-121047112 ;-) This patch makes things work better but still a tad unpredictable, see my description. Might be that this'll be fixed in 5.4, I hope - if not, well, I guess I'll file a bug... As usual, Thomas, thanks, great work! After some more testing it seems that the patch solves the bug completely - the fault was on my side (need to log out and log in again for it to really work). Thanks a bunch, again! This was the one thing holding me from upgrading to Plasma 5 at the office, so 5.4 will be the release that I have moved over all my systems :D |