FLTK logo

[fltk/fltk] test/tree focus box has artifacts on some linux boxes (Issue #299)

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] test/tree focus box has artifacts on some linux boxes (Issue #299) erco77 Nov 27, 2021  
 

Hmm, I know we "solved" the focus box issue in 1.4.x with some kind of changes, but Fl_Tree was not affected, because it's showing those old noisy focus box drawing artifacts again.

It should be noted that Fl_Tree's focus box drawing is handled by the items, Fl_Tree_Item, which has to have its own focus drawing code because it is necessarily does /not/ derive from Fl_Widget, and therefore cannot access Fl_Widget::draw_focus().

Looks like there was a regression in 7a580fd with changes made to Fl_Tree_Item::draw_item_focus() where the workaround for this problem was commented out, causing the issue to reappear.


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.

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'.