FLTK logo

[fltk/fltk] Linux: Focus box drawing incorrectly (Issue #369)

FLTK matrix user chat room
(using Element browser app)   FLTK gitter user chat room   GitHub FLTK Project   FLTK News RSS Feed  
  FLTK Apps      FLTK Library      Forums      Links     Login 
 All Forums  |  Back to fltk.issues  ]
 
Previous Message ]New Message | Reply ]Next Message ]

[fltk/fltk] Linux: Focus box drawing incorrectly (Issue #369) erco77 Jan 13, 2022  
 

While looking closely at the Fl_Input_Choice widget, I noticed the lower right and bottom part of the focus box wasn't being drawn, e.g. with test/input_choice:
input_choice_focusbox_bug

This wasn't introduced by my recent changes to Fl_Input_Choice; the older code did this too; I just tested a July 2021 snapshot and it had it too.

Note sure if this is unique to Fl_Input_Choice, or just due to how small the button is.

Since the focus box dotted line issue comes up a lot, we should probably have a unit test for it (I don't think we have one currently).

As a side note while sniffing around, I'm also noticing Fl_Choice does not show a focus box at all, but does if you change the scheme(). This can be seen by running the test/unittests -> "schemes test", and changing the "FLTK Scheme" chooser from one scheme to another. (Only the "none" scheme has no focus box).


Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
You are receiving this because you are subscribed to this thread.Message ID: <fltk/fltk/issues/369@github.com>

Direct Link to Message ]
 
     
Previous Message ]New Message | Reply ]Next Message ]
 
 

Comments are owned by the poster. All other content is copyright 1998-2024 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.