Open dhay3 opened 1 month ago
Flameshot Version
Flameshot v12.1.0 (-) Compiled with Qt 5.15.10 linux: 6.9.0-1-MANJARO manjaro: unknown
Installation Type
Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)
Operating System type and version
6.9.0-1-MANJARO
Description
In KDE Plasma5/Wayland, flameshot works without any unexpect behaviors when scalling is enabled that is not the default. But after updating to KDE Plasma6/Wayland, flameshot seems do not obey the scalling when taking screenhosts.
Things I tried:
1. env QT_AUTO_SCREEN_SCALE_FACTOR="1.25" QT_SCREEN_SCALE_FACTORS="" flameshot gui, not work. 2. env QT_SCREEN_SCALE_FACTORS="1;1" flameshot gui, not work. 3. env XDG_SESSION_TYPE=x11 flameshot gui, works. 4. Set display scaling to 100%, works.
Steps to reproduce
1. run flameshot gui
Screenshots or screen recordings
[1]https://github.com/flameshot-org/flameshot/assets/62749885/a27e6af8-34c9-416c-9eed-94be7b768fb1
System Information
$ inxi -G Graphics: Device-1: NVIDIA AD107M [GeForce RTX 4060 Max-Q / Mobile] driver: nvidia v: 550.78 Device-2: AMD Raphael driver: amdgpu v: kernel Device-3: Bison HD Webcam driver: uvcvideo type: USB Display: wayland server: X.org v: 1.21.1.13 with: Xwayland v: 23.2.6 compositor: kwin_wayland driver: X: loaded: amdgpu,nvidia dri: radeonsi gpu: nvidia,amdgpu resolution: 2048x1152 API: EGL v: 1.5 drivers: nvidia,radeonsi,swrast platforms: gbm,wayland,x11,surfaceless,device API: OpenGL v: 4.6.0 compat-v: 4.5 vendor: amd mesa v: 24.0.6-manjaro1.1 renderer: AMD Radeon Graphics (radeonsi raphael_mendocino LLVM 17.0.6 DRM 3.57 6.9.0-1-MANJARO) API: Vulkan v: 1.3.279 drivers: nvidia,radv surfaces: xcb,xlib,wayland
— Reply to this email directly, [2]view it on GitHub, or [3]unsubscribe. You are receiving this because you are subscribed to this thread.[4][IMG]Message ID: @.***>
Links:
- https://github.com/flameshot-org/flameshot/assets/62749885/a27e6af8-34c9-416c-9eed-94be7b768fb1
- https://github.com/flameshot-org/flameshot/issues/3614
- https://github.com/notifications/unsubscribe-auth/ACFAZDGEV6N346UYXZH6PMLZDGB6RAVCNFSM6AAAAABH7BU7SWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGMYDKMJRGIYDONI
- Image: https://github.com/notifications/beacon/ACFAZDCA7N32WBAPWBSV2KTZDGB6RA5CNFSM6AAAAABH7BU7SWWGG33NNVSW45C7OR4XAZNFJFZXG5LFVJRW63LNMVXHIX3JMTHISZJYBM.gif
What is your wayland environment? Is it KDE? It seems so, but I don't understand why?
@jack9603301 Yes my DE is KDE Plasma6 ship with Wayland 1.22.0
@jack9603301 Yes my DE is KDE Plasma6 ship with Wayland 1.22.0
Flameshot's screenshot actually comes from the image returned by the operating system's screenshot protocol. Why is it incorrect?
@jack9603301 Yes my DE is KDE Plasma6 ship with Wayland 1.22.0
Flameshot's screenshot actually comes from the image returned by the operating system's screenshot protocol. Why is it incorrect?
@jack9603301 I update the OP with more information. Is there a way to debug it, if that is a protocol. It will be highly appreciated if some hints.
Flameshot Version
Installation Type
Linux, MacOS, or Windows Package manager (apt, pacman, eopkg, choco, brew, ...)
Installed via pacman.
Operating System type and version
6.9.0-1-MANJARO
Description
In KDE Plasma5/Wayland, flameshot works without any unexpected behaviors when scaling is enabled that is not the default. But after updating to KDE Plasma6/Wayland, flameshot seems do not obey the scaling when taking screenshots. It leaves the screen to be taken as floating in the black background(zoom out), while the selection region with the normal action and size, same as the saved pictures.
Things I have tried:
env QT_AUTO_SCREEN_SCALE_FACTOR="1.25" QT_SCREEN_SCALE_FACTORS="" flameshot gui
, not work.env QT_SCREEN_SCALE_FACTORS="1;1" flameshot gui,
not work.env XDG_SESSION_TYPE=x11 flameshot gui
, works, but keystrokes will never be read when Legacy X11 App Support is set to Never.env QT_QPA_PLATFORM=xcb flameshot gui
, works, same as X11.It seems like a duplicate of #3566, but no resolutions yet.
For the temporary using, I make flameshot starts as an X11 app.
Steps to reproduce
flameshot gui
or click the take screenshot button in GUI.Screenshots or screen recordings
The following screenshot was taken by Spectacle when
flameshot gui
is activated.And the output of
flameshot gui
in konsole.(Not for sure, those errors will be taken in count.)Also here is a video if the picture do not describe the question clearly.
https://github.com/flameshot-org/flameshot/assets/62749885/a27e6af8-34c9-416c-9eed-94be7b768fb1
System Information
Display Configuration:
Hardware & Display Server:
DE Version: