[Django] #20821: Permission names can be longer than the select box they are in

3 views
Skip to first unread message

Django

unread,
Jul 29, 2013, 11:09:42 AM7/29/13
to django-...@googlegroups.com
#20821: Permission names can be longer than the select box they are in
-------------------------------+--------------------
Reporter: django@… | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 1.5
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
In the edit group / user pages, permission names are often larger than the
select box they are placed in, which results in you being unable to see
what permissions you are adding without some form of ugly workaround such
as making the box larger with chromes inspect element. I've attached a
screenshot demonstrating this issue.

Some possible ideas to fix this...
1) Make the select box resizeable
2) Make the select box larger
3) Make the select box have a horizontal scroll bar if required
4) Display the full permission name in a tool tip on mouse over

--
Ticket URL: <https://code.djangoproject.com/ticket/20821>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Aug 16, 2013, 9:35:40 AM8/16/13
to django-...@googlegroups.com
#20821: Permission names can be longer than the select box they are in
-------------------------------+------------------------------------

Reporter: django@… | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 1.5
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by timo):

* needs_better_patch: => 0
* needs_docs: => 0
* needs_tests: => 0
* stage: Unreviewed => Accepted


--
Ticket URL: <https://code.djangoproject.com/ticket/20821#comment:1>

Django

unread,
Sep 6, 2013, 12:00:47 PM9/6/13
to django-...@googlegroups.com
#20821: Permission names can be longer than the select box they are in
-------------------------------+------------------------------------
Reporter: django@… | Owner: rmutter
Type: Bug | Status: assigned
Component: contrib.admin | Version: 1.5

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by rmutter):

* owner: nobody => rmutter
* status: new => assigned


--
Ticket URL: <https://code.djangoproject.com/ticket/20821#comment:2>

Django

unread,
Sep 6, 2013, 12:42:11 PM9/6/13
to django-...@googlegroups.com
#20821: Permission names can be longer than the select box they are in
-------------------------------+------------------------------------
Reporter: django@… | Owner: rmutter
Type: Bug | Status: assigned
Component: contrib.admin | Version: 1.5

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by aaugustin):

I think I already made the selection box larger (likely in 1.6). Can you
check how it looks like in the master branch?

--
Ticket URL: <https://code.djangoproject.com/ticket/20821#comment:3>

Django

unread,
Sep 6, 2013, 4:48:38 PM9/6/13
to django-...@googlegroups.com
#20821: Permission names can be longer than the select box they are in
-------------------------------+------------------------------------
Reporter: django@… | Owner: rmutter
Type: Bug | Status: assigned
Component: contrib.admin | Version: 1.5

Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by rmutter):

It is now bigger in master than in the screenshot attached to this ticket.
People using this widget in the admin still could have select options that
overflow outside the box. I've got a pull request that adds tooltips to
the options using the built in 'title' attribute on HTML option elements
here:
https://github.com/rmutter/django/commit/c438cc2a3653644ea42987f7e65f6f638ca85f6c.

--
Ticket URL: <https://code.djangoproject.com/ticket/20821#comment:4>

Django

unread,
Sep 6, 2013, 5:04:04 PM9/6/13
to django-...@googlegroups.com
#20821: Permission names can be longer than the select box they are in
-------------------------------+------------------------------------
Reporter: django@… | Owner: rmutter
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.5
Severity: Normal | Resolution: fixed

Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------
Changes (by Rudy Mutter <rudy@…>):

* status: assigned => closed
* resolution: => fixed


Comment:

In [changeset:"c438cc2a3653644ea42987f7e65f6f638ca85f6c"]:
{{{
#!CommitTicketReference repository=""
revision="c438cc2a3653644ea42987f7e65f6f638ca85f6c"
Fixed #20821 -- Added tooltips to Admin SelectBox widget

The Admin widget, which can be used to filter multiple selects
can sometimes be too narrow and hide information such as
user permissions. This commit adds tooltips to the select
options so that a user can hover over and see the hidden text.
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/20821#comment:5>

Django

unread,
Sep 6, 2013, 5:04:04 PM9/6/13
to django-...@googlegroups.com
#20821: Permission names can be longer than the select box they are in
-------------------------------+------------------------------------
Reporter: django@… | Owner: rmutter
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.5

Severity: Normal | Resolution: fixed
Keywords: | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+------------------------------------

Comment (by Julien Phalip <jphalip@…>):

In [changeset:"d5df914fe14fd96cec1cd3465852b8da72e7c5f6"]:
{{{
#!CommitTicketReference repository=""
revision="d5df914fe14fd96cec1cd3465852b8da72e7c5f6"
Merge pull request #1578 from rmutter/ticket_20821

Fixed #20821 -- Added tooltips to Admin SelectBox widget
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/20821#comment:6>

Reply all
Reply to author
Forward
0 new messages