Skip to content

KDE Plasma 6.5 won't do anything when region passed via CLI #4507

@barsikus007

Description

@barsikus007

Flameshot Version

Flameshot v13.3.0 (-)
Compiled with Qt 6.10.1

Installation Type

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

Operating System type and version

NixOS 26.05

Description

I want to use flameshot with slurp (native gui won't show up correctly on 2 monitors, there is issue for that), so I specified region with cli parameter.
Although just flameshot gui is working, flameshot gui --region '...' isn't...

Steps to reproduce

> flameshot gui -g
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.
Unable to get current screen, starting to use primary screen. It may be a cause of logical error and working with a wrong screen.
Unable to get current screen, starting to use primary screen. It may be a cause of logical error and working with a wrong screen.
QPainter::begin: Paint device returned engine == 0, type: 2
QPainter::setRenderHint: Painter must be active to set rendering hints
QPainter::setCompositionMode: Painter not active
QPainter::translate: Painter not active
QPainter::setPen: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawEllipse: Painter not active
QPainter::setBrush: Painter not active
QPainter::drawEllipse: Painter not active
Unable to get current screen, starting to use primary screen. It may be a cause of logical error and working with a wrong screen.
312x-260+2126+1545
QThreadStorage: entry 8 destroyed before end of thread 0x55da5de06a20
QThreadStorage: entry 7 destroyed before end of thread 0x55da5de06a20
QThreadStorage: entry 3 destroyed before end of thread 0x55da5de06a20
QThreadStorage: entry 2 destroyed before end of thread 0x55da5de06a20

> flameshot gui --region '312x-260+2126+1545'
QSettings::value: Empty key passed
QSettings::value: Empty key passed
^C

I also specified region in different formats

There is what appeares after any flameshot gui --region '...' command with correct region syntax (like all/screen0 etc)
Image

Screenshots or screen recordings

No response

System Information

> nix-shell -p nix-info --run "nix-info -m"
 - system: `"x86_64-linux"`
 - host os: `Linux 6.18.7-cachyos-lto, NixOS, 26.05 (Yarara), 26.05.20260120.80e4adb`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.31.3`
 - nixpkgs: `/nix/store/nwl155y14v16b74j1fbc61ryq2dbk5hg-source`

KDE Plasma 6.5 on wayland

Metadata

Metadata

Assignees

No one assigned

    Labels

    Unconfirmed BugThe bug is not confirmed by anyone else.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions