bugGNU Octave - Bugs: bug #48136, dialog function is currently not...

 
 

bug #48136: dialog function is currently not implemented

Submitter:  John Donoghue <lostbard>
Submitted:  Sun 05 Jun 2016 11:56:12 AM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Feature Request
Status:  Fixed Assigned to:  None
Originator Name:  JohnD Open/Closed:  * Closed
Release:  * dev Operating System:  * Any
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Mon 06 Jun 2016 05:34:40 PM UTC, comment #6: 

Yeah, I think this function is still very useful as is, for creating a figure window without all the default decorations, menu bar, title, etc. Implementing the modal property would be nice in general, but dialog is still useful without it.

Mike Miller <mtmiller>
Group Member
Mon 06 Jun 2016 04:42:56 PM UTC, comment #5: 

You are right - I missed the modal property not doing anything.

My main issues were with no dialog function when running matlab written code, and it hadn't  stay modal for that.

I will take a look - at least for Qt - probably a separate bug #

John Donoghue <lostbard>
Group Member
Mon 06 Jun 2016 02:58:11 PM UTC, comment #4: 

AFAIU the main purpose of this function is to produce modal figures for use in other *dlg/msgbox functions, which is currently not possible due to the "windowstyle" figure property having no effect (neither in fltk nor in qt toolkit). Am I missing something? Are there projects to implement the missing parts in "windowstyle" property?

Pantxo Diribarne <pantxo>
Group Member
Sun 05 Jun 2016 10:03:47 PM UTC, comment #3: 

Works for me. I added dialog and uibuttongroup to the NEWS file:

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

Mike Miller <mtmiller>
Group Member
Sun 05 Jun 2016 08:20:16 PM UTC, comment #2: 
John Donoghue <lostbard>
Group Member
Sun 05 Jun 2016 05:51:04 PM UTC, comment #1: 

Looks good to me, seems to match Matlab's help page. We tend to use all lowercase property names in the Octave manual and scripts, so I would lowercase all of those. in the script and the docstring as well.

Mike Miller <mtmiller>
Group Member
Sun 05 Jun 2016 11:56:12 AM UTC, original submission:  

Patch to follow

John Donoghue <lostbard>
Group Member

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #37394:  dialog.patch added by lostbard (4KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by pantxo (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by lostbard (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 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-05 mtmiller StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2016-06-05 lostbard StatusPatch Submitted Ready For Test
    2016-06-05 mtmiller StatusNone Patch Submitted
    2016-06-05 lostbard Attached File- Added dialog.patch, #37394

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code