https://bugs.kde.org/show_bug.cgi?id=520241

            Bug ID: 520241
           Summary: New ghost screen detected every time KWin is restarted
                    despite laptop being a single monitor
    Classification: Plasma
           Product: kwin
      Version First git master
       Reported In:
          Platform: Arch Linux
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: multi-screen
          Assignee: [email protected]
          Reporter: [email protected]
  Target Milestone: ---

Created attachment 192346
  --> https://bugs.kde.org/attachment.cgi?id=192346&action=edit
Wonky brightness slider mess by restarting KWin

DESCRIPTION
I discovered this after needing to restart KWin for lag issues and then
brightness hotkeys stopped working (the shown slider got stuck at 90 or 85%),
and when I checked the applet it showed two brightness sliders despite my
laptop being single monitor with no external screens connected. One of those
sliders behaves normally-ish and the other is quite buggy. [screenshot]

STEPS TO REPRODUCE
1. Login (preferably on a single-monitor setup for accuracy)
2. Test brightness hotkeys, they should work normally
3. Restart kwin and wayland (I did with kwin_wayland --replace and plasmashell
--replace).
The "A new screen has been connected notification" will show up, which 1. is
wrong and 2. is the first symptom.

4. Test brightness hotkeys again. The brightness gets stuck at the same
percentage value again.
5. Open the applet; now you still see a single slider but brightness hotkeys
are broken anyway.
6. Restart KWin again and repeat from step 4. Now hotkeys still don't work and
you have duplicated sliders and neither do work correctly/behave consistently
(they start to flicker if you move them around).

OBSERVED RESULT
The previous slider mess described

EXPECTED RESULT
Sliders should work normally as they did before :\

SOFTWARE/OS VERSIONS
Operating System (available in the Info Center app, or by running `kinfo` in a
terminal window):
KDE Plasma Version: Arch Linux
KDE Frameworks Version: Git Master
Qt Version: 6.11.1

ADDITIONAL INFORMATION

After having replicated the bug, this correctly identifies that there is only
one screen connected and none more, none to create this ghost connection.

~> qdbus org.kde.KWin /KWin supportInformation
Información sobre KWin:
La siguiente información se debe usar al solicitar ayuda, por ejemplo en
https://discuss.kde.org.
Proporciona información sobre la instancia que se ejecuta actualmente, qué
opciones se están usando,
qué controlador OpenGL y qué efectos están activos.
Por favor, envíe la información proporcionada a continuación de este texto de
introducción a un
servicio de bandeja de pegar como https://paste.kde.org en lugar de pegarla en
hilos de ayuda.

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

Version
=======
KWin version: 6.6.90
Qt Version: 6.11.1
Qt compile version: 6.11.1
XCB compile version: 1.17.0

Operation Mode: Wayland

Build Options
=============
KWIN_BUILD_DECORATIONS: yes
KWIN_BUILD_TABBOX: yes
KWIN_BUILD_ACTIVITIES: yes
HAVE_X11_XCB: yes

X11
===
Vendor: The X.Org Foundation
Vendor Release: 12101099
Protocol Version/Revision: 11/0
SHAPE: yes; Version: 0x11
RANDR: yes; Version: 0x14
Composite: yes; Version: 0x4
RENDER: yes; Version: 0xb
XFIXES: yes; Version: 0x50
SYNC: yes; Version: 0x31
RES: yes; Version: 0x12

Decoration
==========
Plugin: org.kde.klassy
Theme: 
Plugin recommends border size: Normal
onAllDesktopsAvailable: true
alphaChannelSupported: true
closeOnDoubleClickOnMenu: false
alwaysShowExcludeFromCapture: false
decorationButtonsLeft: 0, 9, 2
decorationButtonsRight: 6, 3, 4, 5
borderSize: 2
gridUnit: 10
font: Noto Sans,10,-1,0,400,0,0,0,0,0,0,0,0,0,0,1,,0,0
smallSpacing: 2
largeSpacing: 10

LogicalOutput backend
==============
Name: DRM
Atomic Mode Setting on GPU 0: true

Cursor
======
themeName: retrosmart-xcursor-white
themeSize: 30

Options
=======
focusPolicy: FocusFollowsMouse
xwaylandCrashPolicy: 1
xwaylandMaxCrashCount: 3
nextFocusPrefersMouse: false
clickRaise: true
autoRaise: false
autoRaiseInterval: 750
delayFocusInterval: 300
separateScreenFocus: true
placement: 5
activationDesktopPolicy: SwitchToOtherDesktop
focusPolicyIsReasonable: true
borderSnapZone: 10
windowSnapZone: 10
centerSnapZone: 0
snapOnlyWhenOverlapping: false
edgeBarrier: 125
cornerBarrier: 1
rollOverDesktops: false
perOutputVirtualDesktops: false
focusStealingPreventionLevel: 1
operationTitlebarDblClick: 5000
operationMaxButtonLeftClick: 5000
operationMaxButtonMiddleClick: 5013
operationMaxButtonRightClick: 5012
commandActiveTitlebar1: MouseRaise
commandActiveTitlebar2: MouseNothing
commandActiveTitlebar3: MouseOperationsMenu
commandInactiveTitlebar1: MouseActivateAndRaise
commandInactiveTitlebar2: MouseNothing
commandInactiveTitlebar3: MouseOperationsMenu
commandWindow1: MouseActivateRaiseOnReleaseAndPassClick
commandWindow2: MouseActivateAndPassClick
commandWindow3: MouseActivateAndPassClick
commandWindowWheel: MouseNothing
commandAll1: MouseUnrestrictedMove
commandAll2: MouseToggleRaiseAndLower
commandAll3: MouseUnrestrictedResize
keyCmdAllModKey: 16777250
doubleClickBorderToMaximize: true
condensedTitle: false
electricBorderMaximize: true
electricBorderTiling: true
electricBorderAllScreenCorner: true
electricBorderCornerRatio: 0.25
borderlessMaximizedWindows: false
killPingTimeout: 5000
compositingMode: 1
allowTearing: true
interactiveWindowMoveEnabled: true
pictureInPictureHomeCorner: BottomRightCorner
pictureInPictureMargin: 20
overlayVirtualKeyboardOnWindows: false

