Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

4 rows, 5 cols, grow, and ctrl drop/resize #150

Merged
merged 22 commits into from
Jul 10, 2023
Merged

4 rows, 5 cols, grow, and ctrl drop/resize #150

merged 22 commits into from
Jul 10, 2023

Conversation

GrylledCheez
Copy link
Collaborator

No description provided.

* Add row option
Users can choose between 1 and 5 rows

* add ctrl+drag
Holding ctrl during a drag event will show the preview in the grid the mouse is in.
Very useful for grids with more than 2 rows.
monitorToLeft is now determined by the screen's x + width equaling the current monitor's x.
monitorToRight is now determined by the current monitor's x + width equaling the next monitor's x.

This can cause issues if you have 2 stacked monitors with a screen to the left or right that overlaps.
But that wouldn't work before anyway.

resolves #25
Describe the non-ultrawide cols and rows
only include required files
5 column mode acts just like 4 column mode except 1st maximize uses
the center 3 columns and will leave 1 column on either side

resolves #83
Use `<Super>`+`<Ctrl>`+`<Arrow>` to grow in that direction if there's room.
If no room is available, no action will be performed.
@GrylledCheez
Copy link
Collaborator Author

GrylledCheez commented Jul 3, 2023

  1. Add 1-4 row option
  2. Add 5 Col version
  3. Add <ctrl>+<Super>+<Arrow> will grow in that direction of there's room
  4. Reworded log messages for simplicity
  5. Add ctrl+drag to drop a tile to any grid
  6. While dragging a tile, hold <CTRL> and <SUPER> to create a start
    point for a preview. Now you can drag a window to be X cols wide by Y rows tall
  7. change the way neighbor monitors are found
  8. add row/Col option for ultrawide-only
  9. fix build.sh to only include necessary files for EGO

@GrylledCheez GrylledCheez changed the title Merge Develop into master 4 rows, 5 cols, grow, and ctrl drop Jul 8, 2023
@GrylledCheez
Copy link
Collaborator Author

@phavekes, what do you think?

While dragging a tile, hold `<CTRL>` and `<SUPER>` will create a start
point for a preview.  Now you can drag a window to be X cols wide by Y rows tall
@GrylledCheez
Copy link
Collaborator Author

@Fmstrat, I just added some cool new features. Let me know what you think.

@GrylledCheez GrylledCheez changed the title 4 rows, 5 cols, grow, and ctrl drop 4 rows, 5 cols, grow, and ctrl drop/resize Jul 9, 2023
@GrylledCheez
Copy link
Collaborator Author

@Fmstrat, can you at least give the 👀 to let me know you've seen it?

@phavekes
Copy link
Collaborator

phavekes commented Jul 10, 2023

@GrylledCheez I've tested the latest develop, but moving the windows with super-arrows breaks for me. This was working fine prior to this PR. Last tested commit with working super-arrows was 311fc16, I did not test when it broke

@GrylledCheez
Copy link
Collaborator Author

How is it broken?

@phavekes
Copy link
Collaborator

How is it broken?

The windows do not move if I press super+arrow. Only If i first use the mouse to move a window to a corner the super-arrow moves the window. Starting from another position, the windows do not move

@GrylledCheez
Copy link
Collaborator Author

Get some debug logs around the bad behavior.
If you can, do a bisect and find out what went bad.

@phavekes
Copy link
Collaborator

phavekes commented Jul 10, 2023

