flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:

Home Page:https://flameshot.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Multi-monitor resolution issue on KDE6 Wayland

AgentLoneStar007 opened this issue · comments

Flameshot Version

Flameshot v12.1.0
image

Installation Type

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

Operating System type and version

Arch Linux 6.7.9-arch1-1 (64-bit)

Description

Hi. So since I've upgraded to KDE Plasma 6 and Wayland, I've had an issue with taking a screenshot. When I go to take one, the view window is up quite a bit higher than it should be. (Example in the screenshots section.)

I would say it was the addition of the portrait mode monitor, but this issue only started occurring when I upgraded Plasma, and switched to the Wayland compositor.

Steps to reproduce

  • Update to Plasma 6 and up.
  • Switch to the Wayland compositor.
  • Take a screenshot or run flameshot gui

Screenshots or screen recordings

(A screenshot of my monitors. This view is the entirety of my main monitor. Notice it's only the upper corner of my main monitor and the upper right side of my secondary monitor.)
image

System Information

Output of uname -a: Linux Bob-Linux-Gaming 6.7.9-arch1-1 #1 SMP PREEMPT_DYNAMIC Fri, 08 Mar 2024 01:59:01 +0000 x86_64 GNU/Linux`

System Info from Plasma:
image

I have one 3440x1440 monitor as my main monitor, and a 1920x1080 monitor next to it on the left in portrait mode.
image
image

Got a similar issue with Garuda (Arch-based) after the KDE6 Wayland update. I've got two ultrawide displays, both in landscape mode on top of each other:

image

When I tried to flameshot gui, the flameshot overlay shows only on the bottom display, but with the top display content.

Pic before gui execution:

image

Pic after gui execution:

image

I was able to resolve the issue partially by running the command:

WAYLAND_DISPLAY="" flameshot gui

But using this method also prevents Flameshot from getting keyboard input, so you're forced to use your mouse.

Someone suggested on another issue to use Window Rules #3525 (comment) - it works, but the performance takes a serious hit.

Unfortunately, I don't think I can use the window rule fix because of my monitor layout.

Unfortunately, I don't think I can use the window rule fix because of my monitor layout.

how about if you try making it a window of 1920x2520? That would take the whole height of your left portrait monitor and the whole width of both displays.

how about if you try making it a window of 1920x2520? That would take the whole height of your left portrait monitor and the whole width of both displays.

Thank you. This did work. This is the window rule I'm using for Flameshot:
image

Also, should I close this issue now, or is it still technically a bug?

Also, should I close this issue now, or is it still technically a bug?

as I understand, that is only a workaround. I'd keep the issue open.

For reference: I'm using KDE 6.X.X on X11... and I have the exact same problem.

This seems to be a 6.X.X issue to me.