Bug report #12494

value relation widget, wrong sorting of text

Added by Giovanni Manghi over 9 years ago. Updated over 5 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Edit widget
Affected QGIS version:master Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:end of life
Crashes QGIS or corrupts data:No Copied to github as #:20640

Description

when a value relation is set, if a entry starts with an accented letter, then in the combo box this entry will show at the bottom of the list.

There is also a general issue with lists of numbers in the widgets, that are treated always as text, and this hurts quite a lot the usability of such tools.

History

#1 Updated by Jürgen Fischer about 9 years ago

  • Status changed from Open to Feedback

What's shown in the combobox is supposed to be a description for the key used in the attribute. Isn't using a number as description and edge case?

#2 Updated by Giovanni Manghi about 9 years ago

  • Status changed from Feedback to Open
  • Affected QGIS version changed from 2.8.1 to master

Jürgen Fischer wrote:

What's shown in the combobox is supposed to be a description for the key used in the attribute. Isn't using a number as description and edge case?

but what about if the user "just" needs a combobox to allow choose quickly (and without errors) among a list of specific numbers? this is not an edge situation at all, and as it is now the user creates this list in the "value" column and gets a list that is ordered as text.

#3 Updated by Giovanni Manghi about 7 years ago

  • Regression? set to No
  • Easy fix? set to No

#4 Updated by Giovanni Manghi over 5 years ago

  • Resolution set to end of life
  • Status changed from Open to Closed

Also available in: Atom PDF