Bug 376436 - Tooltips are half-tooltip, half-black (glitchy)
Summary: Tooltips are half-tooltip, half-black (glitchy)
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: 5.9.1
Platform: Arch Linux Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-13 10:47 UTC by Deleted User
Modified: 2017-08-08 16:24 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Deleted User 2017-02-13 10:47:15 UTC
Tooltips sometimes (randomly) appear as if they were cut off, but in a different way, as I will try to explain with the ASCII diagram below (I have found it is impossible to take a screenshot of this) :

+---------------+
|***************|
|^^^^^^^^^^^^^^^|
+---------------+

Where 
* is a glitchy complete-black area and
^ is the top of a cut-off-from-bottom letter, with the normal grey background.

Expected:

+---------------+
|foobarfoobarfoo|
|and some more. |
+---------------+

==============================

Steps to reproduce:

1. Hold mouse over a place where tooltips should occur.

2. Observe the glitch

3. As the glitch occurs in a seemingly random manner, repeat until glitch
   is observed.

==============================

Plasma version: 5.9.1
KWin version: 5.9.1 (X11)

The "Morphing Popups" effect is on, although the glitch occurs even when the effect is off.

I recall that this started only around 5.7 or 5.8.

Graphics card: Intel Corporation 4 Series Chipset Integrated Graphics Controller (rev 03)
Comment 1 Martin Flöser 2017-02-13 15:47:07 UTC
Please provide the output of:
qdbus org.kde.KWin /KWin supportInformation

Please copy the content directly and not as an attachment.
Comment 2 Deleted User 2017-02-13 16:03:12 UTC
Here is the requested output:

https://paste.kde.org/putt96rea

(as suggested by the output)
Comment 3 Martin Flöser 2017-02-14 06:34:02 UTC
Version
=======
KWin version: 5.9.1
Qt Version: 5.8.0
Qt compile version: 5.8.0
XCB compile version: 1.12

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_INPUT: yes
HAVE_DRM: yes
HAVE_GBM: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 11901000
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
DAMAGE: yes; Version: 0x11
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
GLX: yes; Version: 0x0

Decoration
==========
Plugin: org.kde.breeze
Theme: 
Blur: 0
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0
decorationButtonsRight: 3, 4, 5
borderSize: 3
gridUnit: 10
font: Noto Sans,10,-1,0,50,0,0,0,0,0
smallSpacing: 2
largeSpacing: 10

Options
=======
focusPolicy: 1
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 750
delayFocusInterval: 300
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 6
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
legacyFullscreenSupport: false
operationTitlebarDblClick: 5015
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: 2
glSmoothScale: 2
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: true
glStrictBindingFollowsDriver: true
glCoreProfile: false
glPreferBufferSwap: 101
glPlatformInterface: 1
windowsBlockCompositing: true

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 50
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:  yes
Number of Screens: 1

Screen 0:
---------
Name: VGA1
Geometry: 0,0,1440x900
Refresh Rate: 59.8874


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) G41 
OpenGL version string: 2.1 Mesa 13.0.4
OpenGL platform interface: GLX
OpenGL shading language version string: 1.20
Driver: Intel
GPU class: i965
OpenGL version: 2.1
GLSL version: 1.20
Mesa version: 13.0.4
X server version: 1.19.1
Linux kernel version: 4.9.8
Direct rendering: Requires strict binding: yes
GLSL shaders:  yes
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used
Painting blocks for vertical retrace:  no

Loaded Effects:
---------------
zoom
mousemark
dimscreen
slidingpopups
kwin4_effect_login
screenshot
minimizeanimation
kwin4_effect_translucency
flipswitch
kwin4_effect_windowaperture
cubeslide
cube
coverswitch
colorpicker
kwin4_effect_fade
kwin4_effect_maximize
presentwindows
highlightwindow
kwin4_effect_dialogparent
contrast
startupfeedback
screenedge
kscreen

Currently Active Effects:
-------------------------
contrast

Effect Settings:
----------------
zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 0
enableFocusTracking: false
followFocus: true
focusDelay: 350
moveFactor: 20
targetZoom: 1

mousemark:
width: 3
color: #000000

dimscreen:

slidingpopups:
fadeInTime: 75
fadeOutTime: 125

kwin4_effect_login:

screenshot:

minimizeanimation:

kwin4_effect_translucency:

flipswitch:
tabBox: false
tabBoxAlternative: false
duration: 100
angle: 30
xPosition: 0.33000001311302185
yPosition: 1
windowTitle: true

kwin4_effect_windowaperture:

cubeslide:
rotationDuration: 250
dontSlidePanels: true
dontSlideStickyWindows: false
usePagerLayout: true
useWindowMoving: false

cube:
cubeOpacity: 0.800000011920929
opacityDesktopOnly: true
displayDesktopName: true
reflection: false
rotationDuration: 250
backgroundColor: #000000
capColor: #31363b
paintCaps: false
closeOnMouseRelease: false
zPosition: 193
useForTabBox: true
invertKeys: false
invertMouse: false
capDeformationFactor: 1
useZOrdering: true
texturedCaps: false

coverswitch:
animationDuration: 100
animateSwitch: true
animateStart: true
animateStop: true
reflection: true
windowTitle: true
zPosition: 900
primaryTabBox: false
secondaryTabBox: false

colorpicker:

kwin4_effect_fade:

kwin4_effect_maximize:

presentwindows:
layoutMode: 0
showCaptions: true
showIcons: true
doNotCloseWindows: false
ignoreMinimized: false
accuracy: 20
fillGaps: true
fadeDuration: 75
showPanel: false
leftButtonWindow: 1
rightButtonWindow: 2
middleButtonWindow: 0
leftButtonDesktop: 2
middleButtonDesktop: 0
rightButtonDesktop: 0

highlightwindow:

kwin4_effect_dialogparent:

contrast:

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 4 Martin Flöser 2017-02-14 06:35:19 UTC
You do have contrast but not blur activated. Those two effects belong together. Either deactivate both or activate both. This could explain the problem. Please try whether adjusting this fixes the problem.
Comment 5 Deleted User 2017-02-14 13:14:11 UTC
Assuming you mean "Blur - Blurs the background behind semi-transparent windows" and "Background contrast - Improve contrast and readability behind semi-transparent windows",

Blur  Contrast  Result
---------------------------
Yes   Yes       Bug stays 
No    Yes       Bug stays
Yes   No        Bug stays
No    No        Bug stays
Comment 6 Martin Flöser 2017-02-14 15:52:12 UTC
nice test matrix :-)

Do you use the xorg-intel or the xorg-modesettings driver?
Comment 7 Deleted User 2017-02-15 11:14:25 UTC
xorg-intel
Comment 8 Martin Flöser 2017-02-15 15:54:26 UTC
Please switch to xorg-modesettings driver. The xorg-intel driver is known to be broken beyond repair and is known to trigger all kind of weird graphics issues. Also it got kicked out by all major distributions.

If you are still experiencing the problem with xorg-modesettings please reopen the bug. I'm setting to resolved/upstream as experience showed that switching to this driver fixes graphical issues.
Comment 9 Deleted User 2017-03-16 07:43:06 UTC
I switched to xorg-modesettings, and the bug still appears (albeit with less frequency)
Comment 10 Martin Flöser 2017-07-22 15:17:45 UTC
are you using DRI3 or DRI2. I just saw another bug report with glitches on Intel hardware where the result was that DRI2 fixed it.
Comment 11 Deleted User 2017-08-08 16:24:14 UTC
Sorry for the late response.

An update to Plasma fixed the issue (5.8 or so), both on xorg-intel and xorg-modesetting.

Closing.