Bug 324276 - Active tab in shaded group is switched after changing virtual desktop
Summary: Active tab in shaded group is switched after changing virtual desktop
Status: RESOLVED INTENTIONAL
Alias: None
Product: kwin
Classification: Plasma
Component: window-tabbing (other bugs)
Version First Reported In: 4.11.0
Platform: Arch Linux Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-08-30 13:57 UTC by sirherrbatka
Modified: 2016-08-29 06:45 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sirherrbatka 2013-08-30 13:57:18 UTC
This is just like Bug 245747, but it happens after changing VD.


Reproducible: Always

Steps to Reproduce:
1.Tab 2 or more windows in one group.
2.Shade group.
3.Change virtual desktop.
3.Switchback to VD containing your group.
4.Unshade group.
Actual Results:  
Active tab is changed.

Expected Results:  
Active tab should not be changed
Comment 1 Thomas Lübking 2013-08-31 13:22:58 UTC
Sounds more like bug #315956 - but isn't reproducible here at all.

Please post the output of "qdbus org.kde.kwin /KWin supportInformation" and elaborate on how you
a) shade windows (button, shortcut, titlbar wheel, doubleclick etc)
b) change the virtual desktop (shortcut, wheel on desktop, ...)

as well as whether you use "one activity per virtual desktop" (plasma way to eg. support different wallpapers)  and whether the client condition on the virtual desktops (other clients on the one with the group, clients on the other virtual desktop?) is any relevant here.
Comment 2 sirherrbatka 2013-08-31 13:35:37 UTC
Version
=======
KWin version: 4.11.0
KDE SC version (runtime): 4.11.00
KDE SC version (compile): 4.11.00
Qt Version: 4.8.5

Options
=======
focusPolicy: 1
nextFocusPrefersMouse: true
clickRaise: false
autoRaise: false
autoRaiseInterval: 750
delayFocusInterval: 150
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: 8
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 31
commandAll1: 10
commandAll2: 3
commandAll3: 14
keyCmdAllModKey: 16777250
showGeometryTip: false
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderCornerRatio: 0.1
borderlessMaximizedWindows: false
killPingTimeout: 5000
hideUtilityWindowsForInactive: true
inactiveTabsSkipTaskbar: false
autogroupSimilarWindows: false
autogroupInForeground: true
compositingMode: 1
useCompositing: true
compositingInitialized: true
hiddenPreviews: 0
unredirectFullscreen: false
glSmoothScale: 1
colorCorrected: false
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glDirect: true
glStrictBinding: false
glStrictBindingFollowsDriver: true
glLegacy: false
glCoreProfile: false
glPreferBufferSwap: 0

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 
timeThreshold: 50
reActivateThreshold: 350
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 1
actionBottom: 0
actionBottomLeft: 0
actionLeft: 0

Screens
=======
Multi-Head: no
Number of Screens: 1
Screen 0 Geometry: 0,0,1280x1024

Decoration
==========
Current Plugin: kwin3_oxygen
Shadows: yes
Alpha: yes
Announces Alpha: yes
Tabbing: yes
Frame Overlap: no
Blur Behind: no

Compositing
===========
Qt Graphics System: raster
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: NVIDIA Corporation
OpenGL renderer string: GeForce 7300 GT/PCIe/SSE2/3DNOW!
OpenGL version string: 2.1.2 NVIDIA 304.108
OpenGL shading language version string: 1.20 NVIDIA via Cg compiler
Driver: NVIDIA
Driver version: 304.108
GPU class: NV40/G70
OpenGL version: 2.1.2
GLSL version: 1.20
X server version: 1.14.2
Linux kernel version: 3.10.9
Direct rendering: yes
Requires strict binding: no
GLSL shaders:  limited
Texture NPOT support:  yes
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
kwin4_effect_invert
kwin4_effect_slidingpopups
kwin4_effect_login
kwin4_effect_diminactive
kwin4_effect_fade
kwin4_effect_dialogparent
kwin4_effect_presentwindows
kwin4_effect_logout
kwin4_effect_dashboard
kwin4_effect_screenedge
kwin4_effect_kscreen

Currently Active Effects:
-------------------------
kwin4_effect_diminactive

Effect Settings:
----------------
kwin4_effect_invert:

kwin4_effect_slidingpopups:
fadeInTime: 250
fadeOutTime: 250

kwin4_effect_login:

kwin4_effect_diminactive:
dimPanels: false
dimDesktop: false
dimKeepAbove: false
dimByGroup: true
dimStrength: 30

kwin4_effect_fade:

kwin4_effect_dialogparent:

kwin4_effect_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
dragToClose: false

kwin4_effect_logout:
useBlur: true

kwin4_effect_dashboard:
brightness: 0.5
saturation: 0
blur: false

kwin4_effect_screenedge:

kwin4_effect_kscreen:

This issue appears to be more complicated than I used to think. For some reason It appears each time I try to use pager to change VD, but using kwin virtual desktop switching (the one that works like alt-tab, but for desktops) does not always triggers the problem.

I have a little problem explaining this, so I recorded a short video demonstrating the problem. I start to use pager later, and just look what happens. https://dl.dropboxusercontent.com/u/2899105/out.ogv

I'm shading windows with mouse wheel. I'm using autunshade, after mouse hover.
Comment 3 Thomas Lübking 2013-08-31 14:40:08 UTC
Quick test: can you reproduce it disabling this?
nextFocusPrefersMouse: true
(set the focus policy in "kcmshell4 kwinoptions" to one that doe not have mosue precendence)
Comment 4 sirherrbatka 2013-08-31 15:25:19 UTC
I already tried to do this. Bug remains. 

But If I disable autunshade (just tried) I don't get the bug anymore (even If I still use  nextFocusPrefersMouse: true).
Comment 5 Thomas Lübking 2013-08-31 19:43:35 UTC
(In reply to comment #4)
> I already tried to do this. Bug remains. 
> 
> But If I disable autunshade (just tried) I don't get the bug anymore (even
> If I still use  nextFocusPrefersMouse: true).

What if you keep "shadeHover: true" and "nextFocusPrefersMouse: true", but alongside "click to focus"?
What if you raise "delayFocusInterval: 150" to eg. "delayFocusInterval: 500"?
Comment 6 sirherrbatka 2013-09-01 08:59:11 UTC
Sadly, changing this settings has no impact on bug.

Are you able to reproduce it?
Comment 7 Martin Flöser 2016-08-29 06:45:31 UTC
Unfortunately the rework in decorations in KWin 5 resulted in the window tabbing feature to be lost. We still want to bring this feature back, but after several versions it still hasn't emerged yet. Given that I think it is time to adjust the status of this bug report. The new implementation would be different anyway and it's questionable whether this report would still apply to it.