bugGNU Octave - Bugs: bug #39732, uigetfile adds empty entries to...

 
 

bug #39732: uigetfile adds empty entries to result

Submitted by:  Cristian <r41nm4n>
Submitted on:  Thu 08 Aug 2013 05:52:26 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect Result
Status: FixedAssigned to: John Donoghue <lostbard>
Originator Name: Open/Closed: Closed
Release: devOperating System: GNU/Linux

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Tue 13 Aug 2013 03:30:06 PM UTC, comment #5:

I fixed this bug here (http://hg.savannah.gnu.org/hgweb/octave/rev/98fcf9373f5e). John, sorry I didn't push the change before you also posted a patch.

Rik <rik5>
Project Administrator
Tue 13 Aug 2013 01:10:50 PM UTC, comment #4:

Try this patch.

(file #28830)

John Donoghue <lostbard>
Project MemberIn charge of this item.
Tue 13 Aug 2013 01:40:54 AM UTC, comment #3:

I finally thought to try this is the GUI and I can reproduce it there. With the CLI it works fine. I've changed the category to GUI since this is where the real problem lies. I've marked this bug as confirmed.

Rik <rik5>
Project Administrator
Sun 11 Aug 2013 07:35:47 PM UTC, comment #2:

On my platform the problem persists with hg id 7c06875c2dcc and FLTK 1.3.2, in Debian jessie up-to-date.

Cristian <r41nm4n>
Sun 11 Aug 2013 03:29:25 PM UTC, comment #1:

"MultiSelect" works fine for me. This is with FLTK-1.3 and 'hg id' 7c06875c2dcc. You might try updating either to a newer Mercurial tip or newer FLTK and see if the problem is still there.

Rik <rik5>
Project Administrator
Thu 08 Aug 2013 05:52:26 PM UTC, original submission:

When selecting more than one file with uigetfile with the option "multiselect", two empty entries are added to the list of selected files.
For example, when executing this code snippet

this result is returned if two files "firstfile.txt" and
"secondfile.txt" are selected by the user:

The two entries "[](0x0)" do not correspond to any selected file.

Cristian <r41nm4n>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

Attached Files
file #28830:  uigetfile_fix.patch added by lostbard (916B - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by lostbard (Updated the item)
  • -unavailable- added by rik5 (Posted a comment)
  • -unavailable- added by r41nm4n (Submitted the item)
  • -unavailable- added by r41nm4n
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 9 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Tue 13 Aug 2013 03:30:06 PM UTCrik5StatusIn Progress=>Fixed
      Open/ClosedOpen=>Closed
    Tue 13 Aug 2013 01:10:50 PM UTClostbardAttached File-=>Added uigetfile_fix.patch, #28830
      StatusConfirmed=>In Progress
      Assigned toNone=>lostbard
    Tue 13 Aug 2013 01:40:54 AM UTCrik5CategoryOctave Function=>GUI
      StatusWorks For Me=>Confirmed
    Sun 11 Aug 2013 03:29:25 PM UTCrik5StatusNone=>Works For Me
    Thu 08 Aug 2013 05:52:26 PM UTCr41nm4nCarbon-Copy-=>Added r41nm4n

    Back to the top


    Powered by Savane 3.1-cleanup1