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

 
 

bug #48136: dialog function is currently not implemented

Submitted by:  John Donoghue <lostbard>
Submitted on:  Sun 05 Jun 2016 11:56:12 AM UTC  
 
Category: GUISeverity: 3 - Normal
Priority: 5 - NormalItem Group: Feature Request
Status: FixedAssigned to: None
Originator Name: JohnDOpen/Closed: Closed
Release: devOperating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

(Jump to the original submission 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>
Project Administrator
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>
Project 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>
Project 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>
Project Administrator
Sun 05 Jun 2016 08:20:16 PM UTC, comment #2:

Pushed http://hg.savannah.gnu.org/hgweb/octave/rev/f1f17f13b3b9 with changes as per comment #1

John Donoghue <lostbard>
Project 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>
Project Administrator
Sun 05 Jun 2016 11:56:12 AM UTC, original submission:

Patch to follow

John Donoghue <lostbard>
Project Member

 

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

Attach File(s):
   
   
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
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by mtmiller (Posted a comment)
  • -unavailable- added by lostbard (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
    Sun 05 Jun 2016 10:03:47 PM UTCmtmillerStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Sun 05 Jun 2016 08:20:16 PM UTClostbardStatusPatch Submitted=>Ready For Test
    Sun 05 Jun 2016 05:51:04 PM UTCmtmillerStatusNone=>Patch Submitted
    Sun 05 Jun 2016 11:57:49 AM UTClostbardAttached File-=>Added dialog.patch, #37394

    Back to the top


    Powered by Savane 3.1-cleanup1