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

XDG_CURRENT_DESKTOP should not be used as a compositor capability check. #3850

Open
averageluadev opened this issue Feb 20, 2025 · 2 comments
Labels
discussion Waiting For Info Addressing the issue or merging the PR is halted and we are waiting for more info to be provided.

Comments

@averageluadev
Copy link

Flameshot Version

current version

Installation Type

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

Operating System type and version

arch latest release 64 bit

Description

flameshot uses XDG CURRENT DESKTOP to check compositor capability
it should not do this

Steps to reproduce

No response

Screenshots or screen recordings

No response

System Information

thinkpad t490s screen
sway / wayland or arch

@averageluadev averageluadev added the Unconfirmed Bug The bug is not confirmed by anyone else. label Feb 20, 2025
@mmahmoudian
Copy link
Member

@averageluadev can you provide:

  1. Why? Are there any references you can cite so we can read them and have a better understanding about this?
  2. A suggestion or alternative approach that can be used.

@mmahmoudian mmahmoudian added Waiting For Info Addressing the issue or merging the PR is halted and we are waiting for more info to be provided. discussion and removed Unconfirmed Bug The bug is not confirmed by anyone else. labels Feb 21, 2025
@averageluadev
Copy link
Author

@mmahmoudian
sway and hyperland do not set that variable, this causes issues on startup of app
I presume that this happens on other wm's too
a problem is that setting this variable and others relating to session type and desktop env do not fix this issue , as for references I will have to get back to you on that one.

  1. I do not have a propper suggestion for an alternative however wayland as a compositior has set capabilities so, checking if user is using wayland would check for some base capabilities.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
discussion Waiting For Info Addressing the issue or merging the PR is halted and we are waiting for more info to be provided.
Projects
None yet
Development

No branches or pull requests

2 participants