Opened 14 years ago

Closed 14 years ago

#7983 closed defect (fixed)

buttonlists are truncating options in various screens/themes

Reported by: skd5aner <skd5aner@…> Owned by: stuartm
Priority: minor Milestone: 0.24
Component: Themes Version: 0.22-fixes
Severity: low Keywords: mythui
Cc: Ticket locked: no

Description

I have come across several screens where a user is presented with a selectable option list, but the textarea/buttonlist truncates the text to the point where it is hard (sometimes impossible) to distinguish the available options.
For example, on a recording rule, within "Schedule Options" for "Dupe Method" I see the following options:
"Match duplicates using subt..."
"Match duplicates using subti..."
"Match duplicates using subtitle"
"Match duplicates using descr..."
"Don't match duplicates"

Of course, it's impossible to know the difference between the first 3 settings based on how it is truncated in the UI. Many settings start with the exact same text, and the truncation occurs prior to a distinguishable point in the option.

I have noticed this in two themes in particular, Graphite and Terra, but it may not be limited to those two. As well, just because it's in Graphite, I don't assume it'll be exactly the same in Terra (and vice versa) as I have not checked every case in each theme. I did fallback to Project Grayhem to test which did not exhibit the problem.

If I find any more obvious ones I run into I'll post up the offenders, but here is an initial list that I hit more frequently and causes frequent problems:

  • Recording Rules

-- Recording Rule Details Page
Recording Rule Options
--- Schedule Options
* "Dupe Method"
* "Dupe Scope"

  • Manage Recordings

-- Schedule Recordings
--- Custom Record
--- Store
Buttons "Store <rule name> as a..."

My assumption is that several of the "basewideselector" buttonlists don't try to take into account the necessary length of the options to ensure that a user can appropriately see enough of the text to make a decision.

Also - my resolution is at 1280x720 (100dpi)

Change History (6)

comment:1 Changed 14 years ago by stuartm

Milestone: 0.23unknown
Severity: mediumlow

comment:2 Changed 14 years ago by robertm

(In [23351]) Refs #7983. Use smaller font in graphite spinboxes and selector buttonlists to account for insane-o long strings.

comment:3 Changed 14 years ago by skd5aner <skd5aner@…>

I have not yet tested the changes robertm had made to Graphite, but working with sphery on IRC we had a theory that font selection might be impacting some of the areas within Terra. Sure enough, it was defaulting back to DejaVu? because I did not have the msttcorefonts installed on the frontend. After installing those, the options seemed to fit more appropriately.

However, I did see at least one example where it did not on Terra and that was under the "store" pop-up for custom record rules. For an existing program, the two buttons said the same thing: "Replace <Truncated Rule Name>..." and "Replace <Truncated Rule Name>...". It is impossible to tell which one is the "example" button and which one is the "search" button.

Thanks!

comment:4 Changed 14 years ago by stuartm

The latter issue with the custom record rules needs fixing in the code, we shouldn't be trying to fit the rule name into those buttons because it's length isn't predictable and it's already shown in the summary.

comment:5 Changed 14 years ago by stuartm

Milestone: unknown0.24
Owner: changed from Isaac Richards to stuartm
Status: newassigned

comment:6 Changed 14 years ago by stuartm

Resolution: fixed
Status: assignedclosed

(In [24935]) Don't insert the rule name into the store dialog buttons, it's already present in the description and buttons really shouldn't contain long strings. Commit includes some coding standards/whitespace fixes to CustomEdit?. Closes #7983

Note: See TracTickets for help on using tickets.