bugGNU Octave - Bugs: bug #62868, incorrect GUI creation

 
 

bug #62868: incorrect GUI creation

Submitter:  None
Submitted:  Fri 05 Aug 2022 09:53:46 PM UTC
 
Category:  Plotting with OpenGL Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect Result
Status:  Need Info Assigned to:  None
Originator Name:  Vladimir Sovkov Originator Email:  -email is unavailable-
Open/Closed:  * Open Release:  * 7.2.0
Operating System:  * Microsoft Windows
* Mandatory Fields

Add a New Comment (Rich Markup)
   

Comment Type & Canned Response:
       

 

( Jump to the original submission )

Mon 08 Aug 2022 12:00:33 AM UTC, comment #10: 

>> _opengl_info_

warning: _opengl_info_: can not obtain OpenGL information
warning: called from
    _opengl_info_ at line 65 column 5

Windows 10 21H2 19044.1826

Anonymous
Sun 07 Aug 2022 05:45:30 PM UTC, comment #9: 

Hmm. What does `__opengl_info__` return for you? And which version of Windows are you using?

Markus Mützel <mmuetzel>
Project Member
Sun 07 Aug 2022 03:19:08 PM UTC, comment #8: 

Thanks but, unfortunately, this has not helped. Nothing changed after I had renamed opengl32.dll to opengl32.dll.

Anonymous
Sun 07 Aug 2022 02:35:56 PM UTC, comment #7: 

Afaict, different installations of Octave shouldn't interfere in that respect.

Octave for Windows bundles a mesa OpenGL driver (because "default" drivers caused crashes for some users in the past).
By default, that driver .dll should be installed in `C:\Program Files\GNU Octave\Octave-7.2.0\mingw64\bin\opengl32.dll`. Try to rename that file while Octave is not running.
When you start Octave after that, it should pick up the OpenGL drivers that are installed on your system (e.g., as part of your graphics card drivers).
Does plotting work after that?

Markus Mützel <mmuetzel>
Project Member
Sun 07 Aug 2022 01:01:21 PM UTC, comment #6: 

Indeed, `demo plot 1` works the same way: it produces an empty window titled 'Fogure 1' and nothing within. As well as any other 'plot' command I tried. Could the problem be due to I installed 7.4.0 without uninstalling 6.4.0, so that both releases of Octave presently coexist?
Best, Vladimir.

Anonymous
Sun 07 Aug 2022 08:48:59 AM UTC, comment #5: 

Also works for me on Windows 11.

Does plotting work at all for you? Or is it only uicontrol? What does `demo plot 1` show for you?

Markus Mützel <mmuetzel>
Project Member
Sat 06 Aug 2022 05:35:18 PM UTC, comment #4: 

I have attached the screenshots. Oct64.jpg is what I get with 6.4.0 (the desired window is created with all the required controls) and Oct72.jpg is what I get with 7.2.0 (the window is created but it is empty with no controls; no warning or error messages). From under the same Windows 10 system.
Best, Vladimir

Anonymous
Sat 06 Aug 2022 01:52:48 PM UTC, comment #3: 

also works for me with Octave 7.2.0 on windows 10.

Nicholas Jankowski <nrjank>
Project Member
Sat 06 Aug 2022 07:37:20 AM UTC, comment #2: 

Works for me, too, on my old Win 7 virtual box.

Torsten Lilge <ttl>
Project Member
Sat 06 Aug 2022 03:31:06 AM UTC, comment #1: 

This works on Linux 7.2.0 for me.  There might be an issue on all Windows systems or it might be a specific issue with the hardware of your machine.

Is there any warning or error printed?
Can you upload a screenshot of the created figure?

Rik <rik5>
Project Administrator
Fri 05 Aug 2022 09:53:46 PM UTC, original submission:  

Greetings!
The example provided in the documentation on the "uicontrol" does not work with the release 7.2.0 although it works successfully with the release 6.4.0, which I used previously. The code in the documentation:

## Create figure and panel on it
f = figure;
## Create a button (default style)
b1 = uicontrol (f, "string", "A Button", ...
                   "position", [10 10 150 40]);
## Create an edit control
e1 = uicontrol (f, "style", "edit", "string", "editable text", ...
                   "position", [10 60 300 40]);
## Create a checkbox
c1 = uicontrol (f, "style", "checkbox", "string", "a checkbox", ...
                   "position", [10 120 150 40]);

It looks that the same bug prevents launching my package OPTIMIZER (https://sourceforge.net/projects/optimizer-sovkov/), with this latest release, although it worked fairly well with 6.4.0.
Best regards,
Vladimir

Anonymous

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #53537:  Oct64.jpg added by None (336KiB - image/jpeg)
file #53538:  Oct72.jpg added by None (327KiB - image/jpeg)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by mmuetzel (Posted a comment)
  • -email is unavailable- added by nrjank (Posted a comment)
  • -email is unavailable- added by ttl (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by None (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 project members can vote.

     

     

     

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2022-08-07 mmuetzel CategoryGUI Plotting with OpenGL
    2022-08-06 None Attached File- Added Oct64.jpg, #53537
        Attached File- Added Oct72.jpg, #53538
    2022-08-06 rik5 StatusNone Need Info

    Back to the top


    Powered by Savane 3.9