flameshot icon indicating copy to clipboard operation
flameshot copied to clipboard

Crash and Black screen when Display Scale >100% on Ubuntu

Open JunhanDu opened this issue 1 year ago • 2 comments

Flameshot Version

Flameshot V12.1.0-1 & V11.0.0

Installation Type

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

Operating System type and version

Gnome on Ubuntu 20.04

Description

When I set the system's Displays scaling to 125% on Ubuntu, Flameshot crashes, resulting in a black screen with flickering. Reverting the scaling back to 100% resolves the issue. Can anyone provide guidance on how to address this problem? Thank you. image

Steps to reproduce

  1. Cange the Scale of Displays.
  2. Use flameshot

Screenshots or screen recordings

No response

System Information

Ubuntu 20.04

JunhanDu avatar Jan 11 '24 15:01 JunhanDu

Please provide all the information we asked in the form, especially the system information. The current state of this bug report is missing critical information and therefore is invalid. Also, please list those many versions. It is important to know what you have tested.

Additionally, you should say that it happens like this on Gnome on Ubuntu 20.04

mmahmoudian avatar Jan 13 '24 08:01 mmahmoudian

Hi. I have the same problem

Gnome: GNOME Shell 46.0 CPU: 11th Gen Intel(R) Core(TM) i7-11700F @ 2.50GHz GPU: NVIDIA GeForce RTX 3060 Ti Ubuntu: Ubuntu 24.04 LTS Flameshot v12.1.0 (Debian 12.1.0-2build2) Compiled with Qt 5.15.12

It happens when fractional scaling is enabled.

The advice doesn't work https://flameshot.org/docs/guide/troubleshooting/#i-have-fractional-scaling-on-my-monitors-e-g-150

UPD: I found solution: env QT_SCREEN_SCALE_FACTORS=1.001 flameshot gui.

voronovmaksim avatar Aug 06 '24 20:08 voronovmaksim