Comments (7)
Hmm. A libwnck
bug would make sense but the whole reason I switched to libwnck was because the GDK approach also has bugs.
(When tiling applications like LibreOffice which set a non-default window gravity, using GDK to reposition gets a similar but more severe offset on all desktop environments unless you write a ridiculous amount of raw X11 code to detect it so you can fudge your positioning request to counteract it.)
If you consider that an acceptable trade-off, I can try adding an option to the config file to opt into using GDK for repositioning. Otherwise, I can only see two potential solutions:
- Get someone to patch libwnck for GTK+ 2.x to fix the problem.
- Wait for me to get caught up on my backlogged life enough to port this to GTK+ 3.x where, with luck, libwnck will be less buggy.
from quicktile.
I was unable to get it working using GDK without a hack. The hack can be seen in the pull request that I just made.
from quicktile.
For records cross-referencing, that's #55
from quicktile.
Sorry, I might have made a bunch of pull requests. I thought that there was a confirmation page before you submit the pull request. (I should have done compare first) Anyways, you can look at what I've done in the latest. As the commit says, I used a global variable. That way, the function signatures remain unchanged and you won't have to do much to remove the hack if you choose to add it in the first place. As the commit also says, unity has keyboard shortcuts that I just found which duplicates a lot of the functionality of quicktile.
http://askubuntu.com/questions/28086/what-are-unitys-keyboard-and-mouse-shortcuts
If you are going to rewrite the code for gtk3, then there's probably no need to add my unity hack. You definitely won't be hurting my feelings! I just thought you might want to know this info.
from quicktile.
I'll take a look at it anyway as soon as I can spare the time. I'm not sure how long it'll be before I can make room for the GTK+ 3 porting work.
from quicktile.
There's a GTK+ port now in the gtk3_port
branch which uses libwnck 3.x.
If you're still listening, please test it and let me know if the problem is still present.
(And sorry for letting things fall to pieces for half a decade.)
from quicktile.
Closing for lack of response after two months.
from quicktile.
Related Issues (20)
- Incorrect Monitor Geometry HOT 4
- move-to-{top,left,right,bottom} behavior changed in 0.4.0 HOT 8
- Overlapping windows when positioning vertically on Ubuntu 20.04 HOT 25
- Quicktile is not detecting IceWM taskbar HOT 12
- Currently unpredictable state cycling, suggest replace with much simpler logic, gains predictability and cognitive comfort. HOT 1
- PackageNotFoundError in Manjaro after last pacman update HOT 2
- Display a warning if ModMask and per-binding modifiers overlap in potentially confusing ways HOT 8
- Restore the previous window's size & position before tiling. HOT 8
- Skipping the 1/2 width option HOT 3
- While using "right" or "center" command on with external monitor, the windows switch to the next monitor HOT 21
- External keyboard, "Right" keyboard binding breaks HOT 14
- Control-C on `quicktile --daemonize` can hang X on LXDE HOT 1
- No errors and no funcionality on Ubuntu 20.04 HOT 1
- Bug detected - A programming error has been detected during the execution of this program HOT 4
- Failed to load module "xapp-gtk3-module" HOT 5
- Move window to other workspace HOT 4
- 3 columns layout, but gap between left and center HOT 6
- Xfwm4 integration / size restoration HOT 3
- Release a new version. Please. HOT 3
- emacs windows don't tile to edge of screen. HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from quicktile.