GeopJr / Tuba

Browse the Fediverse
https://tuba.geopjr.dev/
GNU General Public License v3.0
515 stars 57 forks source link

[Bug]: Alt text is pre-selected #840

Closed LukaszH77 closed 4 months ago

LukaszH77 commented 4 months ago

Describe the bug

The text in the attachement description window is fully selected after opening.

Steps To Reproduce

  1. Click on ALT button on an image.

Logs and/or Screenshots

Zrzut ekranu z 2024-03-09 22-54-48

Instance Backend

Mastodon

Operating System

openSUSE Tumbleweed

Package

Flatpak

Troubleshooting information

os: GNOME 46 (Flatpak runtime) prefix: /app flatpak: true version: main-ce75ca0 (development) gtk: 4.13.7 (4.13.7) libadwaita: 1.5.0 (1.5.0) libsoup: 3.4.4 (3.4.4) libgtksourceview: 5.11.1 (5.11.1)

Additional Context

No response

GeopJr commented 4 months ago

Don't know if it's easily fixable but will investigate further:

Previously, to fix that, I would make the label selectable after showing the window. But the new dialogs have animations so that doesn't work anymore

bragefuglseth commented 4 months ago

this is an underlying GTK issue AFAIK… would be great to have it fixed there, this is an overall annoying platform issue. it makes sense navigation/a11y wise to focus the first element of a page upon opening it, but not stylistically.

GeopJr commented 4 months ago

Welp, enough hacking around it, I'm disabling it