View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0017258 | Scribus | User Interface | public | 2024-08-17 15:15 | 2024-09-16 20:54 |
Reporter | sfhwdt9e | Assigned To | cbradney | ||
Priority | low | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | ||
Platform | Linux | OS | EndeavourOS | OS Version | 6.10.3-arch1-2 |
Product Version | 1.6.2 | ||||
Fixed in Version | 1.6.3.svn | ||||
Summary | 0017258: In menus (e.g. preferences or document setup) selecting empty field next to an entry doesn't activate dialog | ||||
Description | It'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. | ||||
Tags | No tags attached. | ||||
Patch | No | ||||
|
|
|
it is unlikely we can do anything to change this behavior as it is implemented by the Qt toolkit, not by us. |
|
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? |
|
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... |
|
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. |
|
I've made those changes, thanks Ale. Seems to work better although I don't know why those settings would cause this issue. |
|
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. |
|
fantastic, thank you everyone for looking into this. It's a a really nice improvement. |
|
Thanks Ale, yep, removed all that code with settings in the UI file |
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 |