View Issue Details

IDProjectCategoryView StatusLast Update
0017258ScribusUser Interfacepublic2024-09-16 20:54
Reportersfhwdt9e Assigned Tocbradney  
PrioritylowSeverityminorReproducibilityhave not tried
Status closedResolutionfixed 
PlatformLinuxOSEndeavourOSOS Version6.10.3-arch1-2
Product Version1.6.2 
Fixed in Version1.6.3.svn 
Summary0017258: In menus (e.g. preferences or document setup) selecting empty field next to an entry doesn't activate dialog
DescriptionIt's a minor UX issue, I expected clicking on the right of an entry in any menu (number 1 on the image below) to activate that dialog. Instead I have to click on the name itself (number 2 on the image below). You get used to it eventually, but most other programs I used would allow you to click anywhere in that region to activate that dialog.
TagsNo tags attached.
PatchNo

Activities

sfhwdt9e

2024-08-17 15:15

reporter  

Untitled.png (73,741 bytes)   
Untitled.png (73,741 bytes)   

jghali

2024-08-17 20:26

administrator   ~0051270

it is unlikely we can do anything to change this behavior as it is implemented by the Qt toolkit, not by us.

sfhwdt9e

2024-08-17 21:47

reporter   ~0051272

no worries, thanks for confirming. I thought that may be the case, it's not a simple swap for another widget like the one KDE Settings is using for example?
image.png (24,391 bytes)   
image.png (24,391 bytes)   

ale

2024-08-18 10:24

manager   ~0051274

I have posted a question about this on Stackoverflow:

https://stackoverflow.com/questions/78884316/qlistwidget-clicking-on-the-right-side-of-the-text

Let's see if somebody has any ideas...

ale

2024-08-18 17:55

manager   ~0051275

On Stackoverflow, I got the big hint that it should work as the original poster (and, I must admit it, my self too) wanted it to work.

I then compared our QListWidget with one in a new dialog. And after some time spotted a (relevant?) difference.

If possible, AlignLeft and AlignLeading should be disabled in the itemAlignment section.
In the .ui file.

Then it should work "correctly" (at least, then, the full line can be selected in the Designer's preview).

This might not be possible because of the content of the list: icon + label + wrapping of the text.
I'll let you check, if it's OK to disable them.

cbradney

2024-08-18 18:34

administrator   ~0051276

Last edited: 2024-08-18 19:27

I've made those changes, thanks Ale. Seems to work better although I don't know why those settings would cause this issue.

ale

2024-08-18 19:30

manager   ~0051277

thanks craig!

you might want to look at

preferencesTypeList->setViewMode(QListView::ListMode);

in

https://github.com/scribusproject/scribus/blob/master/scribus/ui/preferencesdialog.cpp#L246

It overrides the IconMode set in the UI file

    https://github.com/scribusproject/scribus/blob/master/scribus/ui/preferencesdialogbase.ui

It's probably worth to go through the content of setupListWidget() and do the right thing in the UI file, wherever possible.

sfhwdt9e

2024-08-18 19:43

reporter   ~0051278

fantastic, thank you everyone for looking into this. It's a a really nice improvement.

cbradney

2024-08-18 20:08

administrator   ~0051279

Thanks Ale, yep, removed all that code with settings in the UI file

Issue History

Date Modified Username Field Change
2024-08-17 15:15 sfhwdt9e New Issue
2024-08-17 15:15 sfhwdt9e File Added: Untitled.png
2024-08-17 20:26 jghali Note Added: 0051270
2024-08-17 21:47 sfhwdt9e Note Added: 0051272
2024-08-17 21:47 sfhwdt9e File Added: image.png
2024-08-18 10:24 ale Note Added: 0051274
2024-08-18 17:55 ale Note Added: 0051275
2024-08-18 18:34 cbradney Assigned To => cbradney
2024-08-18 18:34 cbradney Status new => resolved
2024-08-18 18:34 cbradney Resolution open => fixed
2024-08-18 18:34 cbradney Fixed in Version => 1.6.3.svn
2024-08-18 18:34 cbradney Note Added: 0051276
2024-08-18 19:27 cbradney Note Edited: 0051276
2024-08-18 19:30 ale Note Added: 0051277
2024-08-18 19:43 sfhwdt9e Note Added: 0051278
2024-08-18 20:08 cbradney Note Added: 0051279
2024-09-16 20:54 cbradney Status resolved => closed