Closed Bug 453337 Opened 17 years ago Closed 17 years ago

enter_bug (New Bug) UI bounces up and down when you change the component because description changes height

Categories

(Bugzilla :: User Interface, defect, P1)

Tracking

()

RESOLVED FIXED
Bugzilla 3.2

People

(Reporter: vlad, Assigned: guy.pyrzak)

References

Details

Attachments

(8 files, 5 obsolete files)

The enter new bug UI now takes up enormous amounts of screen real estate -- there is significant wasted white space on the left (see attachment). Also, as you select components, the rest of the page bounces up and down because the 'component description' block constantly changes size.
Based on your screenshot, it appears to be the fault of the number of flags present. The only way I can think of to fix this is to either put the flags in a scrollable box, or do something like bug 453279 with them.
Yes, the left size expands if there are many flags, compare the first screenshot with this one (which I took in fullscreen mode because my display isn't as high as the reporter's)
P.S. I don't see the bug bouncing up and down as I select different components: could the different Bugzilla skin be a factor?
Let's focus this bug on one issue (one that we can fix easily) and then if you want, you can file another bug for the flags issue (which takes a bit more thought).
Assignee: nobody → ui
Severity: normal → minor
Component: Bugzilla: Other b.m.o Issues → User Interface
Product: mozilla.org → Bugzilla
QA Contact: other-bmo-issues → default-qa
Hardware: PC → All
Summary: new bug UI wastes space and bounces up and down → enter_bug (New Bug) UI bounces up and down when you change the component
Version: other → 3.2
The fix here would be the max-height the box, if that works, and give it an overflow: auto.
Oh, sorry, forget my comment #3, in Konqueror I do see up-down bouncing. I guess my userChrome.css makes what I see "better than default". There was a mid-air, and I'm not retyping it because your comment #5 makes me think that the same fix ("height: 6em; overflow:auto" or something similar) could be applied to the <div> or <td> or whatever containing the component description.
oops, sorry, I thought you were talking about fix-sizing the flags. I should go to sleep now and leave Bugzilla alone. Sorry.
i'm using dusk and the component descriptions for the first 4 or so components in core cause the bouncing. could you fix that?
Assignee: ui → guy.pyrzak
Summary: enter_bug (New Bug) UI bounces up and down when you change the component → enter_bug (New Bug) UI bounces up and down when you change the component because description changes height
Priority: -- → P1
Attached patch fix for bouncing bug V1 (obsolete) — Splinter Review
Attachment #336796 - Flags: review?(mkanat)
Comment on attachment 336796 [details] [diff] [review] fix for bouncing bug V1 I think heights make more sense in ex, not in em. Also, nit: remove the space at the end of that fieldset.
Attachment #336796 - Flags: review?(mkanat) → review-
Comment on attachment 336796 [details] [diff] [review] fix for bouncing bug V1 And comp_desc is a fieldset, not a div.
Attached file fix for bouncing bug V2 (obsolete) —
Attachment #336796 - Attachment is obsolete: true
Attachment #336805 - Flags: review?(mkanat)
Attached patch fix for bouncing bug V3 (obsolete) — Splinter Review
Attachment #336805 - Attachment is obsolete: true
Attachment #336807 - Flags: review?(mkanat)
Attachment #336805 - Flags: review?(mkanat)
Attachment #336807 - Flags: review?(mkanat) → review+
Comment on attachment 336807 [details] [diff] [review] fix for bouncing bug V3 Please remove that extra space at the end of the <fieldset> tag when you check this in.
How many lines are displayed at once? 4?
Flags: approval3.2+
Flags: approval+
Target Milestone: --- → Bugzilla 3.2
max turns out (after looking at firebug) that there was already a rule for the comments area, so instead of adding all that other stuff i just gave it the height. Much cleaner patch
Attachment #336807 - Attachment is obsolete: true
Attachment #336984 - Flags: review?(mkanat)
Attachment #336984 - Flags: review?(mkanat) → review+
Checking in skins/standard/global.css; /cvsroot/mozilla/webtools/bugzilla/skins/standard/global.css,v <-- global.css new revision: 1.47.2.2; previous revision: 1.47.2.1 done and Checking in skins/standard/global.css; /cvsroot/mozilla/webtools/bugzilla/skins/standard/global.css,v <-- global.css new revision: 1.49; previous revision: 1.48 done
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Could we make the description box taller? Having only two lines displayed at once is really painful to read. E.g. the User Interface description in the Bugzilla product is 9 lines long. Scrolling doesn't work because it jumps 3 lines at once and so you miss one line every 3 lines. You can test this yourself at https://bugzilla-stage-tip.mozilla.org/enter_bug.cgi?product=Bugzilla&component=User Interface IMO, 4 or 5 lines should be displayed at once. Reopening!
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Flags: blocking3.2+
Clearing approvals till the height is updated.
Flags: approval3.2+
Flags: approval+
Attached patch patch with the hight bigger (obsolete) — Splinter Review
Attachment #339095 - Flags: review?(LpSolit)
Comment on attachment 339095 [details] [diff] [review] patch with the hight bigger >+ height: 10ex; I discussed this with pyrzak on IRC, and for visual reasons, the bottom of the component select box and the bottom of the description box should be aligned. For this, we should do the following compromise: an height of 8ex for the desc box (so that 3.5-4 lines are displayed at once, which is fine) and a size of 6 for the component box (instead of the current value of 5).
Attachment #339095 - Flags: review?(LpSolit) → review-
Attached patch patch maybe final? (obsolete) — Splinter Review
Attachment #339095 - Attachment is obsolete: true
Attachment #339311 - Flags: review?(mkanat)
Attachment #339311 - Flags: review?(LpSolit)
Attached image Image of changes
Comment on attachment 339311 [details] [diff] [review] patch maybe final? Nah, you submitted the wrong patch. :)
Attachment #339311 - Attachment is obsolete: true
Attachment #339311 - Flags: review?(mkanat)
Attachment #339311 - Flags: review?(LpSolit)
Attachment #339334 - Flags: review?(mkanat)
Attachment #339334 - Flags: review?(LpSolit)
Comment on attachment 339334 [details] [diff] [review] patch maybe final? r=LpSolit
Attachment #339334 - Flags: review?(mkanat)
Attachment #339334 - Flags: review?(LpSolit)
Attachment #339334 - Flags: review+
Flags: approval3.2+
Flags: approval+
Checking in skins/standard/global.css; /cvsroot/mozilla/webtools/bugzilla/skins/standard/global.css,v <-- global.css new revision: 1.52; previous revision: 1.51 done Checking in template/en/default/bug/create/create.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/create/create.html.tmpl,v <-- create.html.tmpl new revision: 1.88; previous revision: 1.87 done Checking in skins/standard/global.css; /cvsroot/mozilla/webtools/bugzilla/skins/standard/global.css,v <-- global.css new revision: 1.47.2.4; previous revision: 1.47.2.3 done Checking in template/en/default/bug/create/create.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/bug/create/create.html.tmpl,v <-- create.html.tmpl new revision: 1.83.2.5; previous revision: 1.83.2.4 done
Status: REOPENED → RESOLVED
Closed: 17 years ago17 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: