Closed Bug 161072 Opened 22 years ago Closed 19 years ago

Make the bug number field use 7 digits instead of 6

Categories

(Bugzilla :: User Interface, defect)

2.17
defect
Not set
trivial

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: a_geek, Assigned: caduvall)

Details

Attachments

(1 file)

Hello,

the bug number field in "Find bug # _____" has five instead of six places,
so it displays only the last five digits if you enter a six-digit number
to search for.
This actually depends on your font settings - it does this for me on one
computer, but not another.
It has six spaces on my computer, but I wouldn't object to it having seven to
work around this problem.  A little extra space doesn't hurt (sometimes it even
acts as a useful margin), and too little space can create problems.
The User Interface component now belongs to Gerv.  Reassigning all UNCONFIRMED
and NEW (but not ASSIGNED) bugs currently owned by Myk (the previous component
owner) to Gerv.
Assignee: myk → gerv
Reassigning back to Myk.  That stuff about Gerv taking over the User Interface
component turned out to be short-lived.  Please pardon our confusion, and I'm
very sorry about the spam.
Assignee: gerv → myk
Severity: normal → trivial
OS: Linux → All
Hardware: PC → All
I don't know whether this is still an issue - this bug was reported a year ago. 
If the reporter was talking about the standard footer that appears on pages, 
all that would need to be changed would be to up the size field 
at /mozilla/source/webtools/bugzilla/template/en/default/global/useful-
links.html.tmpl#39

Will supply a trivial patch tonight if wanted.

If it's not an issue anymore, or the original reporter was referring to some 
other "find bug" query spot, ignore this.
>> all that would need to be changed would be to up the size field 
at /mozilla/source/webtools/bugzilla/template/en/default/global/useful-
links.html.tmpl#39

You could also need to modify ./template/en/default/bug/edit.html.tmpl that
contains:

<input name="dup_id" size="6"

If you plan to write a patch it could help to grep the source to make sure you
modify all occurances.
Summary: bug number field has 5 instead of 6 places → Make the bug number field use 7 digits instead of 6
Apologies for any badness, this is my first stab at a patch for mozilla. This
is about as trivial as they come: widen the field size of bug number querying
from 6 to 7 in three (all) places - the main footer, the field when you call
show_bug.cgi with no arguments, and the one referenced by jocori@softhome.net.
i'd argue that this should be the (1+log(max(bug#))). For a bugzilla w/ less
than 1000 bugs, a 7 wide field would be ugly, and in a bugzilla w/ 10,000,000
bugs, a 7 wide field wouldn't be good enough. i'm not sure how expensive that
function would be.
Assignee: myk → caduvall
Target Milestone: --- → Bugzilla 2.18
Pushing out bugs that aren't blockers.  If someone's working on one of these, we
can move it back.
Target Milestone: Bugzilla 2.18 → Bugzilla 2.20
Im marking this worksforme Because the Find Number Box fits 7 numbers that are
visable and more if you keep adding them.
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
clearing target of DUPLICATE/WONTFIX/INVALID/WORKSFORME so they'll show up as
untriaged if they get reopened.
Target Milestone: Bugzilla 2.20 → ---
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: