Comments (4)
Yeah, this is something I have experienced first hand. I'll try to look into it!
from no-title-bar.
Could you give this branch a try? While it seems to be working for me, I'd love to get some more feedback before including this in master.
https://github.com/franglais125/no-title-bar/tree/dragOnPanel
from no-title-bar.
It works perfect if the window that has focus isn't maximised. So for single screen workspaces, I believe this patch is successful and worth merging.
However, if you have two screens, and your focused window is maximised on second screen, then you try to drag the primary monitors maximised application using the topbar, then it will not work.
I also tested having two applications taking half of the screen each on a single monitor. Dragging the inactive window doesn't work with this scenario. This is never something I'd do nor care much for or need, just bringing it to attention. I'd guess that this would be tricky to have a solution for, though I'm not aware of what Gnome exposes, or what tricks you could do. A hacky method could be to detect split windows then capture mouse position? Mouse position being at either half of the screen will indicate which window is being selected, I reckon.
Overall, this is great and I thank you for this. While it doesn't completely fulfil my needs, I am sure it is still perfect for many that will appreciate it also. It works well otherwise.
from no-title-bar.
However, if you have two screens, and your focused window is maximised on second screen, then you try to drag the primary monitors maximised application using the topbar, then it will not work.
Ah, good point! Thanks for pointing this out :). This is the very reason I need testers, I'll see what i can do.
I also tested having two applications taking half of the screen each on a single monitor. Dragging the inactive window doesn't work with this scenario. This is never something I'd do nor care much for or need, just bringing it to attention. I'd guess that this would be tricky to have a solution for, though I'm not aware of what Gnome exposes, or what tricks you could do. A hacky method could be to detect split windows then capture mouse position? Mouse position being at either half of the screen will indicate which window is being selected, I reckon.
This is something that I did consider, but it would be rather messy to have, as you guessed. I'd rather have the inconvenience of being able to drag only the (snapped) focused window, than introduce a convoluted logic that will inevitably end up introducing bugs.
Anyway, thanks a lot for the attention to detail. I'll try to improve on this! If someone comes up with patches, that's for sure welcomed.
from no-title-bar.
Related Issues (20)
- Blacklist mode is broken
- [BUG] Object St.BoxLayout (0x55c133893030), has been already deallocated HOT 1
- Add Window title as an indicator for 3.32 support
- Does not properly uninstall HOT 1
- Make compatible with Multi Monitors Add-On
- gnome 3.30.2 crashed because of no-title-bar
- Continues to remove some title bars after being disabled HOT 1
- Would it be possible to "bundle" window buttons with app menu / tile HOT 3
- Window control buttons change position after each reboot but option description within config stays the same :(
- Window control buttons missing for Evolution HOT 1
- Request to use _MOTIF_WM_HINTS since _GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED is removed HOT 2
- Broken in GNOME 3.32.0 HOT 14
- Close button can be clicked with just mouseup (wayland only)
- Stopped removing title bar on Ubuntu 19.04 HOT 2
- Not working with some applications such as Blender. HOT 1
- Not remove title bar for snapped windows
- Ubuntu 20.04: the window control buttons won't move
- After waking from sleep, title bar is hidden but window size is offset HOT 1
- Error: "No JS module 'tweener' found in search path" on Ubuntu 20.10 HOT 2
- buttons and theme
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 no-title-bar.