Ticket UUID: | 9b155eb64e8681afeea1731beadf7c6f5417f345 | |||
Title: | Combobox focus not shown in readonly state | |||
Type: | Bug | Version: | 8.6.6 | |
Submitter: | mramsell | Created on: | 2017-07-04 04:46:17 | |
Subsystem: | 02. Appearance | Assigned To: | nobody | |
Priority: | 5 Medium | Severity: | Minor | |
Status: | Open | Last Modified: | 2017-07-04 04:46:17 | |
Resolution: | None | Closed By: | nobody | |
Closed on: | ||||
Description: |
If you create two Comboboxes and tab between them you will know where the focus is by the selection. The current item will have its text selected. Change one or both to state readonly and the focus is not obvious. The only way to know which combobox widget is in focus is to try a <down-arrow> key. ttk::combobox .cb1 -values {a b c} ttk::combobox .cb2 -values {d e f} -state readonly .cb1 current 0 .cb2 current 0 pack .cb1 .cb2 Have tried various work-arounds for the problem with styles but couldn't come up with anything consistent. The way that 'readonly' state currently works with comboboes makes tabbing about the interface mostly unusable. Take a look at the simple screen shot and tell me which widget has the focus. If you said the top widget you'd be wrong. |
Attachments:
- Screenshot_2017-07-04_00-43-39.png [download] added by mramsell on 2017-07-04 04:47:44. [details]