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

 
 

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

Submitter:  -X- <jsh>
Submitted:  Wed 03 Feb 2016 05:47:41 PM UTC
   
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  None
Status:  Fixed Assigned to:  None
Originator Name:  Open/Closed:  * Closed
Release:  * dev Operating System:  * Microsoft Windows
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 02 Nov 2018 12:14:51 PM UTC, comment #4: 

I pushed a small fix here

http://hg.savannah.gnu.org/hgweb/octave/rev/e3a2ef3dced9

and bug #42490 is now fixed. Closing report.

Pantxo Diribarne <pantxo>
Group Member
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>
Group 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>
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>
Group Member
Wed 03 Feb 2016 05:47:41 PM UTC, original submission:  

On Win10 and 4.0.1-rc3


waitfor(warndlg('foo'))


and


uiwait(warndlg('foo'))


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.



-X- <jsh>

 

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

Attach Files:
   
   
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
  • -email is unavailable- added by lachlan (Posted a comment)
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by jsh (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only group members can vote.

     

    Follow 9 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-11-02 mtmiller Carbon-CopyRemoved 80942 -
    2018-11-02 pantxo StatusPatch Submitted Fixed
        Open/ClosedOpen Closed
    2018-11-02 pantxo CategoryGUI Plotting with OpenGL
    2016-11-17 mtmiller StatusDuplicate Patch Submitted
        Release4.0.1-rc1 dev
    2016-02-23 pantxo Attached File- Added waitfor.patch, #36437
    2016-02-05 pantxo Dependencies- Depends on bugs #42490
    2016-02-04 pantxo StatusNone Duplicate

    Back to the top

    Powered by Savane 3.13-4448.
    Corresponding source code