Project dropdown list in horizon is truncated unexpectedly

Bug #1628210 reported by Garrett Hayes
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Invalid
Undecided
Unassigned

Bug Description

When assigning 15+ projects to a single user, the Horizon dropdown menu that allows quick project selection unexpectedly truncates the list.

When using this dropdown menu with 15+ projects, the menu is not scrollable and not all projects are visible and selectable.

Verified in Openstack Mitaka on Ubuntu 14.04.

Tags: horizon-core
Eddie Ramirez (ediardo)
Changed in horizon:
status: New → Incomplete
Revision history for this message
Eddie Ramirez (ediardo) wrote :

Hi Garret,

I couldn't reproduce the bug. I did this:
- I created 15 projects and assigned to an user
- Clicked on the dropdown to change my project.
- I was able to see more than 15 projects.

See Screenshot: http://pasteboard.co/efgMpUp1t.png

Make sure you don't have a custom maximum number of items to display in a dropdown in this variable: https://github.com/openstack/horizon/blob/master/openstack_dashboard/local/local_settings.py.example#L404-L405

I set the variable to 10 and saw only 10 projects: http://pasteboard.co/efkX4cOWR.png

Revision history for this message
Eddie Ramirez (ediardo) wrote :

Tested on 9.1.0

Revision history for this message
Garrett Hayes (garretthayes) wrote :

Didn't see this in the documentation anywhere - you are correct about this setting. Please mark as invalid.

Eddie Ramirez (ediardo)
Changed in horizon:
status: Incomplete → Invalid
Revision history for this message
Tijo Varghese (tijo) wrote :

Hello,
On Ocata openstack, created 50 Projects & assigned it to user but on the Horizon dashboard the dropdown lists only 30 Projects, which is default value in /etc/openstack-dashboard/local_settings.py. Changed the value of
# Specify a maximum number of items to display in a dropdown.
DROPDOWN_MAX_ITEMS = 55

to 55 and restarted apache and memcached services. still the dropdown is only reflecting only 30 items.
Can someone help..

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.