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

Flameshot still doesn't work under gnome 41.3 #2351

Closed
lxwulf opened this issue Feb 2, 2022 · 16 comments
Closed

Flameshot still doesn't work under gnome 41.3 #2351

lxwulf opened this issue Feb 2, 2022 · 16 comments
Labels
Unconfirmed Bug The bug is not confirmed by anyone else.

Comments

@lxwulf
Copy link

lxwulf commented Feb 2, 2022

Flameshot Version

Flameshot v11.0.0 (-)
Compiled with Qt 5.15.2
linux: 5.15.18-200.fc35.x86_64
fedora: 35

Installation Type

Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)

Operating System type and version

Fedora 35

Description

If I execute flameshot gui it takes just a screenshot from my full desktop and then a notification pop-up appears which says flameshot error: unable to capture screen....

Steps to reproduce

  1. install flameshot gui over package manager, in my case dnf
  2. execute flameshot gui in terminal or click on the icon and "Take screenshot" or "Open launcher"
  3. After screens "flashes" the "screenshot menu" from gnome appears and at the same time the error notification appears from flameshot

Screenshots or screen recordings

Screenshot from 2022-02-02 07-45-22

System Information

Screenshot from 2022-02-02 07-47-21

Screenshot from 2022-02-02 07-48-06

Using Wayland

@lxwulf lxwulf added the Unconfirmed Bug The bug is not confirmed by anyone else. label Feb 2, 2022
@mmahmoudian
Copy link
Member

Do you by any chance have unicode characters in your XDG_PICTURES_DIR? I'm asking because of #2211

@lxwulf
Copy link
Author

lxwulf commented Feb 2, 2022

Yes, i thought you would ask but no i didn't have it. Sorry, i missed to mentioned it in my issue.

My path: /home/lxwulf/Pictures

I didn't changed anything so this should be the standard path as i know.

@mmahmoudian
Copy link
Member

mmahmoudian commented Feb 2, 2022

I'm not 100% sure if you would need them but just in case, can you check if you have the xdg-desktop-portal and xdg-desktop-portal-gnome installed?

@lxwulf
Copy link
Author

lxwulf commented Feb 3, 2022

Yes, i have it. Sorry for the late answer.

Screenshot from 2022-02-03 14-32-19

@borgmanJeremy
Copy link
Contributor

The best way you can help resolve this issue is to find a way to reproduce it in a clean VM (or clean install). The problem is it works for all the dev's so there really isnt anything we can do to assist.

@lxwulf
Copy link
Author

lxwulf commented Feb 8, 2022

I agree. I tried it out – it worked fine. But I also did a reinstallation of flameshot in my machine, which didn't help. Are there some configuration files left over which I could delete?

@mmahmoudian
Copy link
Member

@lxwulf

Are there some configuration files left over which I could delete?

These are what I got

fd --exclude "tmp/" --exclude ".local/" --exclude "Pictures/" --exclude ".mozilla/" --hidden flameshot
.cache/flameshot
.cache/tldr/pages/linux/flameshot.md
.cache/paru/clone/flameshot-git
.config/flameshotrc
.config/flameshot
.config/flameshot/flameshot.ini

You can safely ignore whatever in my .cache/

@lxwulf
Copy link
Author

lxwulf commented Feb 13, 2022

Sadly, this didn't work. Is there any function to output verbose debugging messages from flameshot?

@mmahmoudian
Copy link
Member

We don't have a good logging or verbosity implemented unfortunately. However, you can try killing all instances of Flameshot, then open two terminals, in one run flameshot and in the other flameshot gui. It output certain errors in the first terminal.

Anyways, I would also like to suggest you to try the AppImage as well and see if that works. It can points to the direction of missing some sort of dependency.

@borgmanJeremy
Copy link
Contributor

Im going to close this until more details on how to reproduce it can be added.

@lxwulf
Copy link
Author

lxwulf commented Feb 22, 2022

@borgmanJeremy okay, why not but it is hardly to debug there are no error message which can help even with @mmahmoudian tip with the two window...

I tried to reinstall it several times, deleted configs - nothing helped...

I dont know how to deliver more infos; i would but yah...

@lxwulf
Copy link
Author

lxwulf commented Feb 26, 2022

@borgmanJeremy @mmahmoudian

Update: Also, the flatpak version doesn't work anymore at my system, at least. Would be there any difference when I build the application from source?

Greets LxWulf

@mmahmoudian
Copy link
Member

Would be there any difference when I build the application from source?

I don't think building from source would help, but trying it out would only take about 2 minutes, so nothing to lose there. You can find instructions here:

https://flameshot.org/docs/installation/source-code/

Also try the AppImage.

This issue is peculiar. We don't know under what circumstances it didn't work on your computer and we cannot replicate it.

@lxwulf
Copy link
Author

lxwulf commented May 29, 2022

Somehow that didn't work either. By chance, I had to reinstall my Fedora system anyway, and still I don't want to have to do it without flameshot. So on which should I install it? What is the best method? Flatpak? DNF? Appimage?…

Greets LxWulf

PS: Yes, after that, you will never be heard from me on that specific ticket.😉

@mmahmoudian
Copy link
Member

mmahmoudian commented May 30, 2022

I at least can't tell. You can try Flatpak. The thing is Wayland support is not fully there yet.

@lxwulf
Copy link
Author

lxwulf commented Jun 3, 2022

Ah okay so then I would wait for the fully wayland support. I try the flatpak version I think that one is the "secured" package which should not make that much problem with possible dependency or something else.

I do like to report again when I find something. 😊✌️

Greets LxWulf

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Unconfirmed Bug The bug is not confirmed by anyone else.
Projects
None yet
Development

No branches or pull requests

3 participants