Hey devs !
I have some bad news, I appear to have a critical, reproducible bug. Apparently every time I select an area to take a shot, if after drawing the box I press "escape" the system freezes and I can't do anything beside ctrl+alt+delete to restart the gui. I know I had crashes from time to time but this makes it really unusable for me.
I'm on Ubuntu 16.04 and flameshot --version returns Flameshot v0.5.0-51-g248c446 ; Compiled with QT 5.5.1
What logs should I provide to help resolve this issue ?
What's your desktop environment?
Out of the box unity I guess. I have installed other DE to test them and them tried to remove them, so my unity is probably a bit altered but I'd VERY surprised that's the cause.
I have to add that I have had this problem for a while. It's not very recent.
Did you update Flameshot right before it started to cause this error? I you didn't that could be caused by other component in the system.
If Flameshot had this kind of bug it would have been reported before. The Escape shortcut just closes the widget and nothing more. It could be a bug somewhere in the DE, a simple bug in a program shouldn't cause such a serious repercussion in your system just closing a widget.
I don't know about the update.
I guess you're right. I'll try reinstalling it just in case. Do you have any idea what logs I should check if it's my unity install ?
I'm sorry but I don't know much about Unity, I've used it a few times just to test Flameshot on Ubuntu :(
I'm closing the issue as I can't reproduce. Just let me know if you find something of interest so I can find if it's a bug in Flameshot.
Hum. Sorry for disturbing you again but I was trying to reinstall it and I don't know exactly how I installed flameshot as it was a while ago but I can't seem to be able to remove it first.
Neither sudo apt(or apt-get) remove flameshot nor dpkg -r flameshot finds it.
dpkg --list|grep flame returns nothing and which flameshot returns /usr/local/bin/flameshot. Do you have any idea what happenned ?
You probably did a make install after a manual compilation.
If you want to remove the package (in case you installed it with make) you have to generate the makefile without with qmake and run sudo make uninstall.
Same issue here: i select a region and press escape to get a freeze. And it was also there when I tested it 1-2 months ago. I have tried this many times and got the issue many times easily [about one in 10 to 20 times issue comes] but could not get any clue to reproduce it as it is very random. Though it happens more on first launch after log in/restart. happened with older version too present in repo when i checked it 1-2 months ago. And I never compiled it but used default repo and appimage/deb from github.
But today I caught it red handed using Flameshot-0.8.5.x86_64.AppImage:

here, i pressed escape and then only cursor is moving, i put the cursor over various options and pressed right and left clicks without effect and then i quit by ctrl-alt-backspace.
Linuxmint 19.3 xfce 64bit.
I reproduce it this way in simple steps: press ctrl-alt-backspace, select a region by flameshot, press escape.
If I do above steps repeateadly 10 times, I get the issue usually at least one time. Thats the rough probability of it.
Linuxmint 19.3 xfce 64bit.
Most helpful comment
You probably did a
make installafter a manual compilation.If you want to remove the package (in case you installed it with make) you have to generate the makefile without with
qmakeand runsudo make uninstall.