Dialog Width Not determined as per previous releases

Aperta
#3,583 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 13 giorni

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
3/5
Tempo stimato
1-2 giorni
Idoneità per principianti
45/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Tranquilla
Stack tecnologico
cpp
Ambito
desktop

Direzione di ricerca

Iniziare confrontando i file allegati DialogWidthBad (short title).txt e DialogWidthGood.txt e riprodurre le finestre di dialogo su Windows 11 con CopyQ 14.0.0. Tracciare il comportamento del dimensionamento delle finestre di dialogo e verificare che sia la larghezza del contenuto, anziché soltanto la lunghezza del titolo, a determinare la larghezza risultante, preservando al contempo l’aspetto previsto.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

bug

Describe the bug
I have a number of dialogs that display very thinly since I upgraded to copyq v14.0.0-gd935d521-v14.0.0, I'd skipped a few versions and think it was a v11 or so previously where the dialogs didn't have the problem. I have added a "good" and "bad" example of the same basic dialog and the relevant difference seems to be the title length. I assume in the past the dialog contents was taken into consideration.

I don't know if this new behaviour is expected or not, but I don't want to hardcode values where the contents width can be calculated UNLESS I have to as the dialogs will then always look fugly.

To Reproduce
See the dialog parameters in the two attached files.

DialogWidthBad (short title).txt
DialogWidthGood.txt

Expected behavior
I expect previous behaviours to presist to newer versions and more specifically the width of not just the dialog title to be taken into account. I also expected to be able to take a screenshot of the dialog....

Screenshots
For some reason I can't take a screenshot of the dialog window, it shoes up as an empty box. I had to take a picture of it from my phone.

Image

Version, OS and Environment
CopyQ Clipboard Manager 14.0.0-gd935d521-v14.0.0
Qt: 6.10.2
KNotifications: 6.23.0
Compiler: MSVC
Arch: x86_64-little_endian-llp64
OS: Windows 11 Version 25H2
Audio: miniaudio 0.11.25

Lingua principale
C++
Stelle
12.7k
Fork
648
Merge medio
11g 12h
PR unite (30g)
5

Preparare l'ambiente

Questo progetto non fornisce container di sviluppo, Dockerfile né guida per i contributori, quindi l'ambiente è a tuo carico: parti dal suo README e consulta la nostra guida al primo contributo per i passaggi generali.

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di hluk/CopyQ

Tutte le issue di hluk/CopyQ

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.