Bug 419330

Summary: Close, maximise, minimise buttons missing on ARM
Product: [Plasma] kwin Reporter: squidinkrf
Component: decorationsAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED DOWNSTREAM    
Severity: minor    
Priority: NOR    
Version First Reported In: 5.18.3   
Target Milestone: ---   
Platform: Manjaro   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description squidinkrf 2020-03-28 10:19:24 UTC
SUMMARY
When a window is opened for the first time after boot on Manjaro ARM (tested on raspberry pi 4) the border is solid black, but when it is forced to refresh (by maximising or minimising) the colour returns, but is missing the buttons to close, maximise, and minimise. It is also worth noting that this does not affect breeze but happens with every other theme.

STEPS TO REPRODUCE
1. Run Manjaro ARM KDE
2. Open a Qt based application (or GTK with KDE window borders)

OBSERVED RESULT
There are no buttons in the top title, and you need to click where the buttons would normally be

EXPECTED RESULT
There would be close, maximise, and minimise buttons in the top right corner.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Manjaro ARM
(available in About System)
KDE Plasma Version: 5.18.3
KDE Frameworks Version: 5.68.0
Qt Version: 5.14.1
Comment 1 Vlad Zahorodnii 2020-03-30 10:45:23 UTC
Could you please post output of `qdbus org.kde.KWin /KWin supportInformation`?
Comment 2 squidinkrf 2020-03-30 22:02:45 UTC
(In reply to Vlad Zahorodnii from comment #1)
> Could you please post output of `qdbus org.kde.KWin /KWin
> supportInformation`?

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 https://paste.kde.org instead of pasting into support threads.

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

Version
=======
KWin version: 5.18.3
Qt Version: 5.14.1
Qt compile version: 5.14.1
XCB compile version: 1.14

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_EGL_STREAMS: yes
HAVE_X11_XCB: yes
HAVE_EPOXY_GLX: yes
HAVE_WAYLAND_EGL: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12007000
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.kwin.aurorae
Theme: __aurorae__svg__Layan-solid
Plugin recommends border size: No
Blur: 1
onAllDesktopsAvailable: false
alphaChannelSupported: false
closeOnDoubleClickOnMenu: false
decorationButtonsLeft: 0, 9
decorationButtonsRight: 6, 3, 4, 5
borderSize: 3
gridUnit: 10
font: Google Sans,10,-1,5,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: 4
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
rollOverDesktops: true
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5015
operationMaxButtonRightClick: 5014
commandActiveTitlebar1: 0
commandActiveTitlebar2: 28
commandActiveTitlebar3: 2
commandInactiveTitlebar1: 4
commandInactiveTitlebar2: 28
commandInactiveTitlebar3: 2
commandWindow1: 7
commandWindow2: 8
commandWindow3: 8
commandWindowWheel: 28
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
compositingMode: 2
useCompositing: 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:  yes
Number of Screens: 1

Screen 0:
---------
Name: HDMI-1
Geometry: 0,0,1280x720
Scale: 1
Refresh Rate: 60


Compositing
===========
Compositing is not active
Comment 3 Vlad Zahorodnii 2020-03-31 07:43:48 UTC
Please run kwin as follows `env QT_LOGGING_RULES="libkwineffects.debug=true" kwin_x11 --replace` and post the output here.
Comment 4 squidinkrf 2020-04-01 03:32:35 UTC
Icon theme "gnome" not found.
Module 'org.kde.kwin.decoration' does not contain a module identifier directive - it cannot be protected from external registrations.
file:///usr/share/kwin/aurorae/MenuButton.qml:22: TypeError: Cannot read property 'closeOnDoubleClickOnMenu' of null
libkwineffects: QtQuick Software rendering mode detected
QPainter::begin: Paint device returned engine == 0, type: 3
qt.svg: link #g1000 is undefined!
qt.svg: link #g1000 is undefined!
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1722, resource id: 65011747, major code: 3 (GetWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 1723, resource id: 65011747, major code: 14 (GetGeometry), minor code: 0
Comment 5 squidinkrf 2020-05-29 12:51:12 UTC
Fixed with an update, probably a config issue on Manjaro's behalf.