Bug 361134 - Blinking shadow around Plasma popups when working with Yakuake
Summary: Blinking shadow around Plasma popups when working with Yakuake
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: scene-opengl (show other bugs)
Version: 5.5.5
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-03-29 10:55 UTC by Alexander Potashev
Modified: 2021-11-06 21:39 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Potashev 2016-03-29 10:55:36 UTC
See Steps to Reproduce below.

Reproducible: Always

Steps to Reproduce:
1. Run Yakuake (version 2.9.9+), opens its window.
2. Configure Yakuake to _not_ close its window when losing focus. Keep its window opened.
3. Click on the "K" menu button, an item in systray or another widget to open a Plasma popup.
4. Click inside the Yakuake window to change focus there. The Plasma popup is closed, as expected.
5. Start typing in text (Yakuake is focused, so the text is going to be sent there).

Actual Results:  
1. After typing in the first letter (e.g. "a") the shadow around the formerly opened Plasma popup shows up. The K-menu/popup itself is not visible, only the shadow around its border is visible.
2. After typing in the second letter, the shadow vanishes.
3. After typing in third letter, the shadow does not appear.
4. After typing in the fourth letter the shadow shows up again, so it's playing waltz: *..*..*..*.., etc, where "*" stands for the shadow visible and "." stands for the shadow hidden.

Expected Results:  
The shadow should not appear when Plasma popup is not opened.

Graphics driver: i915

$ lspci 
[...]
00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09)
[...]
Comment 1 Thomas Lübking 2016-03-29 14:29:38 UTC
It's not so much about typing in yakuake, the shadow isn't cleared and whenever the old frame swaps in, you can see it.

Can you please attach the output of "qdbus org.kde.KWin /KWin supportInformation" and also try to disable the blur and contrast effects and see whether the issue remains?
Comment 2 Alexander Potashev 2016-03-31 09:37:20 UTC
(In reply to Thomas Lübking from comment #1)
> Can you please attach the output of "qdbus org.kde.KWin /KWin
> supportInformation" [...]

Version
=======
KWin version: 5.5.5
Qt Version: 5.5.1
Qt compile version: 5.5.1
XCB compile version: 1.11.1

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: Fedora Project
Vendor Release: 11800000
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: false
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 2
decorationButtonsRight: 6, 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: 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
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: 1
unredirectFullscreen: false
glSmoothScale: 2
colorCorrected: false
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: true
glStrictBindingFollowsDriver: true
glCoreProfile: false
glPreferBufferSwap: 101
glPlatformInterface: 1

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
timeThreshold: 150
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:
---------
Name: HDMI1
Geometry: 0,0,1920x1200
Refresh Rate: 59.9502


Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Ivybridge Desktop 
OpenGL version string: 3.0 Mesa 11.1.0 (git-525f3c2)
OpenGL platform interface: GLX
OpenGL shading language version string: 1.30
Driver: Intel
GPU class: IvyBridge
OpenGL version: 3.0
GLSL version: 1.30
Mesa version: 11.1
Linux kernel version: 4.4.3
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
kwin4_effect_login
slidingpopups
kwin4_effect_translucency
kwin4_effect_windowaperture
slide
screenshot
minimizeanimation
desktopgrid
kwin4_effect_fade
kwin4_effect_maximize
kwin4_effect_dialogparent
presentwindows
highlightwindow
blur
contrast
logout
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

kwin4_effect_login:

slidingpopups:
fadeInTime: 30
fadeOutTime: 50

kwin4_effect_translucency:

kwin4_effect_windowaperture:

slide:

screenshot:

minimizeanimation:

desktopgrid:
zoomDuration: 60
border: 10
desktopNameAlignment: 0
layoutMode: 0
customLayoutRows: 2
usePresentWindows: true

kwin4_effect_fade:

kwin4_effect_maximize:

kwin4_effect_dialogparent:

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

highlightwindow:

blur:
blurRadius: 12
cacheTexture: true

contrast:

logout:
useBlur: true

startupfeedback:
type: 1

screenedge:

kscreen:
Comment 3 Alexander Potashev 2016-03-31 11:08:59 UTC
(In reply to Thomas Lübking from comment #1)
> [...] and also try to disable the blur and contrast effects
> and see whether the issue remains?

I can still reproduce the problem after disabling "blur" and "contrast" effects.
Comment 4 Martin Flöser 2016-04-01 13:37:20 UTC
this might be another variant of bug #358646 - try to enable dri3 if not yet done.
Comment 5 Martin Flöser 2016-08-27 16:01:17 UTC
Some more things to try:
* use modesettings xorg driver
* disable buffer age usage in kwin through env variable: KWIN_USE_BUFFER_AGE=0
Comment 6 kde.org 2021-11-06 17:29:11 UTC
This issue report is quite old. Can you please confirm, that it still persists with KDE 5.23?
Comment 7 Alexander Potashev 2021-11-06 21:38:58 UTC
Cannot reproduce anymore.

===

Operating System: Fedora 34
KDE Plasma Version: 5.22.5
KDE Frameworks Version: 5.85.0
Qt Version: 5.15.2
Kernel Version: 5.13.19-200.fc34.x86_64 (64-bit)
Graphics Platform: X11
Processors: 8 × Intel® Core™ i7-6700HQ CPU @ 2.60GHz
Memory: 15.4 ГиБ of RAM
Graphics Processor: Mesa Intel® HD Graphics 530
Comment 8 kde.org 2021-11-06 21:39:56 UTC
User reports issue is fixed.