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

New Feature: Show Toolbars Only When The Mouse Hovered In #42

Open
mistgc opened this issue Feb 7, 2024 · 15 comments
Open

New Feature: Show Toolbars Only When The Mouse Hovered In #42

mistgc opened this issue Feb 7, 2024 · 15 comments

Comments

@mistgc
Copy link
Contributor

mistgc commented Feb 7, 2024

The toolbars don't display if the mouse doesn't hover in the app window.

And show the toolbars when we hover in.

@gabm
Copy link
Owner

gabm commented Feb 7, 2024

thank you for that idea.. could you explain what we try to achieve with this feature?

@mistgc
Copy link
Contributor Author

mistgc commented Feb 7, 2024

Ha-ha.
Imagine a scenario where a programmer is writing code while looking at other people's code snippets.
Like this:
image

@mistgc
Copy link
Contributor Author

mistgc commented Feb 7, 2024

We could pin some screenshots on the screen.

@gabm
Copy link
Owner

gabm commented Feb 7, 2024

okay, so an image viewer-like functionality? isn't that what image viewers like imv are for?

@mistgc
Copy link
Contributor Author

mistgc commented Feb 8, 2024

While this is true, we can add annotations to the image.

@gabm
Copy link
Owner

gabm commented Feb 9, 2024

okay.. well I think there is nothing wrong with hiding the toolbars on demand. I would prefer a shortcut for this, like Ctrl-T for "toggle toolbar" or something like this.

I must say that I am a big fan of explicit behaviour (shortcut/button toggles toolbar) and not dynamic behaviour (mouse hover toggles toolbar). Further I think that should be "opt-in" .. not the default behaviour. There might be a setting "hide-toolbar-on-startup" or something similar..

I am happy to accept PRs

@mistgc
Copy link
Contributor Author

mistgc commented Feb 14, 2024

I implemented the basic functionality #45 , but there isn't support for configuration.

@mistgc
Copy link
Contributor Author

mistgc commented Feb 14, 2024

Now, it supports configuration 6fb3d68.
However, it doesn't support hovering to show toolbars yet.

@KAGEYAM4
Copy link

KAGEYAM4 commented Feb 20, 2024

What are your thoughts on Krita like toolbar which gets opened using right-mouse-button ?

image

@mistgc
Copy link
Contributor Author

mistgc commented Feb 21, 2024

I think most people find this very convenient, but for users who frequently use keyboard shortcuts (such as Window Manager, Vim-like Editor, Emacs), it is not convenient.

@KAGEYAM4
Copy link

You're right, Plus it's will increase development time which would be wasteful as this dosen't offer much as keyboard based implementation will still be there plus the hovering toolbar.

@alteriks
Copy link

I like the way that flameshot took. 'toolbar' is outward of the image.
image
Buttons reflow if the selection was made near the screen edge.
image

@gabm
Copy link
Owner

gabm commented Feb 22, 2024

how does it work when you want to edit the fullscreen image, e.g. without crop?

@alteriks
Copy link

It's been ages since I took fullscreen shot. Using flameshot screen asks only about saving file. I don't recall if you could edit fullscreen shot after it had been taken.

@gabm
Copy link
Owner

gabm commented Feb 23, 2024

the first basic functionality has been released as https://github.com/gabm/Satty/releases/tag/v0.10.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants