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

Pressure trigger #12

Open
gaussandhisgun opened this issue Oct 28, 2023 · 3 comments
Open

Pressure trigger #12

gaussandhisgun opened this issue Oct 28, 2023 · 3 comments
Labels
good first issue Good for newcomers help wanted Extra attention is needed

Comments

@gaussandhisgun
Copy link

Some things, like Dash To Dock, require you to "push" onto the screen edge (as in, actively move your mouse directly into the screen edge) to activate. This is useful for possible things that require you to idk click onto the screen edge or something. I haven't actually seen any apps do that for the bottom edge, but i know virt-manager does exactly this for the top - you need to hover the top edge to see the Unfullscreen button, but as it is now, your extension shows the status bar instead. Maybe we can get some kind of push trigger, so user can tap lightly onto the edge to see the virt-manager's things or mash the mouse hard to show the status bar?

@marcinjahn
Copy link
Owner

Hi,
Right, I’d definitely be open to see someone contribute to add that option, probably as a configurable setting. At the moment, the „pressure” needed to activate the top bar is hardcoded, and it is at a rather low value, so it could interfere with other apps that have higher pressure configuration.

So, if someone is up to it, feel free to submit a PR, it shouldn’t be too much work. Otherwise I’ll probably add it myself, but it might not be too quick for me to find a free moment.

@marcinjahn marcinjahn added help wanted Extra attention is needed good first issue Good for newcomers labels Oct 28, 2023
@gaussandhisgun
Copy link
Author

oh, right, there is a pressure trigger in the sources, but from what i see by force setting it to 200, even if it is on, the apps that would rely on you hitting the top edge with your mouse - like, fullscreen Firefox - will still refuse to register that. 🤔

@marcinjahn
Copy link
Owner

Hmm, maybe there is some kind of priority configuration, although I doubt there is.

Probably it’d be a good idea to check some other extensions that add edge triggers, and verify if they have the same issue. I remember there was this one extension that allows you to configure every edge and corner of your desktop to trigger some specified actions, it had lots of configuration options. Unfortunately, I don’t remember its name at the moment, I’ll try to find it later.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants