Open Bug 131719 Opened 23 years ago Updated 3 years ago

native scrollbars not disabled in xul-based browser (was: Text entry fiels grows extraneous scrollbars)

Categories

(Core :: XUL, defect)

x86
All
defect

Tracking

()

mozilla1.2alpha

People

(Reporter: stas-bugzilla, Unassigned)

References

()

Details

Attachments

(1 file)

When a long text is entered into text input field, sometimes on the field appear extraneous and very ugly scrollbars, which also block the field completely. See the URL: http://www.google.com/search?hl=en&ie=ISO-8859-1&oe=ISO-8859-1&q=some+rather+long+quesry+to+test+Mozilla+function for example, it shows the picture I'll attach.
Worksforme, linux build 2002-03-18-06. Does this happen with all themes? Or just some themes?
Summary: Text entry fiels grows extraneous scrollbars → Text entry fiels grows extraneous scrollbars
Ah, Moriarty ... we meet again. This is bug 42273. Look in your prefs.js file in your profile directory (under ~/.mozilla somewhere). You should see a line like this: user_pref("nglayout.widget.gfxscrollbars", false); Shut down the browser, remove that line, and then start again. Your problem should be fixed. (I guess that you must have flipped that on in a very old (ca. 2000) build, since the UI for setting that pref was removed long ago). The use of native scrollbars is not supported in a xul-based mozilla (although embedded apps may implement this differently). In bug 44576, the effect of this pref was forced to be disabled (in nsCSSFrameConstructor.cpp). However, pinkerton (for good reason) restored the effect of this pref, so that you can use native scrollbars again. I suppose we need a little more robust way of disabling native scrollbars in mozilla, while still allowing embeddors to make use of native implementations (e.g., perhaps a build time flag?). Nominate nsbeta1/mozilla1.0 since the consequence of allowing this pref to have effect in a xul browser is that the browser becomes (close to) unusable. (this is also reproducible on win32 and likely mac).
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: mozilla1.0, nsbeta1
OS: Linux → All
Summary: Text entry fiels grows extraneous scrollbars → native scrollbars not disabled in xul-based browser (was: Text entry fiels grows extraneous scrollbars)
Either turn it off at build time (shouldn't be hard) or use a new pref.
Happens with Modern theme. Actually, I see it right now when looking on this bug - fields URL and Summary have those ugly scrolls. GTK version gtk+-1.2.10-ximian.21, if this helps, GTK theme marble3D. Happens with Classic theme too.
Could you just confirm that the following line is set in your prefs.js file in your profile? user_pref("nglayout.widget.gfxscrollbars", false);
Yes, removing this line seems to have fixed the problem. Thanks.
nsbeta1- per Nav triage team.
Keywords: nsbeta1nsbeta1-
Target Milestone: --- → mozilla1.2alpha
Assignee: jag → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: