Enabling two options in separate dialogs inside of "System Settings" causes windows to be drawn as though they are on the wrong side of the cube. Please see screenshot in URL. Reproducible: Always Steps to Reproduce: 1 The first option is in System settings > workspace behavior > screen edges Under the option "switch desktop on edge" enable option "only when moving windows" 2 The second option is in System settings > desktop effects > all effects > desktop cube animation > In here the option "Start animation when moving windows towards screen edges" causes problems Actual Results: When both of these enabled drag windows off the side of the screen and back. After a few attempts you will see the behavior exhibited in the screenshot. It will now look that way whenever you move the window. It resets to normal when you release your mouse. I've been strugging with this bug for over a year. Expected Results: The window should appear 1 dimensional.
Created attachment 83864 [details] Shows the bug (The sideways window is being moved, the black squares are just cencoring things) It is important to note that the misbehaving window is not being dragged off the side of the cube. It now behaves like this whenever the titlebar is clicked for it to be moved.
please attach the output of "qdbus org.kde.kwin /KWin supportInformation" (with compositing enabled and ideally when the bug is present, you can eg prepend "sleep 30;" and in the next 30 seconds start a drag and then wait for the output) and check whether you can trigger this with OpenGL 1.3 as well (or 2.0 in case you're running 1.3)
Appears to only happen with Open GL 2.0 and 3.1 ========================== Version ======= KWin version: 4.11.2 KDE SC version (runtime): 4.11.2 KDE SC version (compile): 4.11.2 Qt Version: 4.8.5 Options ======= focusPolicy: 0 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: true shadeHoverInterval: 250 separateScreenFocus: false placement: 4 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false showDesktopIsMinimizeAll: false rollOverDesktops: true focusStealingPreventionLevel: 1 legacyFullscreenSupport: false operationTitlebarDblClick: commandActiveTitlebar1: 0 commandActiveTitlebar2: 30 commandActiveTitlebar3: 2 commandInactiveTitlebar1: 4 commandInactiveTitlebar2: 30 commandInactiveTitlebar3: 2 commandWindow1: 7 commandWindow2: 8 commandWindow3: 8 commandWindowWheel: 31 commandAll1: 10 commandAll2: 3 commandAll3: 14 keyCmdAllModKey: 16777251 showGeometryTip: false condensedTitle: false electricBorderMaximize: false electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: false inactiveTabsSkipTaskbar: false autogroupSimilarWindows: true autogroupInForeground: true compositingMode: 1 useCompositing: true compositingInitialized: true hiddenPreviews: 1 unredirectFullscreen: false glSmoothScale: 2 colorCorrected: false xrenderSmoothScale: false maxFpsInterval: 16666666 refreshRate: 0 vBlankTime: 6000000 glDirect: true glStrictBinding: false glStrictBindingFollowsDriver: true glLegacy: false glCoreProfile: true glPreferBufferSwap: 101 Screen Edges ============ desktopSwitching: false desktopSwitchingMovingClients: true cursorPushBackDistance: timeThreshold: 0 reActivateThreshold: 350 actionTopLeft: 0 actionTop: 0 actionTopRight: 0 actionRight: 0 actionBottomRight: 0 actionBottom: 0 actionBottomLeft: 0 actionLeft: 0 Screens ======= Multi-Head: no Active screen follows mouse: no Number of Screens: 1 Screen 0 Geometry: 0,0,1366x768 Decoration ========== Current Plugin: kwin3_oxygen Shadows: yes Alpha: yes Announces Alpha: yes Tabbing: yes Frame Overlap: no Blur Behind: no Compositing =========== Qt Graphics System: native Compositing is active Compositing Type: OpenGL OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Sandybridge Mobile OpenGL version string: 3.1 (Core Profile) Mesa 9.2.2 OpenGL shading language version string: 1.40 Driver: Intel GPU class: SandyBridge OpenGL version: 3.1 GLSL version: 1.40 Mesa version: 9.2.2 X server version: 1.14.3 Linux kernel version: 3.11.6 Direct rendering: yes Requires strict binding: no GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no OpenGL 2 Shaders are used Painting blocks for vertical retrace: no Loaded Effects: --------------- kwin4_effect_zoom kwin4_effect_thumbnailaside kwin4_effect_slidingpopups kwin4_effect_login kwin4_effect_wobblywindows kwin4_effect_flipswitch kwin4_effect_glide kwin4_effect_translucency kwin4_effect_minimizeanimation kwin4_effect_cubeslide kwin4_effect_scalein kwin4_effect_cube kwin4_effect_slideback kwin4_effect_desktopgrid kwin4_effect_resize kwin4_effect_maximize kwin4_effect_sheet kwin4_effect_highlightwindow kwin4_effect_taskbarthumbnail kwin4_effect_dialogparent kwin4_effect_blur kwin4_effect_logout kwin4_effect_dashboard kwin4_effect_startupfeedback kwin4_effect_kscreen Currently Active Effects: ------------------------- kwin4_effect_translucency kwin4_effect_blur Effect Settings: ---------------- kwin4_effect_zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 enableFocusTracking: false followFocus: true focusDelay: 350 moveFactor: 20 targetZoom: 1 kwin4_effect_thumbnailaside: maxWidth: 200 spacing: 10 opacity: 0.5 screen: -1 kwin4_effect_slidingpopups: fadeInTime: 250 fadeOutTime: 250 kwin4_effect_login: kwin4_effect_wobblywindows: stiffness: 0.21 drag: 0.89 moveFactor: 0.04 xTesselation: 20 yTesselation: 20 minVelocity: 0 maxVelocity: 1000 stopVelocity: 0.5 minAcceleration: 0 maxAcceleration: 1000 stopAcceleration: 0.5 moveEffectEnabled: true openEffectEnabled: false closeEffectEnabled: false moveWobble: true resizeWobble: true kwin4_effect_flipswitch: tabBox: false tabBoxAlternative: false duration: 200 angle: 30 xPosition: 0.330000013113022 yPosition: 1 windowTitle: false kwin4_effect_glide: duration: 350 effect: 0 angle: -90 kwin4_effect_translucency: kwin4_effect_minimizeanimation: kwin4_effect_cubeslide: rotationDuration: 422 dontSlidePanels: true dontSlideStickyWindows: false usePagerLayout: true useWindowMoving: true kwin4_effect_scalein: kwin4_effect_cube: cubeOpacity: 0.800000011920929 opacityDesktopOnly: false displayDesktopName: false reflection: true rotationDuration: 200 backgroundColor: #000000 capColor: #d5d1cf paintCaps: true closeOnMouseRelease: true zPosition: 828 useForTabBox: true invertKeys: false invertMouse: false capDeformationFactor: 0 useZOrdering: true texturedCaps: false kwin4_effect_slideback: kwin4_effect_desktopgrid: zoomDuration: 300 border: 10 desktopNameAlignment: 0 layoutMode: 0 customLayoutRows: 2 usePresentWindows: false kwin4_effect_resize: textureScale: true outline: false kwin4_effect_maximize: kwin4_effect_sheet: duration: 500 kwin4_effect_highlightwindow: kwin4_effect_taskbarthumbnail: kwin4_effect_dialogparent: kwin4_effect_blur: blurRadius: 12 cacheTexture: true kwin4_effect_logout: useBlur: true kwin4_effect_dashboard: brightness: 0.5 saturation: 0.5 blur: false kwin4_effect_startupfeedback: kwin4_effect_kscreen:
Does it happen without > kwin4_effect_wobblywindows ?
It goes away with wobbly windows turned off. Also this bug has the same effect on thumnail aside.
This looks like a problem with incorrect shader state introduced when a new shader API got added. In the latest versions of KWin (e.g. 5.8) the old API is completely removed and rendering issues in the interplay of effects got fixed by that. I just tried really hard to reproduce the issue, but was not able to trigger it. Thus I assume that we fixed the issue. In case you are still able to reproduce with e.g. 5.8, please reopen.