flameshot-org / flameshot

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

Screen layout freaks out #3537

Closed kxmpxtxnt closed 3 months ago

kxmpxtxnt commented 3 months ago

Flameshot Version

Flameshot v12.1.0 (3d21e496) Compiled with Qt 5.15.13 linux: 6.7.9-arch1-1 arch: unknown

Installation Type

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

Operating System type and version

6.7.9-arch1-1

Description

So im using Wayland, and everytime i try to execute flameshot gui there is this error.

Unable to get current screen, starting to use primary screen. It may be a cause of logical error and working with a wrong screen.
QLayout: Attempting to add QLayout "" to SidePanelWidget "", which already has a layout
Unable to get current screen, starting to use primary screen. It may be a cause of logical error and working with a wrong screen.
qt.qpa.wayland: Wayland does not support QWindow::requestActivate()
Unable to get current screen, starting to use primary screen. It may be a cause of logical error and working with a wrong screen.
flameshot: info: Screenshot aborted.

Whan you can see in the video is my laptop monitor where obs os opened.

The last line is caused by pressing Esc.

Steps to reproduce

  1. run flameshot gui

Screenshots or screen recordings

https://github.com/flameshot-org/flameshot/assets/78809981/62188045-14e5-4882-9101-a8cb5f859a3b

System Information

System: Host: iUseArchBtw Kernel: 6.7.9-arch1-1 arch: x86_64 bits: 64 Desktop: KDE Plasma v: 6.0.2 Distro: Arch Linux Graphics: Device-1: Intel Raptor Lake-P [UHD Graphics] driver: i915 v: kernel Device-2: NVIDIA GN20-P0-R-K2 [GeForce RTX 3050 6GB Laptop GPU] driver: nouveau v: kernel Device-3: SunplusIT FHD Webcam driver: uvcvideo type: USB Display: wayland server: X.org v: 1.21.1.11 with: Xwayland v: 23.2.4 compositor: kwin_wayland driver: N/A resolution: 1: 2560x1440 2: 2560x1440 3: 1440x900 API: EGL v: 1.5 drivers: iris,nouveau,swrast platforms: gbm,wayland,x11,surfaceless,device API: OpenGL v: 4.6 compat-v: 4.3 vendor: intel mesa v: 24.0.3-arch1.1 renderer: Mesa Intel Graphics (RPL-P) API: Vulkan v: 1.3.279 drivers: intel surfaces: xcb,xlib,wayland

kxmpxtxnt commented 3 months ago

So, what im currently trying is to install nvk drivers.

kxmpxtxnt commented 3 months ago

Didnt look clearly. Replica of https://github.com/flameshot-org/flameshot/issues/3528