Closed Bug 1439930 Opened 7 years ago Closed 7 years ago

about:preferences jumps around when entering stuff into the search box

Categories

(Firefox :: Settings UI, defect, P1)

60 Branch
defect

Tracking

()

VERIFIED FIXED
Firefox 60
Tracking Status
firefox-esr52 --- unaffected
firefox58 --- unaffected
firefox59 --- unaffected
firefox60 --- fixed
firefox62 --- verified
firefox63 --- verified

People

(Reporter: johannh, Assigned: osmose)

References

(Depends on 1 open bug)

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

STR: Open about:preferences and search for something. Note that the scrollbar appears and disappears and the search box heavily jumps. This seems to be a recent regression from bug 1426482. I'm not sure if it's only on Nightly or if it will spill over to Beta/Release anyway. In that case it would be good to have a tracking flag. Osmose, can you take a look please?
Flags: needinfo?(mkelly)
(In reply to Johann Hofmann [:johannh] from comment #0) > STR: > > Open about:preferences and search for something. Note that the scrollbar > appears and disappears and the search box heavily jumps. I can replicate this behavior, but I think the scrollbar appearing and disappearing is expected, given that the height of the page due to matching search results is changing. Unless you mean something more obviously broken than that? The width changing is probably not right, though. I'll see if I can track down the cause.
(In reply to Michael Kelly [:mkelly,:Osmose] from comment #1) > (In reply to Johann Hofmann [:johannh] from comment #0) > > STR: > > > > Open about:preferences and search for something. Note that the scrollbar > > appears and disappears and the search box heavily jumps. > > I can replicate this behavior, but I think the scrollbar appearing and > disappearing is expected, given that the height of the page due to matching > search results is changing. Unless you mean something more obviously broken > than that? Yeah, sorry, I initially thought the width changed because of the searchbar, but you're right, it appears and disappears in other builds, too. > The width changing is probably not right, though. I'll see if I can track > down the cause. Thank you :)
Looks like the cause is the length of the text in the new pref checkbox we added; it causes the parent containers to stretch beyond their normal width when it is present. I can replicate with the commit before bug 1426482 by making the crash report label (alwaysSubmitCrashReports1.label) really long. I don't know a whole lot about XUL but I imagine the page should be flexible to long lines of text and wrap them. I can try to come up with a fix but it'll be slow going given my current level of XUL knowledge.
Flags: needinfo?(mkelly)
Okay, I'll have something for this soon.
Assignee: nobody → mkelly
Attachment #8953173 - Attachment is obsolete: true
Priority: -- → P1
Comment on attachment 8954109 [details] Bug 1439930 Wrap long pref checkbox labels in Privacy prefs. https://reviewboard.mozilla.org/r/223256/#review229654
Attachment #8954109 - Flags: review?(jaws) → review+
Pushed by mkelly@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/539f995aea77 Wrap long pref checkbox labels in Privacy prefs. r=jaws
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 60
Flags: qe-verify+
I managed to reproduce the issue on Ubuntu 16.04 x64 using an older version of Nightly 2018-02-21. I retested everything on latest Nightly 61.0a1 and beta 60.0b6 using Windows 10 x64, Ubuntu 16.04 x64 and macOS 10.13 and I noticed a few things: - the search bar is not jumping anymore (this issue I could reproduce only on Ubuntu) - the scrollbar is still changing length randomly (it doesn't appear and disappear) - also, when the text is deleted (using "Backspace") the page is glitching. This doesn't happen so bad when the text is being written. In this situation the transition is made smoothly, only when the text is deleted the page glitches. Please look at the attached gif to see what I am referring to. Is this normal behaviour or is it a known issue?
Flags: needinfo?(mkelly)
jaws is a better person to answer this, I don't really know what's expected for the preferences. I agree with you that they could be normal behavior or things we want to polish and make smoother though. I think the width of the page and the searchbox moving horizontally were regressions from bug 1426482, and the rest seem unrelated.
Flags: needinfo?(mkelly) → needinfo?(jaws)
Oana, can you please retest with a new Nightly build? The scrollbar changing length and the page flickering (glitching) shouldn't happen now that bug 1446657 is fixed.
Flags: needinfo?(jaws) → needinfo?(oana.botisan)
I verified everything with the latest Nightly (2018-03-25) on Windows 10 x64, Ubuntu 16.04 and macOS 10.12 and I still get the page flickering when the text is being deleted and the scrollbar is changing length.
Flags: needinfo?(oana.botisan)
(In reply to Oana Botisan from comment #13) > I verified everything with the latest Nightly (2018-03-25) on Windows 10 > x64, Ubuntu 16.04 and macOS 10.12 and I still get the page flickering when > the text is being deleted and the scrollbar is changing length. Bouncing ni for this.
Flags: needinfo?(jaws)
Filed bug 1449658 for the follow-up patch.
Flags: needinfo?(jaws)
No longer depends on: 1449658
I verified the fix again using latest Nightly 63.0a1 and beta 62.0b7 on Windows 10 x64, Ubuntu 16.04 x64 and Mac OS 10.11. The bug is not reproducing anymore.
Status: RESOLVED → VERIFIED
Flags: qe-verify+ → in-qa-testsuite+
Depends on: 1534133
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: