bugGNU Octave - Bugs: bug #47056, waitfor/uiwait does not...

 
 

bug #47056: waitfor/uiwait does not resume/unpause

Submitted by:  jsh <jsh>
Submitted on:  Wed 03 Feb 2016 05:47:41 PM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: None
Status: Patch SubmittedAssigned to: None
Originator Name: Open/Closed: Open
Release: devOperating System: Microsoft Windows

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 23 Feb 2016 09:54:11 AM UTC, comment #3:

Maybe this bug can be closed when waitfor has a more robust argument checking (see e.g. the attached patch): uiwait properly errors out if an invalid handle is passed while waitfor stores a callback that won't ever be triggered.

(file #36437)

Pantxo Diribarne <pantxo>
Project Member
Mon 22 Feb 2016 02:12:12 AM UTC, comment #2:

Pantxo, should this report be closed if it is a duplicate? (I'm refraining from closing bugs myself because I tend to be too trigger-happy.)

Lachlan Andrew <lachlan>
Project Member
Thu 04 Feb 2016 07:45:16 AM UTC, comment #1:

Hi,

It is a known issue that warndlg (and other *dlg) don't return a proper figure handle, see bug #42490.
This is probably why the waitfor and uiwait functions fail to recognize that the dialog has been closed.

I mark this bug as duplicate.

Pantxo Diribarne <pantxo>
Project Member
Wed 03 Feb 2016 05:47:41 PM UTC, original submission:

On Win10 and 4.0.1-rc3

and

does not resume Octave after the warning dialog box is closed. Another Ctrl-c is required.

Maybe unrelated but in Linux I also get an error message with uiwait about an 'invalid figure handle H' reference at line 51 in uitwait.

jsh <jsh>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #36437:  waitfor.patch added by pantxo (868B - text/x-diff)

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by mtmiller (Updated the item)
  • -unavailable- added by lachlan (Posted a comment)
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by jsh (Submitted the item)
  •  

    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 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 17 Nov 2016 12:02:37 AM UTCmtmillerStatusDuplicate=>Patch Submitted
      Release4.0.1-rc1=>dev
    Tue 23 Feb 2016 09:54:11 AM UTCpantxoAttached File-=>Added waitfor.patch, #36437
    Fri 05 Feb 2016 07:33:39 AM UTCpantxoDependencies-=>Depends on bugs #42490
    Thu 04 Feb 2016 07:45:16 AM UTCpantxoStatusNone=>Duplicate

    Back to the top


    Powered by Savane 3.1-cleanup1