flameshot-org / flameshot

Powerful yet simple to use screenshot software :desktop_computer: :camera_flash:
https://flameshot.org
GNU General Public License v3.0
25.14k stars 1.61k forks source link

Flameshot help text and tool button always shows on left monitor #3239

Open yorkeJohn opened 1 year ago

yorkeJohn commented 1 year ago

Flameshot Version

Flameshot v12.1.0 (96c2c82e)

Installation Type

Windows Package manager (winget)

Operating System type and version

Windows 11 Pro 22H2 22621.1848

Description

When using multiple monitors, the help text and tool button only appears on the left monitor (monitor 2) rather than on the primary monitor (monitor 1).

Steps to reproduce

  1. Set the left monitor to monitor 2, and the right monitor to monitor 1.
  2. Press print screen to open the flameshot overlay.
  3. See that the help text and tool button is on the left monitor (monitor 2).

Screenshots or screen recordings

No response

System Information

Windows 11 Pro 22H2 22621.1848 image

chriszuercher commented 1 year ago

I face the same issue. The Help and Option dialogs stick on the left side of the most left screen, and it is not possible to move them or resize them (the window is too small to see all the options)

Flameshot v12.1.0 (https://github.com/flameshot-org/flameshot/commit/96c2c82e62bdabad6c20b97004c493f69f90a986) Installation Type

Windows Installer

Operating System type and version

Microsoft Windows 11 Enterprise Version 10.0.22621 Build 22621

AzzaAzza69 commented 1 year ago

Flameshot v12.1.0 (96c2c82e) Compiled with Qt 5.15.2 winnt: 6.1.7601 windows: 7sp1

Similar setup, whereby I have two monitors but my left (2) is Primary and right (1) is secondary. When I press Printscreen, it pops flameshot overlay covering just my primary desktop so I can't select any part of the screen on the secondary desktop.

Maybe it should overlay both screens to allow selection from either or overlay the desktop that the mouse is currently over?

mmahmoudian commented 1 year ago

@AzzaAzza69 I think your issue is different from the original post of this thread. I think you have connected your external monitor after you started Flameshot. Right? If so, you should close Flameshot from the tray area and start it again

toofar commented 11 months ago

If people think it would be preferable to have it on the primary screen then changing this line to use QGuiApplication::primaryScreen() would probably do it. The "current screen" it refers to currently is the one that the mouse cursor is on at that time.

A more general fix might be to make it movable. But that has other complications, like how to let people start a selection in the area under it.

AntoineArt commented 6 months ago

Hi, the issue seems to still be present. I have a three monitor setup on windows and the help text and tool button always appears on my left monitor, whatever is the mouse's position.