bugGNU Octave - Bugs: bug #49665, uicontrol with normalized units...

 
 

bug #49665: uicontrol with normalized units invalid resize after (un)maximize

Submitted by:  kire pudsje <kpc>
Submitted on:  Tue 22 Nov 2016 01:35:27 AM UTC  
 
Category: Plotting with OpenGLSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Inaccurate Result
Status: DuplicateAssigned to: None
Originator Name: kpcOpen/Closed: Closed
Release: 4.2.0Operating System: Any

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Tue 22 Nov 2016 07:50:07 PM UTC, comment #4:

Ok thanks.

Pantxo Diribarne <pantxo>
Project Member
Tue 22 Nov 2016 07:46:52 PM UTC, comment #3:

Just close down this topic. I do not experience any problem when resizing. But the other bug mentions problems when making a big resize. Maximizing can be considered a very big resize, so it probably is another manifestation of the same problem. Therefore I agree it is a duplicate.

As to the inactive problem. I will perform more checks and with different theme engines, also octave vs matlab and win vs linux. If needed I will issue a dedicated bug report.

kire pudsje <kpc>
Tue 22 Nov 2016 07:17:30 PM UTC, comment #2:

Hi,

Thanks for your report. I am not sure about the "inacative" vs "visible" issue but the resizing not working properly is a known issue, see bug #44472.

Can I close this report as duplicate or do you think the second issue deserves this report to be simply retitled?

Pantxo Diribarne <pantxo>
Project Member
Tue 22 Nov 2016 06:58:23 PM UTC, comment #1:

As to my second question. This was related to the theme the company installed. Furthermore, I considered 'off' and 'inactive' to be synonyms. Turns out that the intended behaviour (of Matlab) is actually greyed out respectively normal style but inactive. Now with the default theme, both off and inactive are greyed out for a checkbox, but for a pushbutton, it is always drawn normal, regardless of state.

kire pudsje <kpc>
Tue 22 Nov 2016 01:35:27 AM UTC, original submission:

When using normalized units, resizing a window causes the uicontrols to track reasonably well (sometimes a few pixels off, but never mind that).
However when the window is (un)maximized, the uicontrol elements are not correctly resized. Dragging the border of the window (ie resize) causes the elements to be positioned properly again.

One other thing, of which I am not sure if this is a bug. I noticed when setting the enabled property in a uicontrol checkbox makes it unresponsive, as would be expected. However it is still drawn the normal way. I would have expected it to be drawn 'greyed out'.

kire pudsje <kpc>

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Digest:
   bug dependencies.

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by pantxo (Posted a comment)
  • -unavailable- added by kpc (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
    Tue 22 Nov 2016 07:50:06 PM UTCpantxoOpen/ClosedOpen=>Closed
    Tue 22 Nov 2016 07:19:16 PM UTCpantxoCategoryPlotting=>Plotting with OpenGL
      Operating SystemMicrosoft Windows=>Any
    Tue 22 Nov 2016 07:18:37 PM UTCpantxoStatusNone=>Duplicate
    Tue 22 Nov 2016 07:17:30 PM UTCpantxoDependencies-=>Depends on bugs #44472

    Back to the top


    Powered by Savane 3.1-cleanup1