SUMMARY Popup windows like from Libreoffice always open right of my screen, I have to move them manually through the Taskbar. STEPS TO REPRODUCE 1. Open a popup Window in Wayland session 2. it doesnt appear but in the taskbar 3. move it using the taskbar action OBSERVED RESULT popup windows open outside of screen but right from it, normal hight EXPECTED RESULT all windows have to open in the screen limits SOFTWARE/OS VERSIONS Operating System: Fedora Linux 37 KDE Plasma Version: 5.26.5 KDE Frameworks Version: 5.101.0 Qt Version: 5.15.7 Kernel Version: 6.0.17-300.fc37.x86_64 (64-bit) Graphics Platform: Wayland Graphics Processor: Mesa Intel® HD Graphics 4000
What kind of popup window? How do you make it open? Can you describe exactly what you're doing?
(In reply to Nate Graham from comment #1) > What kind of popup window? How do you make it open? Can you describe exactly > what you're doing? Any Popup window. In my case the Libreoffice flatpak popup windows for every settings, for restoring unsaved documents. These popup windows are also shown with the generic wayland logo. I can file a bug for the libreoffice flatpak, but I think opening windows should be handled by kwin right?
Can you attach output of: qdbus org.kde.KWin /KWin org.kde.KWin.supportInformation Check if you have any window rules or scripts enabled that could be affecting this
(In reply to David Edmundson from comment #3) > Can you attach output of: qdbus org.kde.KWin /KWin > org.kde.KWin.supportInformation > > Check if you have any window rules or scripts enabled that could be > affecting this It seems to not occur when attaching a second display. So my laptop screen is primary and the second display is on the left. When using laptop only, it seems the popup window shows up right of the laptop screen. As If the Kwin coordinates would originate from the second display as main, while my laptop screen is set as that. So a problem may be, that I set the kwin rules like that? and the coordinates say its on the right. But it should be normal, as my main screen is always there and where the rule says the window should be.
Coordinates begin at the top left, the primary monitor setting has no impact on that. KWin shouldn't blindly apply the window rule though but also check if the window is still visible, and move it to a sane place if it's not
A possibly relevant merge request was started @ https://invent.kde.org/plasma/kwin/-/merge_requests/3423
Git commit 11327da292ce248b93e75f583b1860d8a140bc55 by Xaver Hugl. Committed on 24/01/2023 at 14:40. Pushed by zamundaaa into branch 'master'. xdgshellwindow: ignore window position rules placing windows outside of all screens M +24 -1 src/rules.cpp M +2 -0 src/rules.h M +1 -1 src/window.cpp M +1 -1 src/x11window.cpp M +1 -1 src/xdgshellwindow.cpp https://invent.kde.org/plasma/kwin/commit/11327da292ce248b93e75f583b1860d8a140bc55
Git commit 09bb1298fa8334ccb5350f959e87724fa2613851 by Nate Graham, on behalf of Xaver Hugl. Committed on 25/01/2023 at 21:53. Pushed by ngraham into branch 'cherry-pick-11327da2'. xdgshellwindow: ignore window position rules placing windows outside of all screens (cherry picked from commit 11327da292ce248b93e75f583b1860d8a140bc55) M +24 -1 src/rules.cpp M +2 -0 src/rules.h M +1 -1 src/window.cpp M +1 -1 src/x11window.cpp M +1 -1 src/xdgshellwindow.cpp https://invent.kde.org/plasma/kwin/commit/09bb1298fa8334ccb5350f959e87724fa2613851
Created attachment 164451 [details] Popup Windows outside screen
If you take a look at my screenshot, it can be seen, that these pop windows show up ALWAYS at the top left, regardless of which window or application rules you set. It just doesn't bother and if you have like me to 1920x1080 screen and a 2k in the middle, the window is completly gone.
Here is my qdbus log: 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.27.10 Qt Version: 5.15.11 Qt compile version: 5.15.11 XCB compile version: 1.16 Operation Mode: X11 only Build Options ============= KWIN_BUILD_DECORATIONS: yes KWIN_BUILD_TABBOX: yes KWIN_BUILD_ACTIVITIES: yes HAVE_X11_XCB: yes HAVE_EPOXY_GLX: yes X11 === Vendor: The X.Org Foundation Vendor Release: 12101010 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: Breeze Plugin recommends border size: None onAllDesktopsAvailable: false alphaChannelSupported: true closeOnDoubleClickOnMenu: false decorationButtonsLeft: 0, 9, 2 decorationButtonsRight: 6, 3, 4, 5 borderSize: 0 gridUnit: 10 font: Noto Sans,10,-1,0,50,0,0,0,0,0 smallSpacing: 2 largeSpacing: 10 Output backend ============== Name: KWin::X11StandaloneBackend Cursor ====== themeName: breeze_cursors themeSize: 24 Options ======= focusPolicy: 0 xwaylandCrashPolicy: xwaylandMaxCrashCount: 3 nextFocusPrefersMouse: false clickRaise: true autoRaise: false autoRaiseInterval: 0 delayFocusInterval: 0 shadeHover: false shadeHoverInterval: 250 separateScreenFocus: false activeMouseScreen: true placement: activationDesktopPolicy: 0 focusPolicyIsReasonable: true borderSnapZone: 10 windowSnapZone: 10 centerSnapZone: 0 snapOnlyWhenOverlapping: false rollOverDesktops: false focusStealingPreventionLevel: 1 operationTitlebarDblClick: 5000 operationMaxButtonLeftClick: 5000 operationMaxButtonMiddleClick: 5015 operationMaxButtonRightClick: 5014 commandActiveTitlebar1: 0 commandActiveTitlebar2: 1 commandActiveTitlebar3: 2 commandInactiveTitlebar1: 4 commandInactiveTitlebar2: 1 commandInactiveTitlebar3: 2 commandWindow1: 7 commandWindow2: 8 commandWindow3: 8 commandWindowWheel: 28 commandAll1: 10 commandAll2: 3 commandAll3: 14 keyCmdAllModKey: 16777250 condensedTitle: false electricBorderMaximize: true electricBorderTiling: true electricBorderCornerRatio: 0.25 borderlessMaximizedWindows: false killPingTimeout: 5000 hideUtilityWindowsForInactive: true compositingMode: 1 useCompositing: true hiddenPreviews: 1 glSmoothScale: 2 glStrictBinding: true glStrictBindingFollowsDriver: true glPreferBufferSwap: 101 glPlatformInterface: 1 windowsBlockCompositing: false latencyPolicy: renderTimeEstimator: allowTearing: 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 ======= Active screen follows mouse: yes Number of Screens: 3 Screen 0: --------- Name: DisplayPort-1 Enabled: 1 Geometry: 1920,0,2560x1440 Scale: 1 Refresh Rate: 59950 Adaptive Sync: incapable Screen 1: --------- Name: DisplayPort-2 Enabled: 1 Geometry: 4480,360,1920x1080 Scale: 1 Refresh Rate: 74972 Adaptive Sync: incapable Screen 2: --------- Name: HDMI-A-0 Enabled: 1 Geometry: 0,360,1920x1080 Scale: 1 Refresh Rate: 60000 Adaptive Sync: incapable Compositing =========== Compositing is active Compositing Type: OpenGL OpenGL vendor string: AMD OpenGL renderer string: AMD Radeon RX 5700 (radeonsi, navi10, LLVM 16.0.6, DRM 3.54, 6.6.8-arch1-1) OpenGL version string: 4.6 (Compatibility Profile) Mesa 23.3.1-arch1.1 OpenGL platform interface: GLX OpenGL shading language version string: 4.60 Driver: Unknown GPU class: Unknown OpenGL version: 4.6 GLSL version: 4.60 Mesa version: 23.3.1 X server version: 1.21.1 Linux kernel version: 6.6.8 Direct rendering: Requires strict binding: yes GLSL shaders: yes Texture NPOT support: yes Virtual Machine: no OpenGL 2 Shaders are used Loaded Effects: --------------- colorpicker outputlocator screenshot trackmouse screenedge zoom blur contrast kwin4_effect_sessionquit kwin4_effect_logout kwin4_effect_login slidingpopups kwin4_effect_translucency kwin4_effect_windowaperture magiclamp slide kwin4_effect_fullscreen kwin4_effect_frozenapp kwin4_effect_maximize kwin4_effect_fadingpopups kwin4_effect_dimscreen kwin4_effect_morphingpopups kwin4_effect_pixelate kwin4_effect_dialogparent desktopgrid highlightwindow overview tileseditor windowview wobblywindows blendchanges startupfeedback kscreen invert Currently Active Effects: ------------------------- screenedge blur contrast Effect Settings: ---------------- colorpicker: outputlocator: screenshot: trackmouse: modifiers: 335544320 mousePolling: true screenedge: zoom: zoomFactor: 1.2 mousePointer: 0 mouseTracking: 0 focusTrackingEnabled: false textCaretTrackingEnabled: false focusDelay: 350 moveFactor: 20 targetZoom: 1 blur: contrast: kwin4_effect_sessionquit: pluginId: kwin4_effect_sessionquit isActiveFullScreenEffect: false kwin4_effect_logout: pluginId: kwin4_effect_logout isActiveFullScreenEffect: false kwin4_effect_login: pluginId: kwin4_effect_login isActiveFullScreenEffect: false slidingpopups: slideInDuration: 150 slideOutDuration: 250 kwin4_effect_translucency: pluginId: kwin4_effect_translucency isActiveFullScreenEffect: false kwin4_effect_windowaperture: pluginId: kwin4_effect_windowaperture isActiveFullScreenEffect: false magiclamp: slide: horizontalGap: 45 verticalGap: 20 slideBackground: true kwin4_effect_fullscreen: pluginId: kwin4_effect_fullscreen isActiveFullScreenEffect: false kwin4_effect_frozenapp: pluginId: kwin4_effect_frozenapp isActiveFullScreenEffect: false kwin4_effect_maximize: pluginId: kwin4_effect_maximize isActiveFullScreenEffect: false kwin4_effect_fadingpopups: pluginId: kwin4_effect_fadingpopups isActiveFullScreenEffect: false kwin4_effect_dimscreen: pluginId: kwin4_effect_dimscreen isActiveFullScreenEffect: false kwin4_effect_morphingpopups: pluginId: kwin4_effect_morphingpopups isActiveFullScreenEffect: false kwin4_effect_pixelate: pluginId: kwin4_effect_pixelate isActiveFullScreenEffect: false kwin4_effect_dialogparent: pluginId: kwin4_effect_dialogparent isActiveFullScreenEffect: false desktopgrid: activeView: gridRows: 1 gridColumns: 1 animationDuration: 300 layout: 1 partialActivationFactor: 0 gestureInProgress: false showAddRemove: true desktopNameAlignment: 0 desktopLayoutMode: 0 customLayoutRows: 2 highlightwindow: overview: activeView: animationDuration: 300 layout: 1 ignoreMinimized: false blurBackground: true partialActivationFactor: 0 gestureInProgress: false searchText: tileseditor: activeView: animationDuration: 200 windowview: activeView: animationDuration: 300 layout: 1 ignoreMinimized: false mode: -1865910400 partialActivationFactor: 0 gestureInProgress: false searchText: wobblywindows: stiffness: 0.04 drag: 0.86 moveFactor: 0.18 xTesselation: 20 yTesselation: 20 minVelocity: 0 maxVelocity: 1000 stopVelocity: 0.5 minAcceleration: 0 maxAcceleration: 1000 stopAcceleration: 0.5 moveWobble: true resizeWobble: true blendchanges: startupfeedback: type: 1 kscreen: invert: Loaded Plugins: --------------- kwin5_plugin_krunner kwin5_plugin_nightcolor Available Plugins: ------------------ kwin5_plugin_buttonrebinds kwin5_plugin_colord kwin5_plugin_krunner kwin5_plugin_nightcolor
That's a different issue; please submit a new bug report for it, and also please provide clear steps to reproduce for how we can make it happen.