Toolbar actions buttons are not placed dynamically

Bug #1177123 reported by Nekhelesh Ramananthan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ubuntu UI Toolkit
Fix Released
High
Tim Peeters
ubuntu-ui-toolkit (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

After the latest changes to the toolbar code, the toolbar action button are awkwardly placed in the toolbar.

To illustrate this, see Screenshot #1. You will notice that the buttons "Add Preset" and "Edit" are not flushed to the right. This is because there is another toolbar button "Delete" which is not visible. This can be seen in Screenshot #2.

Previously, the toolbar buttons always flushed to a corner when any toolbar button was not visible.

Related branches

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :
Revision history for this message
Florian Boucault (fboucault) wrote :

Which version of the toolkit are you testing with?

Changed in ubuntu-ui-toolkit:
assignee: nobody → Tim Peeters (tpeeters)
importance: Undecided → High
Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

I currently still experience the issue with qtdeclarative5-ubuntu-ui-toolkit-plugin 0.1.46daily13.05.01ubuntu.unity.nextbzr484raring0. However it is difficult to find out at which version exactly the problem started appearing. Although if I recall, the moment the toolbar properties were deprecated, I started noticing the issue.

Revision history for this message
Tim Peeters (tpeeters) wrote :

Could you please add a small/simple example qml program that demonstrates the bug?

Revision history for this message
Nekhelesh Ramananthan (nik90) wrote :

@Tim, sorry for the delay. I created an example project and added code to illustrate the problem. While executing the code, reveal the toolbar and then press the "Add Preset" button. The edit and delete button are hidden. However the "Add Preset" no longer dynamically shifts to the far right position making it look odd.

Tim Peeters (tpeeters)
Changed in ubuntu-ui-toolkit:
status: New → In Progress
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:ubuntu-ui-toolkit at revision None, scheduled for release in ubuntu-ui-toolkit, milestone Unknown

Changed in ubuntu-ui-toolkit:
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntu-ui-toolkit - 0.1.46daily13.06.20-0ubuntu1

---------------
ubuntu-ui-toolkit (0.1.46daily13.06.20-0ubuntu1) saucy; urgency=low

  [ tpeeters ]
  * Replace ToolbarActions by ToolbarItems and use ActionItem as a
    visual representation of Actions. (LP: #1177123)

  [ Ubuntu daily release ]
  * Automatic snapshot from revision 550
 -- Ubuntu daily release <email address hidden> Thu, 20 Jun 2013 04:01:27 +0000

Changed in ubuntu-ui-toolkit (Ubuntu):
status: New → Fix Released
Changed in ubuntu-ui-toolkit:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.