-
-
Notifications
You must be signed in to change notification settings - Fork 35
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
Edit disabled in Shutter #597
Comments
Probably some dependency is missing, please post the output which you get, when you run Shutter from terminal. |
Please see below from terminal. Thank you.
|
|
seems odd indeed. Not sure why shutter wants to load fotoxx icon. But I have installed fotoxx a long time ago and shutter worked last week very good... |
Anyone can help please? |
What shutter version is this? The only reason why I can imagine Edit button being disabled is if you have some dependency missing, but these days it same deps are required not just for editor, but for shutter in general. Maybe you didn't select any image? |
No, that's not the case. I frequently work with it. And usually after I take a screenshot I immediately need to edit it. But suddenly I wasn't able to edit. Not sure what may have interfered. |
Maybe we can get some hint from the update logs? Were there some package updates just before the problem started appearing? |
does this help?
|
Well, at least we now know that we deal with version 0.99.2 which is slightly outdated (but still shouldn't make such problems). What I meant was the complete log for the period of time where the issue started appearing, as it might be some dependency which got updated and lead to the issue. @DarthGandalf Maybe we should add the version info to Shutter's output, so we don't rely on the users' statements and/or package manager info? |
That worked last time on the 4th of July. Would you like me to send you the history updates log since then? |
Between 4th of July and 17th of July (or an earlier date, if you can narrow it down to some, when it has first happened). |
Whould I paste it here or send it as a file? |
As you prefer! You can also use https://pastebin.com/ for long snippets. |
I have added it here: https://pastebin.com/34uY8LcD Thank you and I hope it helps. |
The update that started at 2023-07-17 17:30:57 was just a few minutes before your bug report at 2023-07-17 17:55. Do you by chance remember, if the problem appeared within this 25 minutes window and thus is caused by this update, or if it has been there prior to this update? |
The actions on 17/07 are a consequence of shutter not working. You may notice in the log that I have firstly removed shutter (trying to make it work I also tried to re-install it) on Start-Date: 2023-07-17 17:27:31 and then re-installed it on Start-Date: 2023-07-17 17:28:06 The first time I noticed that shutter was not working between 04/07 and 17/07 was on 17/07 17:18:29 when I have tried to make a screenshot and edit it noticing the button is inactive and the whole menu with it |
I see no suspicious package in the log... Does it make a difference, if you move |
I have removed the |
Sorry for the late reply. What about trying to use version 0.99.4? It requires no installation, just download the archive from https://github.com/shutter-project/shutter/archive/refs/tags/v0.99.4.tar.gz and run the Shutter executable from the unpacked directory. Also, you would have to install |
@mateimm It is in the ./bin subfolder! 😃 |
Can you please run it from terminal? Just edit: And then, of course, paste the output. |
@mateimm Another missing dependency which I forgot: |
I have installed it and now the message changed:
|
This time you need |
Maybe those were uninstalled when I unsintalled the 0.99.2 which I did before testing this version we do now. $ ./shutter |
Yes, it does now getting active. |
Thank you for your help and patience with me. Please let me know what to do next to keep it working |
Ok, but it didn't get active with
? |
On my installed version 0.99.2 it is still not active. It is active only if I run it from the location you gave me and we already tested. Do you want me install it from https://github.com/shutter-project/shutter/releases/tag/v0.99.4 ? |
Yes, just unpack the .tar.gz in some folder again, no installation needed! |
I did that now and on 0.99.4 (I guess we tested that already yesterday) the button is not active. |
it only is active on this that we tested yesterday |
Ok, that's weird, so to be 100% sure, if you select a thumbnail or switch to some particular screenshot's tag, the edit button is not getting active in 0.99.4? |
no, in 99.4 it is not active. Would you like me to do a short video? |
No, that's fine! I think, I have an idea, what is going on here. I'll make another test in a minute! |
In the mean time, could you please test the current git? https://github.com/shutter-project/shutter/archive/refs/heads/master.zip |
Just tested the current git and it does not make the Edit active :( |
Ok, please check https://github.com/shutter-project/shutter/archive/refs/heads/Photon89-debug-597.zip It should hopefully work. |
yes! this works. |
Ok, so the origin of the problem is that Shutter tries to find apps which can open images for the "Open with" menu. For some reason it fails on your machine. I had similar problems in a flatpack which is currently being worked on in #594 So I am wondering, if you have some environment similar to a sandbox where accessing other apps is problematic? |
Anything close to a sandbox that I am using is the Linux Mint Web Apps. But that's based on a browser. |
I fear, I'm out of ideas for now... @DarthGandalf Do you have ideas, why this master...Photon89-debug-597 (removing the @mateimm Unfortunately, we cannot just remove this in master because then all users will loose the "open with" functionality... |
No problem. I will keep the file that's working for me and, if you tell me where exactly to put it, I will use it to replace the current installed version so that I have a working shutter. Also, in the near future I plan to re-install (or maybe do a vbox install replicating my current machine state and test there with the repo version 0.99.4) my Linux Mint to see the result. But until then, I would be happy to use the patch you created that works for me. |
My only guess is that You can put the file into |
I have actually an idea how to solve the problem without killing the "open with" functionality on machines where it is working. Could you do a last test? Same link: https://github.com/shutter-project/shutter/archive/refs/heads/Photon89-debug-597.zip |
I have tested this and it works |
For some reason due to Glib::IO::AppInfo::get_recommended_for_type failing to determine recommended apps for the "Open with" menu switching the edit button to sensitive fails. Checking $apps for being undefinied leaves the user without apps in the "Open with" menu but keeps the edit button enabled.
Great, thanks for the extensive testing! 😃 |
Thank you for helping me and for your patience 💯 |
Well, at some point there will be a release including the various fixes accumulated so far. For the moment you'd have to substitute |
Fix #597: The edit button is disabled
Hello,
I am using Linux Mint 21.1 Cinnamon and lately the Edit button in Shutter became disabled. Can you please help?
Thank you
The text was updated successfully, but these errors were encountered: