bugGNU Octave - Bugs: bug #54065, Colors of a uicontrol pushbutton

 
 

bug #54065: Colors of a uicontrol pushbutton

Submitted by:  Guillaume <gyom>
Submitted on:  Tue 05 Jun 2018 04:14:51 PM UTC  
 
Category:  Plotting Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Regression
Status:  Works For Me Assigned to:  None
Originator Name:  Guillaume Open/Closed:  Closed
Release:  dev Operating System:  GNU/Linux

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)

Fri 22 Jun 2018 02:47:38 PM UTC, comment #6:

Closing for now.

Rik <rik5>
Project Administrator
Fri 22 Jun 2018 10:10:54 AM UTC, comment #5:

I upgraded my OS (to openSUSE Leap 15.0) and pushbuttons are now displayed correctly with both 4.4 and dev (see attachment). I still see the issue when running Octave from a VM though. This makes me wonder whether it can be related to the graphics drivers...
Given that I was the only one to complain about this and that I don't observe the issue any more on my main development platform, I suggest we close this bug report for now and re-open it later if further details emerge.

(file #44416)

Guillaume <gyom>
Thu 14 Jun 2018 09:14:05 AM UTC, comment #4:

Separating the creation of figure and uicontrol or manually changing colors of the uicontrol object do not change the display. I don't think it's a race condition here.
I add @dastew in this bug report as he could confirm the issue too.

Guillaume <gyom>
Wed 13 Jun 2018 04:49:03 PM UTC, comment #3:

@Guillaume: Did separating the creation of the figure and the call to uicontrol change the behavior at all? There are still various race conditions in the GUI interface.

Also, if you manually change the colors of the uicontrol object can you get them to work?

Rik <rik5>
Project Administrator
Wed 13 Jun 2018 09:44:30 AM UTC, comment #2:

Trying on a different platform, the colors are not as expected on both packaged 4.4 and self-compiled dev. When I asked on IRC, some reported it displayed ok for them but others saw the same thing than me (e.g. Doug if I remember correctly).

Guillaume <gyom>
Tue 12 Jun 2018 03:35:25 PM UTC, comment #1:

This works for me. The pushbutton with Qt5 using a self-compiled version of the dev branch has a green background and red text.

This is likely to be something machine specific to the particular libraries you have installed and which ones were found by configure when you compiled Octave.

Another thing to try would be to create the figure first, just to make sure there are no race conditions, and then create the button.

Rik <rik5>
Project Administrator
Tue 05 Jun 2018 04:14:51 PM UTC, original submission:

Running the following on Octave 4.4 and dev:

I get different displays, see attached screenshot.

Octave 4.4 is provided by a system package (Qt4) while dev is compiled with Qt5. According to some tests made by others (on IRC) it doesn't seem to relate directly to Octave or Qt version.

Guillaume <gyom>

 

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

Attach Files:
   
   
Comment:
   

Attached Files
file #44416:  pushbutton2.png added by gyom (4KiB - image/png)
file #44303:  pushbutton.png added by gyom (4KiB - image/png)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by gyom
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by gyom (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only project members can vote.

     

     

     

    Follow 5 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-22 rik5 Open/ClosedOpen => Closed
    2018-06-22 gyom Attached File- => Added pushbutton2.png, #44416
    2018-06-14 gyom Carbon-Copy- => Added dastew
    2018-06-12 rik5 StatusNone => Works For Me
    2018-06-05 gyom Attached File- => Added pushbutton.png, #44303

    Back to the top


    Powered by Savane 3.3