Closed Bug 52663 Opened 25 years ago Closed 25 years ago

modern2: scrollbar becomes white after pressing escape or stop

Categories

(Core :: XUL, defect, P2)

defect

Tracking

()

VERIFIED FIXED

People

(Reporter: spam, Assigned: eric)

References

Details

(Whiteboard: [nsbeta3+][PDTP2])

Attachments

(2 files)

saw this yesterday as well a couple of times - now using 2000091408 to repro: 1: load todays bugs in bugzilla 2: scroll down to bottom 3: click "Find" button, and then quickly... 3: go to top of taskbar and click stop-button. Result: the slidebar button becomes tiny. If you now click on it, it will vanish. So will the up/down arrow widgets on scrollbar. (The scrollbar still works however) If you have problems reconstructing, try some more times. (Another error is how scrollbar can becomes completely unresponsive instead. Reload and try from step 1)
->future
Target Milestone: --- → Future
*** Bug 52731 has been marked as a duplicate of this bug. ***
i disagree with futuring this one. It is very common that users click stop during a page-load, and it will become an extremely visible bug. It affects the newmod theme. Clicking ESC has same effect, as observed in the first dup.
Feel free to escalate the decision to pdt@netscape.com
Two notes: (1) this is only in one skin (newmod). (2) It is the images that disappear, not the scrollbar (i.e. scrolling remains fully functional, modulo the fact that you're not entirely sure where the thumb, etc., is located. This is really a layout bug, I think.
it may be related to the bug about vanishing buttons (bug 50652) again believed to be caused by bug 51267 and maybe bug 51249 (just fixed).
->evaughan for possible reassignment to layout.
Assignee: trudelle → evaughan
additional observation: What vanishes first is the top and bottom of the scrollbar slider. The middle of it (with the stripes) remains at this point. (Which is why it looks so small.) Clicking it will now make the rest of it disappear too, so will clicking scrollbar arrows.
I've noticed this on windows too -> all/all. Could this be related to the esc stopping animations?
OS: Linux → All
Hardware: PC → All
Summary: scrollbar widgets can vanish → scrollbar becomes white after pressing escape or stop
Should this be a "themes" bug because it happens only in new modern?
Keywords: newmod
Summary: scrollbar becomes white after pressing escape or stop → modern2: scrollbar becomes white after pressing escape or stop
probably a "skinability" bug. As for comment about animation: At the point ESC or stop-button is clicked the scrollbar isn't animating anything. I've seen a similar thing when stopping/ESC'ing pages with css; both colors and images can vanish then. The scrollbar behaviour is likely described in some .css file? Figuring out why those "faint" when load is stopped may be the clue to solving this bug as well.
Eric, see comments by attinasi at end of bug 49222 (see also dup bug 48411, which was for exactly the problem of scrollbar images disappearing when the stop/esc is triggered).
Well it looks like this happens because hitting the stop button stops all image loading even chrome. This wrong it should only apply to html and not the chrome in the html. Layout should not be doing this! nominating for beta3
Status: NEW → ASSIGNED
Keywords: newmodnsbeta3
nsbeta3+, P2: Highly visible, loss of basic functionality, workaround not obvious to end-users.
Priority: P3 → P2
Whiteboard: [nsbeta3+]
Target Milestone: Future → M18
I have a fix for this. I'll post a patch soon. Basically I added an argument called aStopChrome to Stop() in nsIPresContext. By default the argument is PR_TRUE. If you pass false it stops all images except those that point to chrome URLS. Currently all chrome URLs are local to your machine by definition so they can't be remote. I think this is a pretty safe solution for 6.0.
Regarding the patch: What is the deal with mImagesStopped on the PresContext? The new member variable is never initialized and never set, but it is checked in StartLoadImage? Am I missing something?
Ok all I did is add a variable called mStopChrome which recorded whether or not chrome had been stopped. If it hasn't it will continue to allow chrome images to be loaded. I've tested this on windows and linix and it sees to work pretty well.
PDT agrees P2
Whiteboard: [nsbeta3+] → [nsbeta3+][PDTP2]
fixed
fixed
Status: ASSIGNED → RESOLVED
Closed: 25 years ago
Resolution: --- → FIXED
I think that was more of a chrome-specific workaround than a fix. See bug 53484 for some similar problems.
well a chrome specific workaround was kinda required. Wonder if this will improve the situation with vanishing buttons too. When the whole GUI starts to fall apart when clicked on "at the wrong time"...that's Bad. I hope 53484 is covered by 49222..
verified fixed. 20000921nn mac/linux/win32 -- can't get the chrome scrollbars to white out, etc.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: