If the desktop effect Maximise is enabled, if you drag a window to the top screen edge the window will resize, but the window title bar appears about an inch from the screen edge and moves up quickly. It appears as if the window is bounding off the screen edge. Reproducible: Always Also present in 4.13
- what window decoration? - do you hide the titlebar for maximized windows? - do you have the wobblywindows effect enabled?
Oxygen No No It's a bug present in my current arch install of kde 4.13 and I noticed that it is still present in the project neon iso.
happens only when dragging the window there for the second time - and intermideate *resize* should also get you back the "correct" behavior.
let's see whether we can fix this in 4.11 (should be script fixable anyway)
@enoopt.adams Please see patch https://git.reviewboard.kde.org/r/118409/ It's a patch on javascript, so you can apply it locally (w/o having to recompile anything) file to patch is /usr/share/apps/kwin/effects/kwin4_effect_maximize/contents/code/maximize.js
Patch works perfectly, fixes the issue.
Git commit 3c8506992d3a05daa3f0752cc0f5e844acf2a8e2 by Thomas Lübking. Committed on 29/05/2014 at 21:52. Pushed by luebking into branch 'KDE/4.11'. store geometry trail & use the correct oldGeometry geometryChanged is always executed before maximizeChanged, so we store the last changed geometry (through regular resize - the current geometry) and the second last one (used exclusively so far) which is the old geometry we want to use if the geometry change was caused by the maximize change FIXED-IN: 4.11.10 REVIEW: 118409 M +6 -1 kwin/effects/maximize/package/contents/code/maximize.js http://commits.kde.org/kde-workspace/3c8506992d3a05daa3f0752cc0f5e844acf2a8e2
Git commit dec218a4441cb3233094ca8a486c4b7277081400 by Martin Gräßlin, on behalf of Thomas Lübking. Committed on 29/05/2014 at 21:52. Pushed by graesslin into branch 'master'. store geometry trail & use the correct oldGeometry geometryChanged is always executed before maximizeChanged, so we store the last changed geometry (through regular resize - the current geometry) and the second last one (used exclusively so far) which is the old geometry we want to use if the geometry change was caused by the maximize change Forward port of 3c8506992d3a05daa3f0752cc0f5e844acf2a8e2 from kde-workspace M +6 -1 effects/maximize/package/contents/code/maximize.js http://commits.kde.org/kwin/dec218a4441cb3233094ca8a486c4b7277081400