#539 closed misbehavior (fixed)
fix aw_string_selection inconsistencies
Reported by: | westram | Owned by: | westram |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Library (GUI) | Version: | SVN |
Keywords: | Cc: |
Description (last modified by westram)
differences between motif and gtk:
- using default 'Cancel' button
- returns NULL in motif
returns current inputfield-content in gtk (making it necessary to perform an extra test)fixed by [12247]
general inconsistency:
Solution:
eliminate default button (always pass from caller)declare one button as abort-button (return NULL if that button has been pressed, as aw_input does)
It would also be nice to have a default button which gets triggered when the
- presses 'ENTER' in the input field or
- double clicks an entry in the selection box.
The default button could be marked by prefixing its name with '+'.
Change History (7)
comment:1 in reply to: ↑ description Changed 11 years ago by westram
- Description modified (diff)
- Owner changed from devel to westram
- Status changed from new to _started
comment:2 follow-up: ↓ 4 Changed 11 years ago by westram
aw_input2awar:
- unused outside WINDOW library
- gtk-version changes awar (while typing) and leaves last entered value in case of 'Abort'
- motif-version changes awar once
- to last value when ok was pressed
- to "" when abort was pressed
- signature differs between gtk and motif
comment:3 Changed 11 years ago by westram
- Description modified (diff)
comment:4 in reply to: ↑ 2 Changed 11 years ago by westram
aw_input2awar:
- unused outside WINDOW library
removed from motif [12250]; hidden in gtk/WINDOW [12251]
- gtk-version changes awar (while typing) and leaves last entered value in case of 'Abort'
- still changes awar while typing (might be problematic in some cases; fix then)
- restores previous value since [12249]
comment:5 in reply to: ↑ description Changed 11 years ago by westram
- Resolution set to fixed
- Status changed from _started to closed
comment:6 Changed 11 years ago by westram
- Milestone set to powerusability
comment:7 Changed 9 years ago by westram
- Milestone powerusability deleted
Milestone powerusability deleted
Note: See
TracTickets for help on using
tickets.
Bad idea: several callers of aw_input use an empty result to delete things (e.g. "SAI description" or "SAI group")