← Back to team overview

ubuntu-sdk-bugs team mailing list archive

[Bug 1563262] [NEW] AdvancedPageLayout ignores column's minimumWidth if MainView defaults to one column layout

 

Public bug reported:

r1905

Description:
When MainView starts in 1 column mode, AdvancedPageLayout ignores left column's minimumWidth until the window is manually resized to trigger a switch to dual panel mode and then back to one.

How to reproduce:
1) Grab the UITK code, we're going to modify the UITK gallery
2) Change the size of ubuntu-ui-toolkit-gallery.qml MainView to units.gu(30)
3) Run the gallery

Expected outcome: 
The chevron on the right side of the listitems should be visible, because minimumWidth of the left panel is currently set to units.gu(30)

Actual outcome:
The left panel minimumWidth is ignored and seems to default to 40GU, until you manually resize the window to trigger a switch to 2 columns and then shrink it to change back to the 1 column layout. At this point you'll be able to resize the window to be 30GU wide and the chevrons will still be visible.

** Affects: ubuntu-ui-toolkit (Ubuntu)
     Importance: Undecided
     Assignee: Zsombor Egri (zsombi)
         Status: New

** Changed in: ubuntu-ui-toolkit (Ubuntu)
     Assignee: (unassigned) => Zsombor Egri (zsombi)

-- 
You received this bug notification because you are a member of Ubuntu
SDK bug tracking, which is subscribed to ubuntu-ui-toolkit in Ubuntu.
https://bugs.launchpad.net/bugs/1563262

Title:
  AdvancedPageLayout ignores column's minimumWidth if MainView defaults
  to one column layout

Status in ubuntu-ui-toolkit package in Ubuntu:
  New

Bug description:
  r1905

  Description:
  When MainView starts in 1 column mode, AdvancedPageLayout ignores left column's minimumWidth until the window is manually resized to trigger a switch to dual panel mode and then back to one.

  How to reproduce:
  1) Grab the UITK code, we're going to modify the UITK gallery
  2) Change the size of ubuntu-ui-toolkit-gallery.qml MainView to units.gu(30)
  3) Run the gallery

  Expected outcome: 
  The chevron on the right side of the listitems should be visible, because minimumWidth of the left panel is currently set to units.gu(30)

  Actual outcome:
  The left panel minimumWidth is ignored and seems to default to 40GU, until you manually resize the window to trigger a switch to 2 columns and then shrink it to change back to the 1 column layout. At this point you'll be able to resize the window to be 30GU wide and the chevrons will still be visible.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-ui-toolkit/+bug/1563262/+subscriptions