Closed
Bug 61826
Opened 24 years ago
Closed 23 years ago
Double ended "smart" scrollbars on Mac OS require reload to become visible
Categories
(Core :: XUL, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
mozilla0.9.7
People
(Reporter: lordpixel, Assigned: security-bugs)
References
Details
(Keywords: verifyme)
When I first start Moz. (December 2nd, source debug build) I can't see the smart scolling arrows (2 arrows at the same end of a scrollbar) that Hyatt just implemented. When I press reload, they show up. Looks like maybe a problem with the first "bindingattached" event?
This happens everytime a new window is open (either by command-cliking a link, manually from the File menu, or at Mozilla startup). The next page you (re)load, the arrows will appear correctly. This might also be the reason why the arrows are wrong in the Page Source window. 2000120608 trunk.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Reporter | ||
Comment 2•24 years ago
|
||
Fixinf summary
Summary: Double ended "smart" scrollbars on Mac OS require to become visible → Double ended "smart" scrollbars on Mac OS require reload to become visible
Comment 4•24 years ago
|
||
bringing in the important people ;)
Comment 5•24 years ago
|
||
Since important people are here, I would like to point to another related bug 62466, where in 3pane window, the message pane scroll window is not following the Appearance settings.
Comment 6•24 years ago
|
||
->mstoltz, per hyatt - CAPS and security stuff is denying the scrollbar load, for some reason.
Assignee: hyatt → mstoltz
Assignee | ||
Comment 8•24 years ago
|
||
How do I enable the smart scrollbars? I tried enabling them in the Mac's Appearance control panel, but that doesn't seem to make them appear in Mozilla. (I'm using a build from 3/5 or so)
Comment 9•24 years ago
|
||
which skin are you using? and the bug is that you have to go to a webpage or two for them to show up in the content area. when you say "they don't appear in mozilla" what do you see?
Assignee | ||
Comment 11•24 years ago
|
||
Forget what I said, I can reproduce the bug in the Modern skin. Hyatt, what made you think the problem is in caps? I don't see any 'access denied' exceptions go by. Do you have a stack trace that passes through caps? I'm seeing the "Scrollbars in this skin are not properly supporting mac smart-scrolling prefs!" exception thrown by scrollbarBindings.xml. I will continue to delve, but let me know why you fingered caps.
Comment 12•24 years ago
|
||
I stepped far enough through to watch the load of the scrollbars be denied... something odd about the page being about:blank still.
Assignee | ||
Comment 13•24 years ago
|
||
Denied by what? By nsScriptSecurityManager::CheckScriptAccess?
Assignee | ||
Updated•24 years ago
|
Target Milestone: mozilla0.9 → mozilla0.9.1
Comment 14•24 years ago
|
||
Problem still occurring with nightly binary 2001051508 Mac OS9. Steps to reproduce: 1. Bring up Mozilla for the first time (blank page) 2. Load the URL for this bug 3. Reload the URL for this bug On the first load, the scrollbar is not "smart"; the arrows are on opposite ends. On the reload, it's smart: both arrows appear at the bottom.
Comment 15•24 years ago
|
||
setting to 0.9.2 per PDT triage
Target Milestone: mozilla0.9.1 → mozilla0.9.2
Updated•24 years ago
|
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla0.9.2 → mozilla0.9.3
Comment 17•23 years ago
|
||
I think the mailnews messagepane scrollbar problems (bug 62466 and bug 74688) are closely related to this one, for the following reasons: First, enabling javascript for mailnews makes the message-pane scrollbar behave as it should. Second, disabling javascript for navigator makes the navigator scrollbars _always_ behave badly (no smart scrolling and context menus when long clicking on the thumb). Third, if I put user_pref("capability.policy.icky.sites", "http://www.mozilla.org"); user_pref("capability.policy.icky.javascript.enabled", false); into user.js, I get scrollbars that are always badly behaved at www.mozilla.org, but not at mozilla.org (or elsewhere). It seems that the problem is that the scrollbar's permissions are those of the scrolled content area (which, per Hyatt's comment, might be anomalous during the first load into a window) rather than those of chrome. The difference seems to be that in this bug the problem manifests itself as denied DOM access whereas in the mailnews message-pane bugs the problem shows up as denied script access. I came to this conclusing after removing the try/catch in the initScrollbar method in scrollbar.xml. Having done so, I saw access to property denied messages in the javascript console when first loading a page into a new window (as in this bug) and when opening the view source window. I didn't see any js console errors at all in the mailnews case. Could these two cases be fixed simultanously, or should perhaps the mailnews bugs be transferred to security:caps?
Comment 18•23 years ago
|
||
*** Bug 93405 has been marked as a duplicate of this bug. ***
Comment 20•23 years ago
|
||
*** Bug 102406 has been marked as a duplicate of this bug. ***
Assignee | ||
Comment 21•23 years ago
|
||
time marches on. Retargeting to 0.9.6.
Target Milestone: mozilla0.9.5 → mozilla0.9.6
Comment 22•23 years ago
|
||
mitch, if i buy you a 6-pack of your favorite beverage, will you fix this? ;)
Assignee | ||
Comment 23•23 years ago
|
||
Moving the most time-critical bugs and minor security fixes to 0.9.7
Target Milestone: mozilla0.9.6 → mozilla0.9.7
Reporter | ||
Comment 24•23 years ago
|
||
This now works for me in any recent build. Tested both skins, classic and modern. Someone verify
Comment 25•23 years ago
|
||
no way. it does work. how did this get fixed?!
You need to log in
before you can comment on or make changes to this bug.
Description
•