This forum has been archived. All content is frozen. Please use KDE Discuss instead.

SC 5, lost transparent dialogs.

Tags: None
(comma "," separated)
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS

SC 5, lost transparent dialogs.

Sat Jul 04, 2015 6:58 am
When I first upgraded to SC 5, the transparency settings under desktop effects were working and I had transparent menus and dialog boxes. They could be adjusted in system settings. I've been customizing the color theme and somehow now that I have colors that I like, I don't have transparent menus and dialogs anymore. Compositing is working fine. I have wobbly windows and transparent windows when I move them, but the menus and dialogs are no longer transparent. I'm assuming it's related to me changing the colors in system settings, but I don't know? Does anyone know about this issue?
luebking
Karma
0

Re: SC 5, lost transparent dialogs.

Sat Jul 04, 2015 7:24 am
please paste (in "code" tags!) the output of "qdbus org.kde.KWin /KWin supportInformation"

Does this also affect dialogs and menus of new processes?
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS

Re: SC 5, lost transparent dialogs.

Sat Jul 04, 2015 5:34 pm
Code: Select all
$ qdbus org.kde.KWin /KWin supportInformation
KWin Support Information:
The following information should be used when requesting support on e.g. http://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.3.2
Qt Version: 5.4.2
Qt compile version: 5.4.2
XCB compile version: 1.10

Operation Mode: X11 only

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_WAYLAND: yes
HAVE_WAYLAND_EGL: yes
HAVE_WAYLAND_CURSOR: yes
HAVE_XKB: yes
HAVE_INPUT: yes
HAVE_XCB_CURSOR: yes
HAVE_XCB_SYNC: yes
HAVE_X11_XCB: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 11702000
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, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 4
gridUnit: 12
font: FreeSans,11,-1,5,63,0,0,0,0,0
smallSpacing: 3
largeSpacing: 12

Options
=======
focusPolicy: 0
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 0
delayFocusInterval: 0
shadeHover: true
shadeHoverInterval: 250
separateScreenFocus: false
placement: 3
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: true
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: false
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: 2
actionLeft: 0

Screens
=======
Multi-Head: no
Active screen follows mouse:  no
Number of Screens: 1
Screen 0 Geometry: 0,0,1920x1080

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) Haswell Desktop
OpenGL version string: 3.0 Mesa 10.5.8
OpenGL platform interface: GLX
OpenGL shading language version string: 1.30
Driver: Intel
GPU class: Haswell
OpenGL version: 3.0
GLSL version: 1.30
Mesa version: 10.5.8
X server version: 1.17.2
Linux kernel version: 4.0
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:
---------------
slidingpopups
kwin4_effect_login
wobblywindows
screenshot
kwin4_effect_windowaperture
kwin4_effect_translucency
minimizeanimation
kwin4_effect_fadedesktop
desktopgrid
kwin4_effect_fade
kwin4_effect_maximize
presentwindows
kwin4_effect_dialogparent
highlightwindow
blur
contrast
logout
dashboard
startupfeedback
screenedge
kscreen

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

Effect Settings:
----------------
slidingpopups:
fadeInTime: 150
fadeOutTime: 250

kwin4_effect_login:

wobblywindows:
stiffness: 0.15
drag: 0.8
moveFactor: 0.1
xTesselation: 20
yTesselation: 20
minVelocity: 0
maxVelocity: 1000
stopVelocity: 0.5
minAcceleration: 0
maxAcceleration: 1000
stopAcceleration: 0.5
moveEffectEnabled: true
openEffectEnabled: false
closeEffectEnabled: false
moveWobble: true
resizeWobble: true

screenshot:

kwin4_effect_windowaperture:

kwin4_effect_translucency:

minimizeanimation:

kwin4_effect_fadedesktop:

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

kwin4_effect_fade:

kwin4_effect_maximize:

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

kwin4_effect_dialogparent:

highlightwindow:

blur:
blurRadius: 12
cacheTexture: true

contrast:

logout:
useBlur: true

dashboard:
brightness: 0.5
saturation: 0.5
blur: false

startupfeedback:
type: 1

screenedge:

kscreen:


I'm not sure what you mean by new processes? Today from a fresh startup, the drop down menus on firefox, chrome and claws mail are transparent, they are also transparent on konqueror, dolphin and rekonq, but not on kate, konsole, or systemsettings.
luebking
Karma
0

Re: SC 5, lost transparent dialogs.

Sat Jul 04, 2015 5:46 pm
Currently Active Effects:
-------------------------
blur
contrast


At least when you took that info, no supposingly translucent window (as maintained by the kwin effect) was on screen.

About "new processes" I meant whether processes started after the "color changes" are affected as well (the windows need to propagate what they are - if changes to the client "somehow" erased that info, the effect will ignore them)

To be sure: you're trying to make the translucent through the effect found in "kcmshell5 kwineffects" and *NOT* through some setting in the GUI style (oxygen, breeze, etc.)?!
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS

Re: SC 5, lost transparent dialogs.

