Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Text Alignment is not persistent, always defaulted to right justified #3160

Closed
Trikenstein opened this issue Apr 10, 2023 · 2 comments
Closed
Labels
Bug It's a bug Duplicate This issue/PR is duplicated and the duplicated issue/PR is commented.

Comments

@Trikenstein
Copy link

Flameshot Version

Flameshot v11.0.0 (11.0.0-2 Debian)
Compiled with Qt 5.15.2
linux: 5.15.0-69-generic
ubuntu: 22.04.2 (Gnome 42.5)

Installation Type

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

Operating System type and version

ubuntu: 22.04.2 (Gnome 42.5)

Description

The text tool is always right-justified. Clicking on the "Tool Settings" at the left edge of the screen allows to set the text alignment to left justified. But when Flameshot is re-opened (ie. clicking on the Flameshot icon on the indicator icon bar (top right of the screen in Gnome). The text alignement is defaulted back to right-justified.

Flameshot settings screen has no option to set the default text-justification.

Steps to reproduce

. Click on the flameshot icon
. Select an area
. Click on T icon
. Type a few line of text
. Click on the T icon or another tool icon
. The N lines of text are transformed from left justified to right justified

Screenshots or screen recordings

Flameshot_text_right-justified

System Information

  • ubuntu: 22.04.2 (Gnome 42.5, X11)
  • dual monitors, 2560x1440
xrandr --listactivemonitors
Monitors: 2
 0: +*DisplayPort-0 2560/597x1440/336+0+0  DisplayPort-0
 1: +DisplayPort-1 2560/597x1440/336+2560+0  DisplayPort-1
lshw -class display
WARNING: you should run this program as super-user.
  *-display                 
       description: VGA compatible controller
       product: Oland GL [FirePro W2100]
       vendor: Advanced Micro Devices, Inc. [AMD/ATI]
       physical id: 0
       bus info: pci@0000:04:00.0
       logical name: /dev/fb0
       version: 00
       width: 64 bits
       clock: 33MHz
       capabilities: vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=radeon latency=0 resolution=2560,1440
       resources: irq:115 memory:e0000000-efffffff memory:f0100000-f013ffff ioport:3000(size=256) memory:f0160000-f017ffff
@Trikenstein Trikenstein added the Unconfirmed Bug The bug is not confirmed by anyone else. label Apr 10, 2023
@Trikenstein
Copy link
Author

Not sure why the there is an indication saying that I have labelled "Unconfirmed Bug". This is REAL BUG. Very easy to reproduce. Just use the text tool type a few lines and the bug will show up. As shown in the screenshot.

@mmahmoudian
Copy link
Member

mmahmoudian commented Apr 19, 2023

Not sure why the there is an indication saying that I have labelled "Unconfirmed Bug".

Because it is what we have define to assign to newly created issues by default. It will change when and if we manage to reproduce it

This is REAL BUG. Very easy to reproduce. Just use the text tool type a few lines and the bug will show up. As shown in the screenshot.

This WAS a real bug. It was fixed in #2448 . You have installed a version that is already 3 versions old!

Before creating a new issue, make sure you have fully searched among open and closed issue. It saves your time. This is duplicate of #2410

@mmahmoudian mmahmoudian added Bug It's a bug Duplicate This issue/PR is duplicated and the duplicated issue/PR is commented. and removed Unconfirmed Bug The bug is not confirmed by anyone else. labels Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug It's a bug Duplicate This issue/PR is duplicated and the duplicated issue/PR is commented.
Projects
None yet
Development

No branches or pull requests

2 participants