As in the video http://nyloc.de/public/k-menu-bug.ogv the menu on my system only highlights every second element if I move the mouse over. Klicks are registered for the right items even if they are not highlighted. Reproducible: Always Steps to Reproduce: 1.Open Menu 2.Move mouse over Favorite items Actual Results: Every second item is highlighted Expected Results: Every item should be highlighted if the mouse hovers over them. Im on a high dpi display set via xrandr at startup to 150dpi.
can't reproduce here maybe drivers issue? maybe high dpi issues?
Created attachment 90885 [details] Without dpi settings
Sorry for the noise I didn't know that I cant edit the post after I added the screenshot. I created a clean new user and launched it without any dpi settings and the bug is not there, but the kickoff menu seems to be broken. The bottom icons are cut off. If I add xrandr --dpi 144 to my .xprofile file for the new test user it look ok and I also don't have the described bug. Now I tried to figure out what could cause the bug for my user. I deleted the kickoffrc (both kde4 and kde5) from my main users home directory but the bug is still there. Any idea what else to try. Resetting my user completely is not really an option as I would lose a lot of settings I might not even remember ;).
I can reproduce this problem.
I just realized i am suffering this and after realizing why it worked yesterday and not today i found out the cause. If i'm using kwin-XRender it works fine, if i'm using kwin-opengl2 or kwin-opengl3 i have this issue.
I resetted my .config directory and can't reproduce the bug any more but at the time I was using the kwin-opengl2 backend for redering. Maybe try to create a new user to check if the error still exists.
Can you please attach the output of qdbus org.kde.KWin /KWin supportInformation (Alexander for the -now- working and Albert for the -still- broken condition, Bhushan for whatever the situation is for you now ;-)
tsdgeos@xps:~$ qdbus org.kde.KWin /KWin supportInformation Informació d'ajuda del KWin: S'hauria d'utilitzar la informació següent quan se sol·liciti ajuda, p. ex. en http://forum.kde.org. Proporciona informació sobre la instància actual en execució, amb les opcions que s'utilitzen, quin controlador OpenGL i quins efectes s'estan executant. Si us plau, publiqueu la informació que hi ha sota aquest text introductori en un servei d'enganxament com http://paste.kde.org en lloc d'enganxar-ho en els fils d'ajuda. ========================== Version ======= KWin version: 5.2.0 Qt Version: 5.3.2 Operation Mode: X11 only Decoration ========== Plugin: org.kde.breeze Theme: Blur: 0 onAllDesktopsAvailable: true alphaChannelSupported: true closeOnDoubleClickOnMenu: false decorationButtonsLeft: 0, 2 decorationButtonsRight: 6, 3, 4, 5 borderSize: 2 gridUnit: 10 font: DejaVu Sans,10,-1,5,50,0,0,0,0,0 smallSpacing: 2 largeSpacing: 10 Options ======= focusPolicy: 0 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false placement: 4 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false showDesktopIsMinimizeAll: false rollOverDesktops: true focusStealingPreventionLevel: 2 legacyFullscreenSupport: false operationTitlebarDblClick: 5000 operationMaxButtonLeftClick: 5000 operationMaxButtonMiddleClick: 5015 operationMaxButtonRightClick: 5014 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: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true inactiveTabsSkipTaskbar: false autogroupSimilarWindows: false autogroupInForeground: true compositingMode: 1 useCompositing: true compositingInitialized: true hiddenPreviews: 1 unredirectFullscreen: false glSmoothScale: 2 colorCorrected: false xrenderSmoothScale: false maxFpsInterval: 16666666 refreshRate: 0 vBlankTime: 6000000 glStrictBinding: false glStrictBindingFollowsDriver: true glCoreProfile: true glPreferBufferSwap: 101 glPlatformInterface: 2 Screen Edges ============ desktopSwitching: false desktopSwitchingMovingClients: false cursorPushBackDistance: 1x1 timeThreshold: 150 reActivateThreshold: 500 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,1920x1080 Compositing =========== 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.3 (Core Profile) Mesa 10.4.2 OpenGL platform interface: EGL OpenGL shading language version string: 3.30 Driver: Intel GPU class: SandyBridge OpenGL version: 3.3 GLSL version: 3.30 Mesa version: 10.4.2 X server version: 1.16.2 Linux kernel version: 3.18 Direct rendering: 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: --------------- zoom slidingpopups kwin4_effect_login slide screenshot minimizeanimation desktopgrid kwin4_effect_translucency kwin4_effect_maximize kwin4_effect_fade presentwindows kwin4_effect_dialogparent highlightwindow blur contrast logout dashboard startupfeedback screenedge kscreen Currently Active Effects: ------------------------- blur contrast Effect Settings: ---------------- zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 enableFocusTracking: false followFocus: true focusDelay: 350 moveFactor: 20 targetZoom: 1 slidingpopups: fadeInTime: 150 fadeOutTime: 250 kwin4_effect_login: slide: screenshot: minimizeanimation: desktopgrid: zoomDuration: 300 border: 10 desktopNameAlignment: 0 layoutMode: 0 customLayoutRows: 2 usePresentWindows: true kwin4_effect_translucency: kwin4_effect_maximize: kwin4_effect_fade: presentwindows: layoutMode: 0 showCaptions: true showIcons: true doNotCloseWindows: false ignoreMinimized: false accuracy: 20 fillGaps: true fadeDuration: 150 showPanel: false leftButtonWindow: 1 rightButtonWindow: 2 middleButtonWindow: 0 leftButtonDesktop: 2 middleButtonDesktop: 0 rightButtonDesktop: 0 kwin4_effect_dialogparent: highlightwindow: blur: blurRadius: 12 cacheTexture: true contrast: logout: useBlur: true dashboard: brightness: 0.5 saturation: 0.5 blur: false startupfeedback: type: 1 screenedge: kscreen:
> OpenGL vendor string: Intel Open Source Technology Center > glStrictBinding: false > glStrictBindingFollowsDriver: true err... what? @Martin I assume we write/wrote back that setting? (and the glStrictBindingFollowsDriver reply is wrong?) @Albert kreadconfig --file kwinrc --group Compositing --key GLStrictBinding if that prints "false" either kreadconfig --file kwinrc --group Compositing --key GLStrictBinding true or delete the key in ~/.config/kwinrc -> restart "kwin_x11 --replace &" and see what happens. ---- relevant review: https://git.reviewboard.kde.org/r/118893/
kreadconfig --file kwinrc --group Compositing --key GLStrictBinding returned an empty line I understand you meant kwriteconfig --file kwinrc --group Compositing --key GLStrictBinding true right? I did that since the key wasn't present in kwinrc. After restarting kwin_x11 i still get the same behaviour and now have glStrictBinding: false glStrictBindingFollowsDriver: true
(In reply to Albert Astals Cid from comment #10) > I understand you meant Yes, sorry. > After restarting kwin_x11 i still get the same behaviour and now have > glStrictBinding: false > glStrictBindingFollowsDriver: true Ok, there's something totally wrong here then - can you please confirm that the key was altered in ~/.config/kwinrc (and not ~/.kde/share/config/kwinrc, ie. kwriteconfig being the SC4 variant)?
tsdgeos@xps:~$ cat ~/.config/kwinrc | grep -i bind GLStrictBinding=true tsdgeos@xps:~$ qdbus org.kde.KWin /KWin supportInformation | grep -i bind glStrictBinding: true glStrictBindingFollowsDriver: false Direct rendering: Requires strict binding: no
(In reply to Albert Astals Cid from comment #12) > glStrictBinding: true > glStrictBindingFollowsDriver: false > Direct rendering: Requires strict binding: no That looks more like it. But the problem persists (I assume?)
Yep, problem still around.
Created attachment 91000 [details] My kwin support information
KWin Support Information: The following information should be used when requesting support on e.g. http://forum.kde.org. It provides information about the currently running instance, which options are used, what OpenGL driver and which effects are running. Please post the information provided underneath this introductory text to a paste bin service like http://paste.kde.org instead of pasting into support threads. ========================== Version ======= KWin version: 5.2.90 Qt Version: 5.4.0 Operation Mode: X11 only Decoration ========== Plugin: org.kde.breeze Theme: Blur: 0 onAllDesktopsAvailable: true alphaChannelSupported: true closeOnDoubleClickOnMenu: false decorationButtonsLeft: 0, 2 decorationButtonsRight: 6, 3, 4, 5 borderSize: 3 gridUnit: 10 font: Oxygen-Sans,10,-1,0,50,0,0,0,0,0 smallSpacing: 2 largeSpacing: 10 Options ======= focusPolicy: 0 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false 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: 5000 operationMaxButtonLeftClick: 5000 operationMaxButtonMiddleClick: 5015 operationMaxButtonRightClick: 5014 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: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true inactiveTabsSkipTaskbar: false autogroupSimilarWindows: false autogroupInForeground: true compositingMode: 1 useCompositing: true compositingInitialized: true hiddenPreviews: 0 unredirectFullscreen: false glSmoothScale: 2 colorCorrected: false xrenderSmoothScale: false maxFpsInterval: 16666666 refreshRate: 0 vBlankTime: 6000000 glStrictBinding: false glStrictBindingFollowsDriver: true glCoreProfile: true glPreferBufferSwap: 101 glPlatformInterface: 2 Screen Edges ============ desktopSwitching: false desktopSwitchingMovingClients: false cursorPushBackDistance: 1x1 timeThreshold: 100 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 Compositing =========== Compositing is active Compositing Type: OpenGL OpenGL vendor string: Intel Open Source Technology Center OpenGL renderer string: Mesa DRI Intel(R) Haswell Mobile OpenGL version string: 3.3 (Core Profile) Mesa 10.4.3 OpenGL platform interface: EGL OpenGL shading language version string: 3.30 Driver: Intel GPU class: Haswell OpenGL version: 3.3 GLSL version: 3.30 Mesa version: 10.4.3 X server version: 1.16.3 Linux kernel version: 3.18.5 Direct rendering: 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: --------------- zoom slidingpopups kwin4_effect_login screenshot minimizeanimation glide desktopgrid kwin4_effect_translucency cubeslide kwin4_effect_maximize kwin4_effect_fade presentwindows highlightwindow kwin4_effect_dialogparent blur contrast logout dashboard startupfeedback screenedge kscreen Currently Active Effects: ------------------------- blur contrast Effect Settings: ---------------- zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 enableFocusTracking: false followFocus: true focusDelay: 350 moveFactor: 20 targetZoom: 1 slidingpopups: fadeInTime: 150 fadeOutTime: 250 kwin4_effect_login: screenshot: minimizeanimation: glide: duration: 350 effect: 0 angle: -90 desktopgrid: zoomDuration: 300 border: 10 desktopNameAlignment: 0 layoutMode: 0 customLayoutRows: 2 usePresentWindows: true kwin4_effect_translucency: cubeslide: rotationDuration: 500 dontSlidePanels: true dontSlideStickyWindows: false usePagerLayout: true useWindowMoving: false kwin4_effect_maximize: kwin4_effect_fade: presentwindows: layoutMode: 0 showCaptions: true showIcons: true doNotCloseWindows: false ignoreMinimized: false accuracy: 20 fillGaps: true fadeDuration: 150 showPanel: false leftButtonWindow: 1 rightButtonWindow: 2 middleButtonWindow: 0 leftButtonDesktop: 2 middleButtonDesktop: 0 rightButtonDesktop: 0 highlightwindow: kwin4_effect_dialogparent: blur: blurRadius: 11 cacheTexture: false contrast: logout: useBlur: true dashboard: brightness: 0.5 saturation: 0.5 blur: false startupfeedback: type: 1 screenedge: kscreen: Pasted inline too
@Albert: you are using the egl platform, please try with glx (the supported one).
and also better use OpenGL 2 instead of 3, Intel drivers are a little bit shaky with the newer GL.
Here is my now working config output: https://paste.kde.org/puve20v9m
(In reply to Martin Gräßlin from comment #17) > @Albert: you are using the egl platform, please try with glx (the supported > one). So is Bhushan (with the same strict binding condition btw) while Alexander is "back" on GLX - so EGL (+intel?) is very likely the key.
> So is Bhushan (with the same strict binding condition btw) while Alexander > is "back" on GLX - so EGL (+intel?) is very likely the key. Bhushan already confirmed this morning on IRC that switching back to GLX fixes the issue. Also Vishesh once showed me this problem on his system and switching to GLX fixed the issue. I'm quite certain it's caused by that :-) I'm considering updating the warnings for EGL that it can cause rendering glitches.
Yes, GLX fixes it for me, tbh i didn't see any EGL warning anywhere.
Yes switching between EGL and GLX with a clean new user triggers the bug for me. No Idea why I switched to EGL at the first place, but thanks for clarification.
*** This bug has been marked as a duplicate of bug 338150 ***