bugGNU Octave - Bugs: bug #54189, uipanel doesnt show border in linux

 
 

bug #54189: uipanel doesnt show border in linux

Submitter:  John Donoghue <lostbard>
Submitted:  Tue 26 Jun 2018 03:12:10 PM UTC
   
 
Category:  GUI Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Inaccurate Result
Status:  Works For Me Assigned to:  None
Originator Name:  JohnD Open/Closed:  * Closed
Release:  * 4.4.0 Operating System:  * GNU/Linux
Fixed Release:  None Planned Release:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Jump to the original submission

Tue 26 Jun 2018 08:23:59 PM UTC, comment #9: 

Even if I do ssh -X 127.0.0.1, then it works fine.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Tue 26 Jun 2018 08:02:05 PM UTC, comment #8: 

Here some extra observations.

On some hardware the panel is off-white gray, on another it is
white.

Running octave on remote host works fine.

Dmitri.
--

Dmitri A. Sergatskov <dasergatskov>
Tue 26 Jun 2018 06:58:28 PM UTC, comment #7: 

Yes, Octave behaves correctly for me with Qt 5.10 so I don't think there is an Octave bug here. This should probably be taken up on the Fedora bug tracker since it can be reproduced with Qt outside of Octave. May be a Fedora Qt bug or may be a x11 or wayland rendering problem.

Mike Miller <mtmiller>
Group Member
Tue 26 Jun 2018 06:05:35 PM UTC, comment #6: 

Can we close this as an upstream bug?  Is Fedora Qt5.10 and Debian Qt5.10 patched differently?

Rik <rik5>
Group administrator
Tue 26 Jun 2018 05:12:43 PM UTC, comment #5: 

I tried changing boarder width and was the same.

I did jsut run QtDesigner and created a panel in thier tools and it shows the same issue when setting box and sunken, so is a Qt issue rather than a specific octave one.

John Donoghue <lostbard>
Group Member
Tue 26 Jun 2018 05:10:22 PM UTC, comment #4: 

The original example here works for me on Debian, with Qt 5.10.

Mike Miller <mtmiller>
Group Member
Tue 26 Jun 2018 04:52:51 PM UTC, comment #3: 

This works for me, but I have Qt 5.6.

Does changing the borderwidth help?  Does changing the bordertype away from 'etchedin' and then back cause a redraw?


p = uipanel('title', 'test', 'position', [0.25 0.25 0.25 0.25])
set (p, 'borderwidth', 8)
## Visible?
set (p, 'bordertype', 'none')
set (p, 'bordertype', 'etchedin')
## Visible?


The code is in libgui/graphics/Panel.cc


    else if (pp.bordertype_is ("etchedin"))
      return (QFrame::Box | QFrame::Sunken);


Maybe 5.10 has changed whether these properties can be combined?


Rik <rik5>
Group administrator
Tue 26 Jun 2018 03:31:53 PM UTC, comment #2: 

I confirm. All of the 'bordertype' properties are visible apart from 'etchedin'.

Guillaume <gyom>
Tue 26 Jun 2018 03:22:48 PM UTC, comment #1: 

setting a 'bordertype' works except for the 'etchedin' type, which is also the default.

John Donoghue <lostbard>
Group Member
Tue 26 Jun 2018 03:12:10 PM UTC, original submission:  

On my fedora 28 machine, running octave 4.4.0 and dev (QT 5.10)


p = uipanel('title', 'test', 'position', [0.25 0.25 0.25 0.25])


Doesnt show the border around the panel. In windows it works as expected.

Checking the properyies with get(p), has properties set for bordertype etchedin, borderwidth=1


John Donoghue <lostbard>
Group Member

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dasergatskov (Posted a comment)
  • -email is unavailable- added by mtmiller (Posted a comment)
  • -email is unavailable- added by rik5 (Posted a comment)
  • -email is unavailable- added by gyom (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 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2018-06-26 mtmiller Open/ClosedOpen Closed
    2018-06-26 rik5 StatusNone Works For Me
    2018-06-26 lostbard Summaryuipanel doesnt show border in linix uipanel doesnt show border in linux

    Back to the top

    Powered by Savane 3.13-4b48.
    Corresponding source code