journalctl -qf | grep -i -e wintile -e 'js error'
jul 10 10:07:54 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:07:54 peter-laptop gnome-shell[4293]: [WinTile], sendMove) left ctrl: false
jul 10 10:07:54 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:07:54 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:07:54 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:07:55 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:07:55 peter-laptop gnome-shell[4293]: [WinTile], sendMove) right ctrl: false
jul 10 10:07:55 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:07:55 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:07:55 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:07:56 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:07:56 peter-laptop gnome-shell[4293]: [WinTile], sendMove) up ctrl: false
jul 10 10:07:56 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:07:56 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:07:56 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:07:56 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:07:56 peter-laptop gnome-shell[4293]: [WinTile], sendMove) left ctrl: false
jul 10 10:07:56 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:07:56 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:07:56 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:07:57 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:07:57 peter-laptop gnome-shell[4293]: [WinTile], sendMove) down ctrl: false
jul 10 10:07:57 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:07:57 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:07:57 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:08:01 peter-laptop gnome-shell[4293]: [WinTile], isResize) mask: 1 resize: false
jul 10 10:08:01 peter-laptop gnome-shell[4293]: [WinTile], windowGrabBegin) mouse - mouseX:818 mouseY:96
jul 10 10:08:01 peter-laptop gnome-shell[4293]: [WinTile], windowGrabBegin) window - x:309 y:88 w:1532 h:892
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid)
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid) isNotUltrawide: true
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid) mouse - mouseX:441 mouseY:0 mask:256
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid) keys - ctrl:0 superPressed:0
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid) monitor - x:0 y:0 w:1920 h:1080 inB:true
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid) space - x:38 y:27 w:1882 h:1053
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid) window - x:-68 y:27 w:1532 h:892
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid)
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid) isNotUltrawide: true
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid) mouse - mouseX:378 mouseY:17 mask:256
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid) keys - ctrl:0 superPressed:0
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid) monitor - x:0 y:0 w:1920 h:1080 inB:true
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid) space - x:38 y:27 w:1882 h:1053
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid) window - x:-131 y:27 w:1532 h:892
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], windowGrabEnd)
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], initApp) init as normal
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], initApp) app.wintile: {"origFrame":{"x":-131,"y":27,"width":1532,"height":892},"row":-1,"col":-1,"height":-1,"width":-1}
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], moveApp) {"row":0,"col":0,"height":1,"width":1,"mouse":true}
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], moveApp) isNotUltrawide: true
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], moveAppCoordinates) Moving window to (38,27), size (941,526) with 0px gaps
jul 10 10:08:02 peter-laptop gnome-shell[4293]: [WinTile], moveApp) window.x: 38 window.y: 27 window.width: 941 window.height: 526
jul 10 10:08:03 peter-laptop gnome-shell[4293]: [WinTile], checkIfNearGrid)
jul 10 10:08:04 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:04 peter-laptop gnome-shell[4293]: [WinTile], sendMove) right ctrl: false
jul 10 10:08:04 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:04 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:04 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Already in a tile.
jul 10 10:08:04 peter-laptop gnome-shell[4293]: [WinTile], {"origFrame":{"x":-131,"y":27,"width":1532,"height":892},"row":0,"col":0,"height":1,"width":1}
jul 10 10:08:04 peter-laptop gnome-shell[4293]: [WinTile], sendMove) right
jul 10 10:08:04 peter-laptop gnome-shell[4293]: [WinTile], sendMove) right - move
jul 10 10:08:04 peter-laptop gnome-shell[4293]: [WinTile], moveApp) {"row":0,"col":1,"height":1,"width":1}
jul 10 10:08:04 peter-laptop gnome-shell[4293]: [WinTile], moveApp) isNotUltrawide: true
jul 10 10:08:04 peter-laptop gnome-shell[4293]: [WinTile], moveAppCoordinates) Moving window to (979,27), size (941,526) with 0px gaps
jul 10 10:08:04 peter-laptop gnome-shell[4293]: [WinTile], moveApp) window.x: 979 window.y: 27 window.width: 941 window.height: 526
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], sendMove) down ctrl: false
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Already in a tile.
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], {"origFrame":{"x":-131,"y":27,"width":1532,"height":892},"row":0,"col":1,"height":1,"width":1}
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], sendMove) down
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], sendMove) down - move
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], moveApp) {"row":1,"col":1,"height":1,"width":1}
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], moveApp) isNotUltrawide: true
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], moveAppCoordinates) Moving window to (979,553), size (941,526) with 0px gaps
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], moveApp) window.x: 979 window.y: 553 window.width: 941 window.height: 526
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], sendMove) left ctrl: false
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Already in a tile.
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], {"origFrame":{"x":-131,"y":27,"width":1532,"height":892},"row":1,"col":1,"height":1,"width":1}
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], sendMove) left
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], sendMove) left - move
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], moveApp) {"row":1,"col":0,"height":1,"width":1}
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], moveApp) isNotUltrawide: true
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], moveAppCoordinates) Moving window to (38,553), size (941,526) with 0px gaps
jul 10 10:08:05 peter-laptop gnome-shell[4293]: [WinTile], moveApp) window.x: 38 window.y: 553 window.width: 941 window.height: 526
jul 10 10:08:07 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:07 peter-laptop gnome-shell[4293]: [WinTile], sendMove) up ctrl: false
jul 10 10:08:07 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:07 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:07 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Already in a tile.
jul 10 10:08:07 peter-laptop gnome-shell[4293]: [WinTile], {"origFrame":{"x":-131,"y":27,"width":1532,"height":892},"row":1,"col":0,"height":1,"width":1}
jul 10 10:08:07 peter-laptop gnome-shell[4293]: [WinTile], sendMove) up
jul 10 10:08:07 peter-laptop gnome-shell[4293]: [WinTile], sendMove) up - move
jul 10 10:08:07 peter-laptop gnome-shell[4293]: [WinTile], moveApp) {"row":0,"col":0,"height":1,"width":1}
jul 10 10:08:07 peter-laptop gnome-shell[4293]: [WinTile], moveApp) isNotUltrawide: true
jul 10 10:08:07 peter-laptop gnome-shell[4293]: [WinTile], moveAppCoordinates) Moving window to (38,27), size (941,526) with 0px gaps
jul 10 10:08:07 peter-laptop gnome-shell[4293]: [WinTile], moveApp) window.x: 38 window.y: 27 window.width: 941 window.height: 526
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], sendMove) up ctrl: false
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Already in a tile.
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], {"origFrame":{"x":-131,"y":27,"width":1532,"height":892},"row":0,"col":0,"height":1,"width":1}
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], sendMove) up
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], sendMove) up - top up
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], moveApp) {"row":0,"col":0,"height":2,"width":2}
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], moveApp) isNotUltrawide: true
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], moveAppCoordinates) Moving window to (38,27), size (1882,1052) with 0px gaps
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], moveApp) maximize
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], moveAppCoordinates) Moving window to (38,27), size (1882,1052) with 0px gaps
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], moveApp) window.x: 38 window.y: 27 window.width: 1882 window.height: 1053
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], sendMove) down ctrl: false
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Already in a tile.
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], {"origFrame":{"x":-131,"y":27,"width":1532,"height":892},"row":0,"col":0,"height":2,"width":2}
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], sendMove) down
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], sendMove) down - restore
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], restoreApp) move: true
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], restoreApp) app.wintile: {"origFrame":{"x":-131,"y":27,"width":1532,"height":892},"row":0,"col":0,"height":2,"width":2}
jul 10 10:08:09 peter-laptop gnome-shell[4293]: [WinTile], moveAppCoordinates) Moving window to (-131,27), size (1532,892) with 0px gaps
jul 10 10:08:10 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:10 peter-laptop gnome-shell[4293]: [WinTile], sendMove) right ctrl: false
jul 10 10:08:10 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:10 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:10 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:08:10 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:10 peter-laptop gnome-shell[4293]: [WinTile], sendMove) down ctrl: false
jul 10 10:08:10 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:10 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:10 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) down ctrl: false
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) down ctrl: false
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) down ctrl: false
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) left ctrl: false
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) left ctrl: false
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:11 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) up ctrl: false
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) left ctrl: false
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) down ctrl: false
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], ---
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) down ctrl: false
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) monitorToLeft: -1 monitorToRight: -1
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) isNotUltrawide: true
jul 10 10:08:12 peter-laptop gnome-shell[4293]: [WinTile], sendMove) Not in tile.

@GrylledCheez
Copy link
Collaborator Author

Are you able to drag and hold ctrl the release click?

@phavekes
Copy link
Collaborator

Dragging works fine, but a non-tiled window can not be sent to a tile position with keyboard only anymore. The logs show [WinTile], sendMove) Not in tile. at that moment

@GrylledCheez
Copy link
Collaborator Author

confirmed that this affects rows and columns of 2 on standard screens. I'll track it down

@GrylledCheez
Copy link
Collaborator Author

@phavekes, thanks for finding that. check b2dc121

@GrylledCheez
Copy link
Collaborator Author

GrylledCheez commented Jul 10, 2023

please check off these things as they work

  • keyboard moving
  • mouse moving around edges
  • ctrl+click and drag/drop
  • click drag, then ctrl+super and drag/drop
  • crtl+super arrow to grow in that direction
  • 1-5 rows

@GrylledCheez GrylledCheez merged commit ffce1b6 into master Jul 10, 2023
@GrylledCheez GrylledCheez deleted the develop branch July 10, 2023 09:01
@GrylledCheez
Copy link
Collaborator Author

@phavekes, next time do you think you could look at requests on Friday or Saturday?

That way I have time to fix them before I go to bed on Sunday.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants