Ticket #87 (closed bugs: wontfix)

Opened 3 years ago

Last modified 14 months ago

select row bug in Fl_ListView

Reported by: nobody Owned by: karijes
Priority: normal Milestone: 1.2
Component: efltk Version: 2.0.6
Keywords: Cc:

Description (last modified by karijes) (diff)

another bug in  Fl_ListView.  try to push  `tab+left`
for example in listview.
there was segmentation violation. i added one line to
fix it.

int Fl_ListView::handle_key()
{
    if(!children()) return 0;    
    Fl::event_clicks(0); // make program not think it
is a double-click    
    switch(Fl::event_key())
    {
/* ... */
    default: {
        int ret=0;
        ret = vscrollbar->send(FL_KEY);
        if(!ret) ret = hscrollbar->send(FL_KEY);
        
        if(ret)
        {
            if(Fl::event_key()==FL_Page_Up)
                select_only_row( row_at(yposition()) );
            else if(Fl::event_key()==FL_Page_Down)
            {
                select_only_row( row_at(yposition()+tih) );
            }
            if(cur_row > children())  cur_row = 0;
//<=========  segmentation  violation without it
            show_row(cur_row);
            return 1;
/* ... */

Change History

Changed 3 years ago by vljubovic

Logged In: YES 
user_id=110776

See my response to your previous bug report. 

Changed 21 months ago by karijes

  • description modified (diff)
  • component changed from None to efltk
  • priority changed from 1 to normal
  • version changed from eFLTK to efltk-2.0.6
  • milestone set to 1.2
  • type changed from Bugs to bugs

Changed 14 months ago by karijes

  • status changed from assigned to closed
  • resolution changed from None to wontfix
Note: See TracTickets for help on using tickets.