Sat Jul 04, 2015 11:11 pm
luebking wrote:
Currently Active Effects:
-------------------------
blur
contrast


At least when you took that info, no supposingly translucent window (as maintained by the kwin effect) was on screen.

To be sure: you're trying to make the translucent through the effect found in "kcmshell5 kwineffects" and *NOT* through some setting in the GUI style (oxygen, breeze, etc.)?!


I'm using systemsettings desktop effects translucency. It's definately enabled through the UI, I try the difference between general translucency and set menu translucency independently. I try resetting my changes by closing the program and restarting, or by logging out, or by rebooting as I find it doesn't work. If the status output of the command you gave me is not showing translucency set, then maybe the problem is systemsettings is not saving my settings. What config file and settings might I try setting?
luebking
Karma
0

Re: SC 5, lost transparent dialogs.

Sun Jul 05, 2015 6:29 am
Ok, then please post (in code tags again ;-)
a) ~/.config/kwinrc
b) the output of "xprop" for a dialog that you'd expect to be translucent (getting that info for a menu is a bit tricky, so let's go with a dialog first)
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS

Re: SC 5, lost transparent dialogs.

Sun Jul 05, 2015 12:33 pm
luebking wrote:Ok, then please post (in code tags again ;-)
a) ~/.config/kwinrc
b) the output of "xprop" for a dialog that you'd expect to be translucent (getting that info for a menu is a bit tricky, so let's go with a dialog first)


I switched from the tranclucency setting of set menus, drop downs, dialogs independently to the one where they're all the same, and kate and konsole's open and save dialogs are transparent, but the drop down menus still are not. I rebooted just to make sure the propgation was complete. The menus in dolphin, konqueror and gtk programs like firefox and gimp are transparent. So the xprop below is with a working transparent open/save dialog. I see what you mean about the menu being tricky, they lose focus and go away by the time I try to type xprop.

Code: Select all
[Compositing]
OpenGLIsUnsafe=false

[Desktops]
Number=4
Rows=2

[Effect-Cube]
BorderActivate=9
BorderActivateCylinder=9
BorderActivateSphere=9
CapColor=0,0,0
CloseOnMouseRelease=true
TexturedCaps=false
Wallpaper=file:///home/satyam/Pictures/1600x900/Dreamscape_by_trystianity-1280x720.jpg
ZPosition=23

[Effect-DesktopGrid]
BorderActivate=3

[Effect-PresentWindows]
BorderActivate=9
BorderActivateAll=7
BorderActivateClass=1

[Effect-Zoom]
InitialZoom=1

[Effect-kwin4_effect_translucency]
Dialogs=96
DropdownMenus=94
Menus=95
MoveResize=88
PopupMenus=94

[ElectricBorders]
Bottom=None
BottomLeft=ShowDesktop
BottomRight=None
Left=None
Right=None
Top=None
TopLeft=None
TopRight=None

[MouseBindings]
CommandActiveTitlebar1=Raise
CommandActiveTitlebar2=Start window tab drag
CommandActiveTitlebar3=Operations menu
CommandAll1=Move
CommandAll2=Toggle raise and lower
CommandAll3=Resize
CommandAllKey=Alt
CommandAllWheel=Nothing
CommandInactiveTitlebar1=Activate and raise
CommandInactiveTitlebar2=Start window tab drag
CommandInactiveTitlebar3=Operations menu
CommandTitlebarWheel=Switch to Window Tab to the Left/Right
CommandWindow1=Activate, raise and pass click
CommandWindow2=Activate and pass click
CommandWindow3=Activate and pass click
CommandWindowWheel=Scroll

[Plugins]
cubeslideEnabled=false
desktopchangeosdEnabled=false
enforcedecoEnabled=true
kwin4_effect_cooleffectEnabled=false
kwin4_effect_fadedesktopEnabled=true
minimizeallEnabled=true
slideEnabled=false
synchronizeskipswitcherEnabled=false
videowallEnabled=false
windowgeometryEnabled=false
wobblywindowsEnabled=true
zoomEnabled=false

[Script-desktopchangeosd]
PopupHideDelay=1000
TextOnly=false

[TabBox]
BorderActivate=9
BorderAlternativeActivate=9

[Windows]
ActiveMouseScreen=false
AutoRaise=false
AutoRaiseInterval=750
AutogroupInForeground=true
AutogroupSimilarWindows=false
BorderSnapZone=10
CenterSnapZone=0
ClickRaise=true
DelayFocusInterval=300
ElectricBorderCooldown=350
ElectricBorderCornerRatio=0.25
ElectricBorderDelay=150
ElectricBorderMaximize=false
ElectricBorderTiling=true
ElectricBorders=0
FocusPolicy=ClickToFocus
FocusStealingPreventionLevel=1
GeometryTip=false
HideUtilityWindowsForInactive=true
InactiveTabsSkipTaskbar=false
MaximizeButtonLeftClickCommand=Maximize
MaximizeButtonMiddleClickCommand=Maximize (vertical only)
MaximizeButtonRightClickCommand=Maximize (horizontal only)
NextFocusPrefersMouse=false
Placement=Random
RollOverDesktops=true
SeparateScreenFocus=false
ShadeHover=true
ShadeHoverInterval=250
SnapOnlyWhenOverlapping=true
TitlebarDoubleClickCommand=Maximize
WindowSnapZone=10

