Giter Site home page Giter Site logo

Comments (4)

franglais125 avatar franglais125 commented on June 8, 2024

Yeah, this is something I have experienced first hand. I'll try to look into it!

from no-title-bar.

franglais125 avatar franglais125 commented on June 8, 2024

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.

Deus-Rex avatar Deus-Rex commented on June 8, 2024

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.

franglais125 avatar franglais125 commented on June 8, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.