Screen Edges
============
desktopSwitching: false
desktopSwitchingMovingClients: false
cursorPushBackDistance: 1x1
actionTopLeft: 0
actionTop: 0
actionTopRight: 0
actionRight: 0
actionBottomRight: 0
actionBottom: 0
actionBottomLeft: 4
actionLeft: 0

Screens
=======
Number of Screens: 1

Screen 0:
---------
Name: eDP-1
Enabled: 1
Geometry: 0,0,1707x960
Physical size: 381x214mm
Scale: 1.5
Refresh Rate: 165003
Adaptive Sync: automatic

Compositing
===========
Compositing is active
Compositing Type: OpenGL
OpenGL vendor string: AMD
OpenGL renderer string: AMD Radeon Graphics (radeonsi, rembrandt, ACO, DRM
3.64, 7.0.7-zen1-1-zen)
OpenGL version string: 4.6 (Core Profile) Mesa 26.1.0-arch1.1
OpenGL platform interface: EGL
OpenGL shading language version string: 4.60
Driver: Unknown
GPU class: Unknown
OpenGL version: 4.6
GLSL version: 4.60
Mesa version: 26.1
X server version: 1.21.1
Linux kernel version: 7.0.7
Direct rendering: Requires strict binding: no
Virtual Machine:  no
OpenGL 2 Shaders are used

Loaded Effects:
---------------
shakecursor
outputlocator
hidecursor
colorpicker
zoom
blur
sessionquit
logout
login
slidingpopups
slidingnotifications
windowaperture
slideback
slide
diminactive
cube
kinetic_fadingpopups
squash
scale
maximize
fullscreen
frozenapp
fadingpopups
dimscreen
sheet
dialogparent
windowview
tileseditor
overview
highlightwindow
blendchanges
startupfeedback
systembell
screentransform
kscreen

Currently Active Effects:
-------------------------
blur
diminactive

Effect Settings:
----------------
shakecursor:

outputlocator:

hidecursor:

colorpicker:

zoom:
zoomFactor: 1.2
mousePointer: 0
mouseTracking: 1
focusDelay: 350
moveFactor: 20
targetZoom: 1

blur:

sessionquit:
pluginId: sessionquit
isActiveFullScreenEffect: false

logout:
pluginId: logout
isActiveFullScreenEffect: false

login:
pluginId: login
isActiveFullScreenEffect: false

slidingpopups:
slideInDuration: 200
slideOutDuration: 200

slidingnotifications:

windowaperture:
pluginId: windowaperture
isActiveFullScreenEffect: false

slideback:

slide:
horizontalGap: 45
verticalGap: 20
slideBackground: true

diminactive:
dimStrength: 25
dimPanels: false
dimDesktop: false
dimKeepAbove: false
dimByGroup: true
dimFullScreen: true

cube:
activeView: 
delegate: 
data: 
configuration: 
visible: false
activated: false
animationDuration: 200
mainDelegate: 

kinetic_fadingpopups:
pluginId: kinetic_fadingpopups
isActiveFullScreenEffect: false

squash:
pluginId: squash
isActiveFullScreenEffect: false

scale:
pluginId: scale
isActiveFullScreenEffect: false

maximize:
pluginId: maximize
isActiveFullScreenEffect: false

fullscreen:
pluginId: fullscreen
isActiveFullScreenEffect: false

frozenapp:
pluginId: frozenapp
isActiveFullScreenEffect: false

fadingpopups:
pluginId: fadingpopups
isActiveFullScreenEffect: false

dimscreen:
pluginId: dimscreen
isActiveFullScreenEffect: false

sheet:
duration: 300

dialogparent:
pluginId: dialogparent
isActiveFullScreenEffect: false

windowview:
activeView: 
delegate: 
animationDuration: 300
ignoreMinimized: false
mode: 
partialActivationFactor: 0
gestureInProgress: false
searchText: 
selectedIds: 

tileseditor:
activeView: 
delegate: 
animationDuration: 200

overview:
activeView: 
delegate: 
animationDuration: 300
ignoreMinimized: false
filterWindows: true
organizedGrid: true
overviewPartialActivationFactor: 0
overviewGestureInProgress: false
transitionPartialActivationFactor: 0
transitionGestureInProgress: false
gridPartialActivationFactor: 0
gridGestureInProgress: false
searchText: 

highlightwindow:

blendchanges:

startupfeedback:
type: 1

systembell:

screentransform:

kscreen:


Loaded Plugins:
---------------
BounceKeysPlugin
KeyNotificationPlugin
MouseKeysPlugin
SlowKeysPlugin
StickyKeysPlugin
TouchpadShortcutsPlugin
buttonsrebind
eis
gamecontroller
krunnerintegration
nightlight
screencast
screenshot

Available Plugins:
------------------
BounceKeysPlugin
KeyNotificationPlugin
MouseKeysPlugin
SlowKeysPlugin
StickyKeysPlugin
TouchpadShortcutsPlugin
buttonsrebind
eis
gamecontroller
krunnerintegration
nightlight
screencast
screenshot

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to