Aetf / kwin-maxmize-to-new-desktop

KWin script that moves fullscreened window to a new virtual desktop
BSD 2-Clause "Simplified" License
55 stars 20 forks source link

debian no effect #15

Closed kuangke9527 closed 2 years ago

kuangke9527 commented 2 years ago

It has no effect in debian. Please how should I solve the problem

Aetf commented 2 years ago

Please provide information otherwise I can't help you.

First, make sure you are using the correct trigger:

Note: The default behavior is triggered by window FULLSCREEN, not the normal maximize. Window fullscreen can be enabled by right clicking on the window decoration -> More Actions -> Fullscreen.

With that out of the way, please provide the following if the issue persists:

kuangke9527 commented 2 years ago

I am running in a virtual machine。Below is the information you need kwin version 5.20.5 kwin-maximize-to-new-desktop version 0.2.4 debian kernel 5.10.0-10-amd64 kwin_x11 --replace

OpenGL vendor string:                   Mesa/X.org
OpenGL renderer string:                 virgl
OpenGL version string:                  3.1 Mesa 20.3.5
OpenGL shading language version string: 1.40
Driver:                                 Virgl (virtio-gpu, Qemu/KVM guest)
GPU class:                              Unknown
OpenGL version:                         3.1
GLSL version:                           1.40
Mesa version:                           20.3.5
X server version:                       1.20.11
Linux kernel version:                   5.10
Requires strict binding:                yes
GLSL shaders:                           yes
Texture NPOT support:                   yes
Virtual Machine:                        yes

qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 2664, resource id: 33554609, major code: 18 (ChangeProperty), minor code: 0
Cyclic dependency detected between "file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml" and "file:///usr/lib/x86_64-linux-gnu/qt5/qml/org/kde/kirigami.2/styles/org.kde.desktop.plasma/Units.qml"
qt.svg: <input>:406:376: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:407:130: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:408:130: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:408:393: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:409:130: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:410:129: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:411:129: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:412:129: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:413:129: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:413:379: Could not add child element to parent element because the types are incorrect.
qt.svg: <input>:413:631: Could not add child element to parent element because the types are incorrect.
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 10401, resource id: 73400336, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 12470, resource id: 33554611, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15484, resource id: 73400477, major code: 19 (DeleteProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15497, resource id: 73400477, major code: 19 (DeleteProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15498, resource id: 73400477, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15499, resource id: 73400477, major code: 19 (DeleteProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15500, resource id: 73400477, major code: 19 (DeleteProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15501, resource id: 73400477, major code: 19 (DeleteProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15502, resource id: 73400477, major code: 7 (ReparentWindow), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15503, resource id: 73400477, major code: 6 (ChangeSaveSet), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15504, resource id: 73400477, major code: 2 (ChangeWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 15505, resource id: 73400477, major code: 10 (UnmapWindow), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18354, resource id: 73400486, major code: 19 (DeleteProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18367, resource id: 73400486, major code: 19 (DeleteProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18368, resource id: 73400486, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18369, resource id: 73400486, major code: 19 (DeleteProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18370, resource id: 73400486, major code: 19 (DeleteProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18371, resource id: 73400486, major code: 19 (DeleteProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18372, resource id: 73400486, major code: 7 (ReparentWindow), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18373, resource id: 73400486, major code: 6 (ChangeSaveSet), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18374, resource id: 73400486, major code: 2 (ChangeWindowAttributes), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 18375, resource id: 73400486, major code: 10 (UnmapWindow), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 19649, resource id: 12582920, major code: 18 (ChangeProperty), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 23273, resource id: 71303179, major code: 18 (ChangeProperty), minor code: 0
Aetf commented 2 years ago

Is that the full log? The script isn't loaded at all, otherwise, there'll be relevant entries in the log similar to the following

js: KWinMax2NewVirtualDesktop: Handler installed

Please check it is correctly installed and actually enabled in the system settings, then rerun kwin_x11 --replace and try to maximize some window and see if there's anything starting with js: KWinMax2NewVirtualDesktop: in the output.

kuangke9527 commented 2 years ago

May be a system problem. I gave up. Thank you.