Bug 404348

Summary: Virtual Desktops not working after Pinning App in Plasma
Product: [Plasma] kwin Reporter: Nick <stroncea.nicolae>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: stroncea.nicolae
Priority: NOR    
Version First Reported In: 5.15.0   
Target Milestone: ---   
Platform: Neon   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description Nick 2019-02-14 15:25:37 UTC
SUMMARY
After clicking on the pin button in the title bar of firefox, and moving app around in multiple desktops, cannot open any virtual anymore, even after restart. Additionally, I get a small black square in upper left corner of the screen every time I launch firefox(may have appeared there because firefox was originally full-screen and that's where the pin positino is).
STEPS TO REPRODUCE
1. Pin Firefox in desktop(might be reproducible on any app, can't test because features are broken and permanent. Restart did not fix).
2. Open view of multiple desktops. Add more desktops. (I originally had 1 or 2 desktops open).
3. Try to move the firefox window around in a desktop, from the view of multiple desktops.

OBSERVED RESULT
Multiple Kwin shortcuts not working anymore, cannot create multiple desktops, black square appears in upper left corner every time I launch Firefox. Change is permanent.

EXPECTED RESULT
Firefox app would be moving within its desktop after the cursor, as any normal app.


SOFTWARE/OS VERSIONS
Windows: 
MacOS: 
Linux/KDE Plasma: KDE Neon 5.14
(available in About System)
KDE Plasma Version: 5.15.0
KDE Frameworks Version: 5.55.0
Qt Version: 5.12.0

ADDITIONAL INFORMATION
Comment 1 Nick 2019-02-14 15:42:08 UTC
Features which do not work anymore ae: Show Desktop Grid, Toggle Present Window(Current Desktop)
Comment 2 Vlad Zahorodnii 2019-02-14 16:03:07 UTC
So, if I understand you correctly, you pinned Firefox on all desktops, opened the Desktop Grid, created several virtual desktops, moved Firefox (between desktops or not?), and after that shortcuts stopped working, is it correct?
Comment 3 Nick 2019-02-14 19:35:25 UTC
Yes, that is correct. I think the features by themselves stopped working completely as well. I looked into Global Shortcuts, and they are still there, but upon actually pressing the shortcut, nothing happens. 

Once I created multiple desktops, I just moved the firefox tab around in the same desktop to see how it would react in the other desktops. I'm not sure if this had anything to do with it, but I can't run other tests on it, as the problem still persists.
Comment 4 Vlad Zahorodnii 2019-02-15 13:57:22 UTC
Could you please post output of `qdbus org.kde.KWin /KWin supportInformation`?
Comment 5 Nick 2019-02-21 22:20:42 UTC
(In reply to Vlad Zagorodniy from comment #4)
> Could you please post output of `qdbus org.kde.KWin /KWin
> supportInformation`?

method Q_NOREPLY void org.kde.KWin.cascadeDesktop()
method int org.kde.KWin.currentDesktop()
method QVariantMap org.kde.KWin.getWindowInfo(QString)
method Q_NOREPLY void org.kde.KWin.killWindow()
method void org.kde.KWin.nextDesktop()
method void org.kde.KWin.previousDesktop()
method QVariantMap org.kde.KWin.queryWindowInfo()
method Q_NOREPLY void org.kde.KWin.reconfigure()
signal void org.kde.KWin.reloadConfig()
method bool org.kde.KWin.setCurrentDesktop(int desktop)
method void org.kde.KWin.showDebugConsole()
method bool org.kde.KWin.startActivity(QString)
method bool org.kde.KWin.stopActivity(QString)
method QString org.kde.KWin.supportInformation()
method Q_NOREPLY void org.kde.KWin.unclutterDesktop()
method QDBusVariant org.freedesktop.DBus.Properties.Get(QString interface_name, QString property_name)
method QVariantMap org.freedesktop.DBus.Properties.GetAll(QString interface_name)
signal void org.freedesktop.DBus.Properties.PropertiesChanged(QString interface_name, QVariantMap changed_properties, QStringList invalidated_properties)
method void org.freedesktop.DBus.Properties.Set(QString interface_name, QString property_name, QDBusVariant value)
method QString org.freedesktop.DBus.Introspectable.Introspect()
method QString org.freedesktop.DBus.Peer.GetMachineId()
method void org.freedesktop.DBus.Peer.Ping()
Comment 6 Martin Flöser 2019-02-22 05:22:51 UTC
You did a typo. Please try again
Comment 7 Nick 2019-02-22 19:01:38 UTC
(In reply to Martin Flöser from comment #6)
> You did a typo. Please try again

KWin Support Information:
The following information should be used when requesting support on e.g. https://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.15.1
Qt Version: 5.12.0
Qt compile version: 5.12.0
XCB compile version: 1.13

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: 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: 11906000
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: false
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,Regular
smallSpacing: 2
largeSpacing: 10

Platform
==========
Name: KWin::X11StandalonePlatform

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: false
shadeHoverInterval: 250
separateScreenFocus: false
placement: 10
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: false
compositingInitialized: false
hiddenPreviews: 1
glSmoothScale: 2
xrenderSmoothScale: false
maxFpsInterval: 16666666
refreshRate: 0
vBlankTime: 6000000
glStrictBinding: true
glStrictBindingFollowsDriver: true
glCoreProfile: false
glPreferBufferSwap: 97
glPlatformInterface: 1
windowsBlockCompositing: true

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: LVDS-1-1
Geometry: 0,0,1366x768
Scale: 1
Refresh Rate: 60.0142


Compositing
===========
Compositing is not active
Comment 8 Martin Flöser 2019-02-22 19:14:22 UTC
According to the debug output the compositor is disabled. Please enable and try again.
Comment 9 Nick 2019-02-26 17:24:19 UTC
(In reply to Martin Flöser from comment #8)
> According to the debug output the compositor is disabled. Please enable and
> try again.

This fixed the issue. Thank you