Laptop. KDE Neon 5.8.1 up-to-date, intel hd 3000 graphic card, open source drivers. When I plug in second screen plasma is showing windows randomly on one of the screens. Got two panels, one for each screen. Plasma is randomly showing newly opened windows on one of screens. No matter from what panel I start an application. No matter how I will start an application - for example from kicker, konsole, whatever. No matter if I click on one of the screens to 'activate' it or make a current one. Same with 'under mouse' placement option - it's not working. There is no logic in where plasma is putting newly opened windows. Only setting KWin rule to show windows on screen: 1 is working but if I want every new application to be shown on primary I need to set '*' rule what makes dialogs of applications currently on second screen be shown on first screen. And without this rule dialogs will, in many cases, be shown on different screen that parent currently us. Reproducible: Always Steps to Reproduce: 1. Install plasma 5 2. Plug in second monitor 3. Open new application, window, dialog Actual Results: Windows and dialogs are randomly distributed between screens. Expected Results: To follow 'Under mouse' option. Keep dialogs on same screen that parent is. When application is opened from a panel to show that application on a screen that panel belongs to.
Please provide output of: qdbus org.kde.KWin /KWin supportInformation
(In reply to Martin Gräßlin from comment #1) > Please provide output of: > 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.8.1 Qt Version: 5.7.0 Qt compile version: 5.7.0 XCB compile version: 1.11.1 Operation Mode: X11 only Build Options ============= KWIN_BUILD_DECORATIONS: yes KWIN_BUILD_TABBOX: yes KWIN_BUILD_ACTIVITIES: yes HAVE_INPUT: 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: 11804000 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: false alphaChannelSupported: true closeOnDoubleClickOnMenu: false decorationButtonsLeft: 2 decorationButtonsRight: 3, 4, 5 borderSize: 0 gridUnit: 10 font: Noto Sans,10,-1,0,50,0,0,0,0,0 smallSpacing: 2 largeSpacing: 10 Options ======= focusPolicy: 0 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false placement: 8 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: 2 useCompositing: true compositingInitialized: true hiddenPreviews: 1 glSmoothScale: 2 colorCorrected: false 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: 2 Screen 0: --------- Name: LVDS1 Geometry: 0,0,1366x768 Refresh Rate: 60.0629 Screen 1: --------- Name: VGA1 Geometry: 1366,0,1360x768 Refresh Rate: 60.0629 Compositing =========== Compositing is active Compositing Type: XRender Loaded Effects: --------------- zoom slidingpopups kwin4_effect_login slide kwin4_effect_translucency screenshot kwin4_effect_windowaperture minimizeanimation desktopgrid kwin4_effect_fade kwin4_effect_morphingpopups kwin4_effect_maximize presentwindows kwin4_effect_dialogparent highlightwindow screenedge kscreen Currently Active Effects: ------------------------- Effect Settings: ---------------- zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 enableFocusTracking: false followFocus: true focusDelay: 350 moveFactor: 20 targetZoom: 1 slidingpopups: fadeInTime: 150 fadeOutTime: 250 kwin4_effect_login: slide: kwin4_effect_translucency: screenshot: kwin4_effect_windowaperture: minimizeanimation: desktopgrid: zoomDuration: 300 border: 10 desktopNameAlignment: 0 layoutMode: 0 customLayoutRows: 2 usePresentWindows: true kwin4_effect_fade: kwin4_effect_morphingpopups: 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: screenedge: kscreen:
> Active screen follows mouse: no Please try changing this option and check whether it works better for you. It's Systemsettings -> Window Behavior -> Window Actions and Behavior, all way down checkbox "active screen follows mouse".
(In reply to Martin Gräßlin from comment #3) > > Active screen follows mouse: no > > Please try changing this option and check whether it works better for you. > It's Systemsettings -> Window Behavior -> Window Actions and Behavior, all > way down checkbox "active screen follows mouse". Setting to 'Focus follows mouse' definitely made things better for every application except GTK based. Not sure if it's KWin's issue or just GTK do not follow rules. If latter then this bug report can be closed. Thank you. BUT! There is 'Placement' option in 'Advanced' tab in 'Window Action and Behavior' and I did set it to 'Under mouse' and I was sure this is what should make windows appear on a screen I'm currently on. This is kinda confusing and made me believe that regardless of this setting plasma is placing windows in willy-nilly fashion. Some clarification in options would be great. Anyways - thanks again.
> Setting to 'Focus follows mouse' definitely made things better for every application except GTK based. Not sure if it's KWin's issue or just GTK do not follow rules. If latter then this bug report can be closed. Thank you. Please provide output of xwininfo on such a window.
(In reply to Martin Gräßlin from comment #5) > > Setting to 'Focus follows mouse' definitely made things better for every application except GTK based. Not sure if it's KWin's issue or just GTK do not follow rules. If latter then this bug report can be closed. Thank you. > > Please provide output of xwininfo on such a window. xwininfo: Window id: 0x420000b "New document 1 - Inkscape" Absolute upper-left X: 1366 Absolute upper-left Y: 27 Relative upper-left X: 0 Relative upper-left Y: 0 Width: 1360 Height: 711 Depth: 24 Visual: 0x20 Visual Class: TrueColor Border width: 0 Class: InputOutput Colormap: 0x22 (installed) Bit Gravity State: NorthWestGravity Window Gravity State: NorthWestGravity Backing Store State: NotUseful Save Under State: no Map State: IsViewable Override Redirect State: no Corners: +1366+27 -0+27 -0-30 +1366-30 -geometry 1360x711-0+0 Document properties dialog window goes **always** to primary screen.
please also xprop
(In reply to Martin Gräßlin from comment #7) > please also xprop _NET_WM_ICON_GEOMETRY(CARDINAL) = 269, 741, 34, 26 _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_FRAME_STRUT(CARDINAL) = 0, 0, 27, 0 _NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 27, 0 _NET_WM_DESKTOP(CARDINAL) = 0 _KDE_NET_WM_ACTIVITIES(STRING) = "c626d536-f6d6-4f54-bc60-be04d1f16682" WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _NET_WM_STATE(ATOM) = WM_HINTS(WM_HINTS): Client accepts input or input focus: True Initial state is Normal State. bitmap id # to use for icon: 0x4400020 bitmap id # of mask for icon: 0x4400023 window id # of group leader: 0x4400001 XdndAware(ATOM) = BITMAP _MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x10, 0x0, 0x0, 0x0 _NET_WM_ICON(CARDINAL) = Icon (22 x 22): ░░ ▒▒ ▒ ▒ ▒░ ░▒ ░░ ░░ ░▒ ▒░ ▒░ ░▒ ▒░ ░▒▒▓▓▒ ▒▒░░▒▒▓▓▓▓▓▓▓▒ ░▒░░▒▓▓▓▓▓▓▓▓▓▓░ ▓▓░░▒▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▒░▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▓░ ▒▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▓▓▓▓▓▓░ ▒▓▓▓▓▓▓▒ ▒▓▓▓▓▒ ▓▓░ Icon (16 x 16): ▒▒ ░ ░ ░░ ░░ ▒ ░ ▒ ░░▒ ▒░░▒▒▒▓▓▓▒ ░▒░▒▓▓▓▓▓▓▓░ ░▓▓░▒▓▓▓▓▓▓▓▓░ ▒▓▓▒▓▓▓▓▓▓▓▒░ ▒▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▓▓░ ▒▓▓▒ ░░ Icon (48 x 48): ░░ ▒▒ ▒▒▒▒ ▒▒░░▒▒ ░▒▒ ▒▒░ ▒▒ ▒▒ ▒▒░ ░▒▒ ▒▒▒ ░▒▒ ░▓▒ ▒▓░ ▒▒ ▒▒ ▒▓░ ░▓▒ ▒▓▒ ░ ░▓▒ ░▓▒ ░ ▒▓░ ░▓▓░ ░░▒▓░ ▒▓░ ░░░▓▒ ▒▓▒ ░░░▒▓▓▒ ▒▓▒░ ░░▒▓▓▓▓▓▓▓▒ ░▓▓░ ░░▒▓▓▓▓▓▓▓▓▓▓▓░ ▓▓▒ ░░░░░░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▒░░░░░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▒▓▒░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓░░░░░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ▓▓▓▒░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ▒▓▓▓▓▒░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▒▓▓▓▓▓▓▒░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▒▓▓▓▓▓▓▓▓▒░░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▓▓▓▓▓▓░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▓▓▓▓▓▓░ ▒▓▓▓▓▓▓▒ ░▓▓▓▓░ ▓▓ Icon (24 x 24): ░░ ▒▒ ▒ ▒ ▒░ ░▒ ░▒ ▒░ ▒ ▒ ▒░ ░▒ ▒░ ░▒▒ ░▒ ░░▒▒▓▓▓░ ▒░░░▒▒▓▓▓▓▓▓▓▓ ▒░░░▓▓▓▓▓▓▓▓▓▓▓▒ ▒▓▒░░▒▓▓▓▓▓▓▓▓▓▓▓▒ ▒▓▓▓▒░▒▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▒▒▓▓▓▓▓▓▓▓▓▓▓▓░ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▒▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▓▓▓▓▓▓░ ▒▓▓▓▓▓▓▒ ░▓▓▓▓░ ▒▒ Icon (32 x 32): ░░ ░▒▒░ ▒░░▒ ▒░ ░▒ ▒▒ ▒▒ ░▒ ▒░ ▒░ ░▒ ▒▒ ░▒ ▒▒ ▒▒ ░▓░ ░░▓░ ░▓░ ░░░▒▓▓▓░ ▒▒ ░▒▒▓▓▓▓▓▓▓▒ ▒▒░░░░▒▒▓▓▓▓▓▓▓▓▓▓▓▒ ░▓░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▒░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ▓▓▓▒░░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▒▓▓▓▓▓▓▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▓▓▓▓░ ▒▓▓▓▓▒ ░▓▓░ Icon (48 x 48): ░░ ▒▒ ▒▒▒▒ ▒▒░░▒▒ ░▒▒ ▒▒░ ▒▒ ▒▒ ▒▒░ ░▒▒ ▒▒▒ ░▒▒ ░▓▒ ▒▓░ ▒▒ ▒▒ ▒▓░ ░▓▒ ▒▓▒ ░ ░▓▒ ░▓▒ ░ ▒▓░ ░▓▓░ ░░▒▓░ ▒▓░ ░░░▓▒ ▒▓▒ ░░░▒▓▓▒ ▒▓▒░ ░░▒▓▓▓▓▓▓▓▒ ░▓▓░ ░░▒▓▓▓▓▓▓▓▓▓▓▓░ ▓▓▒ ░░░░░░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▒░░░░░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▒▓▒░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓░░░░░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ▓▓▓▒░░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ▒▓▓▓▓▒░░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▒▓▓▓▓▓▓▒░░░░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▒▓▓▓▓▓▓▓▓▒░░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▓▓▓▓▓▓░░▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▒▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓░ ▒▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ░▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▒ ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ ▒▓▓▓▓▓▓▓▓▓▓▓▓▒ ░▓▓▓▓▓▓▓▓▓▓░ ▒▓▓▓▓▓▓▒ ░▓▓▓▓░ ▓▓ _NET_WM_SYNC_REQUEST_COUNTER(CARDINAL) = 71303181 _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_NORMAL _NET_WM_USER_TIME(CARDINAL) = 346716 _KDE_NET_WM_USER_CREATION_TIME(CARDINAL) = 336969 _NET_WM_USER_TIME_WINDOW(WINDOW): window id # 0x440000c WM_CLIENT_LEADER(WINDOW): window id # 0x4400001 _NET_WM_PID(CARDINAL) = 1909 WM_LOCALE_NAME(STRING) = "en_US.UTF-8" WM_CLIENT_MACHINE(STRING) = "edwin-270E4EV" WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified minimum size: 741 by 426 window gravity: NorthWest WM_PROTOCOLS(ATOM): protocols WM_DELETE_WINDOW, WM_TAKE_FOCUS, _NET_WM_PING, _NET_WM_SYNC_REQUEST WM_CLASS(STRING) = "inkscape", "Inkscape" WM_ICON_NAME(STRING) = "New document 1 - Inkscape" _NET_WM_ICON_NAME(UTF8_STRING) = "New document 1 - Inkscape" WM_NAME(STRING) = "New document 1 - Inkscape" _NET_WM_NAME(UTF8_STRING) = "New document 1 - Inkscape"
Interesting it does not provide a position hint - kwin should have positioned it.
This issue report is quite old. Can you please confirm, that it still persists with KDE 5.23?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!