Git Product home page Git Product logo

Comments (3)

wash2 avatar wash2 commented on September 26, 2024 1

Not sure if this should be intended behavior or not.

Ya, this is intended behavior. Panels that aren't extended avoid absorbing input except over the actual rectangle of the layer surface that has applets. Personally, I like it this way because it helps avoid activating or persisting the panel when I don't mean to. but I'm open to changing it if it's a better experience for other people. I think it is a bit awkward if the pointer is over another application but inadvertently interacting with an invisible portion of the open dock or panel though.

from cosmic-panel.

ryanabx avatar ryanabx commented on September 26, 2024

Ya, this is intended behavior. Panels that aren't extended avoid absorbing input except over the actual rectangle of the layer surface that has applets.

Oh yeah, aside from this issue, there's another issue related to the layer surface -- with the panel moving back down if you move the cursor to the bottom edge while the panel is up (#149) I was going to look at it myself but the panel code is still an ongoing mystery to me

Personally, I like it this way because it helps avoid activating or persisting the panel when I don't mean to. but I'm open to changing it if it's a better experience for other people. I think it is a bit awkward if the pointer is over another application but inadvertently interacting with an invisible portion of the open dock or panel though.

Understandable, it might be more suitable having the whole bottom edge act as a trigger for opening the panel but not the area above it for keeping it open -- so you'd have to move the mouse to the panel anyways to keep it open, no invisible hitboxes. Having a solid trigger on the bottom edge might also fix the layer surface issue mentioned above, because my guess as to what triggers it is that the layer surface doesn't fully extend to the very bottom edge of the screen

from cosmic-panel.

wash2 avatar wash2 commented on September 26, 2024

Having a solid trigger on the bottom edge might also fix the layer surface issue mentioned above

Maybe but the panel can really only receive input in layer surface. It could create a thin strip at the bottom when it is configured for autohide that is always included as an input region, and create a region for the entire extent of its surface when at least partially hidden. It probably wouldn't fix the issue you mentioned above though. I'll have to look into that issue a bit more. It would probably have to adjust the input region depending on whether or not it is currently transitioning to hidden or visible if partially hidden.

from cosmic-panel.

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.