[org.kde.kdecoration2]
BorderSize=Large
ButtonsOnLeft=MS
ButtonsOnRight=HIAX
CloseOnDoubleClickOnMenu=false
library=org.kde.breeze


Code: Select all
$ xprop
_KDE_NET_WM_FRAME_STRUT(CARDINAL) = 9, 9, 31, 9       
_NET_FRAME_EXTENTS(CARDINAL) = 9, 9, 31, 9                       
_NET_WM_DESKTOP(CARDINAL) = 0
WM_STATE(WM_STATE):
                window state: Normal
                icon window: 0x0
_NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_MOVE, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_FULLSCREEN, _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_CLOSE
_KDE_NET_WM_ACTIVITIES(STRING) = "43618729-537b-44a8-a564-7293d0cea38e"
_NET_WM_USER_TIME(CARDINAL) = 3607572
_NET_WM_STATE(ATOM) = _NET_WM_STATE_MODAL
WM_TRANSIENT_FOR(WINDOW): window id # 0x4000002
_NET_WM_ICON(CARDINAL) =        Icon (16 x 16):
                       
 
XdndAware(ATOM) = BITMAP
_NET_WM_NAME(UTF8_STRING) = "Open File — Kate"
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x7, 0x26, 0x1e, 0x3, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DIALOG, _NET_WM_WINDOW_TYPE_NORMAL
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0x4000002
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
_NET_WM_PID(CARDINAL) = 31242
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 67108990
WM_CLASS(STRING) = "kate", "kate"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST, _NET_WM_CONTEXT_HELP
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                user specified location: 690, 317
                user specified size: 672 by 605
                program specified minimum size: 430 by 233
                window gravity: Static
luebking
Karma
0

Re: SC 5, lost transparent dialogs.

Sun Jul 05, 2015 1:11 pm
I've no problems with dialogs (regardless of the separate menu option) but can confirm the problem for Qt5 popup menus.

The reason is that Qt5 popups looks like this (watch _NET_WM_WINDOW_TYPE)

Code: Select all
_NET_WM_USER_TIME(CARDINAL) = 2433635501
WM_TRANSIENT_FOR(WINDOW): window id # 0x2000005
XdndAware(ATOM) = BITMAP
_KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 2433469247
_NET_WM_NAME(UTF8_STRING) = "KWrite"
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x3, 0x3e, 0x7e, 0x0, 0x0
_NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL
_XEMBED_INFO(_XEMBED_INFO) = 0x0, 0x1
WM_CLIENT_LEADER(WINDOW): window id # 0x2000002
WM_HINTS(WM_HINTS):
                Client accepts input or input focus: True
                Initial state is Normal State.
_NET_WM_PID(CARDINAL) = 6418
_NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 33554562
WM_CLASS(STRING) = "kwrite", "kwrite"
WM_PROTOCOLS(ATOM): protocols  WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST
WM_NORMAL_HINTS(WM_SIZE_HINTS):
                user specified location: 385, 358
                user specified size: 189 by 238
                window gravity: Static

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

xwininfo: Window id: 0x2000081 "KWrite"

  Absolute upper-left X:  385
  Absolute upper-left Y:  358
  Relative upper-left X:  385
  Relative upper-left Y:  358
  Width: 189
  Height: 238
  Depth: 32
  Visual: 0xbe
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x2000080 (not installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: yes
  Map State: IsUnMapped
  Override Redirect State: yes
  Corners:  +385+358  -706+358  -706-428  +385-428
  -geometry 189x238+385+358


I created https://bugreports.qt.io/browse/QTBUG-47043
User avatar
vayu
Registered Member
Posts
129
Karma
0
OS

Re: SC 5, lost transparent dialogs.

Mon Jul 06, 2015 12:13 am
luebking wrote:I've no problems with dialogs (regardless of the separate menu option) but can confirm the problem for Qt5 popup menus.

The reason is that Qt5 popups looks like this (watch _NET_WM_WINDOW_TYPE)

I created https://bugreports.qt.io/browse/QTBUG-47043


Thanks. Do you think there is a workaround? Can I manually set something in a config file somewhere?
luebking
Karma
0

Re: SC 5, lost transparent dialogs.

Mon Jul 06, 2015 11:31 am
No, that's not worakaroundable.
The popup menu simply doesn't say that it's a popup menu (and without that hint, one window looks like another from the WM point of view)
=> This must inevitably be fixed in Qt5, sorry.


Bookmarks



Who is online

Registered users: abc72656, Bing [Bot], daret, Google [Bot], Sogou [Bot], Yahoo [Bot]