Tk Source Code

Ticket Change Details
Login
Overview

Artifact ID: dbdca7f5550b88d2ce6ce106092819fe631c7bd9
Ticket: 9b155eb64e8681afeea1731beadf7c6f5417f345
Combobox focus not shown in readonly state
User & Date: mramsell 2017-07-04 04:46:17
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/html"
  4. comment changed to:
    <p>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. </p>
    <pre>
    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
    </pre>
    <p>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.</pre>
    <p>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.</p>
    
  5. foundin changed to: "8.6.6"
  6. is_private changed to: "0"
  7. login: "mramsell"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "1c64d4713f6ef5cbf06fc4e28a1bba36ce25add3"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "mramsell"
  14. subsystem changed to: "02. Appearance"
  15. title changed to: "Combobox focus not shown in readonly state"
  16. type changed to: "Bug"