Currently flameshot provides a simple implementation of image pinning. However, this implementation is quite simple. Once the image is pinned, it floats at the top of the desktop and can be dragged around, but that's basically everything. In order to close this pinned image, one will have to use the "Esc" key or double click on the image. Otherwise the only possible way is to close from the window list. This is not friendly to tablet users who have limited access to the keyboard.
I think the following improvements can be made:
This sounds like a great idea.
Will right click work well on tablets? We have gotten a fair amount of feedback when features do not work well on touch interfaces. Perhaps a long press would activate it?
For demonstrating the new features I think we can tie in a "Tip of the Day" to the welcome screen @mmahmoudian is working on.
1: I had some touchscreen laptops in the past; at least on Windows a long press will be automatically interpreted as right click.
2: That looks too heavy to me. We are not a full-featured IDE with tip-of-the-day window on startup...
Okay lets start working on just the menu part and for the tip of the day stuff we can discuss on #887
I myself didn't know that double click works on pinned image.
it is clear that we suffer from poor documentation. the website should be also re-structured to have a dedicated section for UI and CLI.
About tip of the day, I agree that might be over-doing it, but I can also see some merits in it. The main question is how heavy would it get it we implement that in the welcome screen? if there is a dedicated box to show two lines of text randomly chosen from a pool.
About the advanced features of Pin tools:
@ZetaoYang I have flameshot-git (r576.f34def6-1 AUR) installed and none of the things you mentioned worked:
@ZetaoYang I have flameshot-git (r576.f34def6-1 AUR) installed and none of the things you mentioned worked:
- right-click did not bring up any tools (double-right-clicking closed the pined window)
- drag and drop didn't work from Firefox and Pinta
- mouse wheel change the zoom (this is also something I didn't know), but no percentage were shown anywhere
I mean new features that flameshot can add in the future.
@ZetaoYang 馃槄 seems I got too excited too early
I and others from #554 want a way to remove border. It is implemented in #622 but we did not find a good way so far to introduce such setting except adding a separate option in the app settings. Preferably without the need to set it manually for each pin every time. It is not possible to add it in the side panel via a tool-specific widget like for Text because pin activates immediately. And using the global thickness value is not ideal too because then we would need to adjust it all the time when choosing other tools.
I just realized that you cannot pin the image if the "close after capture" is on. Reported it as a [logical] bug in #964
About the advanced features of Pin tools:
- right-click to bring up the editing tools back.
- accept external image drag and drop to replace the pinned image.
- when the mouse wheel is scrolling and zooming, the pin widget shows the zoom percentage on the top left corner of the image.
What about having a command like flameshot pin <file> to pin from a file? I tried to do this once but (as expected from someone that doesn't know C/C++ and Qt) I couldn't make it work.
@Pauloo27 Two points here:
I just discovered this whole feature by reading this github issue section, even though I use flameshot on a daily basis since a couple of years haha. :rofl:
Allow right click on the pinned image; a menu should pop out giving options to close the pinned image or save it as an image file on disk.
Document the usage of pin tool somewhere. I doubt users ever know the behavior of "double click to close".
I see several possibilities :
What about having a command like
flameshot pin <file>to pin from a file? I tried to do this once but (as expected from someone that doesn't know C/C++ and Qt) I couldn't make it work.
@Pauloo27 @mmahmoudian A corollary of this is proposed over at #1100, in a way that I feel is more productive than exposing the pin tool specifically.
Also saving + re-openning file is less convenient than just clicking the Pin tool.
@AlexP11223 Funny, I was just writing up a border-removal proposal in a seperate issue. Thanks for your contribution!
I'm now realizing this might have been a communication issue, though. I didn't mean for my comment here to be part of https://github.com/flameshot-org/flameshot/pull/622#issuecomment-697641235, I was just trying to say that it would effectively deliver what @Pauloo27 was describing in a way that might alleviate @mmahmoudian's concern that we'd be reducing flameshot to an image viewer.
NGL, it was kinda a weird decision to roll #622's discussion in here, since the challenges there are specific to that PR, and don't appear directly related to the issue topic, which seems to be more about improving the pin tool's docs and expanding flameshot's capabilities after an image has been pinned.
Most helpful comment
@Pauloo27 @mmahmoudian A corollary of this is proposed over at #1100, in a way that I feel is more productive than exposing the pin tool specifically.