Closed Bug 481359 Opened 16 years ago Closed 16 years ago

Mouse shouldn't show spinner while pages are transferring

Categories

(Core :: General, defect)

defect
Not set
normal

Tracking

()

VERIFIED FIXED
mozilla1.9.2a1

People

(Reporter: sayrer, Assigned: mstange)

References

Details

(Keywords: verified1.9.1, Whiteboard: [polish-hard] [polish-interactive] calm-ui [polish-p1])

Attachments

(1 file)

This has never looked good. It tends to flicker too much and look generally low rent. This is a mouse pointer with a circle off to the side.
Attached patch fix v1Splinter Review
Assignee: nobody → mstange
Status: NEW → ASSIGNED
Attachment #365464 - Flags: ui-review?(faaborg)
Attachment #365464 - Flags: review?(bzbarsky)
Comment on attachment 365464 [details] [diff] [review] fix v1 Seems like this should be an app-level preference, not Gecko policy.
Attachment #365464 - Flags: review?(bzbarsky) → review-
(In reply to comment #2) > (From update of attachment 365464 [details] [diff] [review]) > Seems like this should be an app-level preference, not Gecko policy. build time? we have to stop preffing out every behavior change...
What application will want it, and not be able to do it at the app level with a cursor change? I think this is a saner default, and would be pretty surprised if an app would prefer the flickery current behaviour.
Comment 3 is not really compatible with the whole "multiple apps use same xulrunner" thing. Which is why we have prefs for behavior that said apps might want to differ on... I'm not sure what "cursor change" comment 4 means...
In particular, there is no way I know of to show the "busy" cursor on things which otherwise would be default/auto while showing the hand cursor on links, say, without this code...
I think we should see if there are actually any applications that want the current flickery stuff before we add the complexity of a pref. We shouldn't pref everything just because someone might want it, since everyone has to bear the cost of the code.
I can live with that, though I'm not sure why people keep saying it's flickery. Do you mean that it changes as you move the mouse around or something else? Also, note that the code is there to start with because a particular app did want the behavior in the past....
Comment on attachment 365464 [details] [diff] [review] fix v1 This looks ok code-wise, for sure. I'm semi-convinced we can just rip it out, since no other browser seems to do this.
Attachment #365464 - Flags: review- → review+
(In reply to comment #8) > I can live with that, though I'm not sure why people keep saying it's flickery. > Do you mean that it changes as you move the mouse around or something else? If a site loads quickly, it pops in briefly. On more complex sites, it flickers as ad networks and things load in. http://www.yahoo.com is an example. It's really only working well when you try to visit a site that's responding slowly, like submitting a bugzilla form. But even then, it's redundant, because we have other throbbers.
Ah, ok. Fair point.
IMHO the (semi)busy cursor is a good thing, having a throbber on the far top-right corner of the app doesn't tell the user "be patient, we're getting/laying out your page for you!", in fact most users probably don't really pay much attention to it. OTOH the busy cursor does. The "flickering" is just a sign that Firefox is too fast :) . This could be tweaked though, so that it doesn't show in some cases (i.e. in the case of image loading). Just My .02
(In reply to comment #12) > IMHO the (semi)busy cursor is a good thing, having a throbber on the far > top-right corner of the app doesn't tell the user "be patient, we're > getting/laying out your page for you!" That's just the problem. It often happens when there is no need to be patient.
and, actually, the spinner does move the mouse pointer one pixel left, and one pixel up. gross!
Attachment #365464 - Flags: ui-review?(faaborg) → ui-review+
Comment on attachment 365464 [details] [diff] [review] fix v1 uir=beltzner Pretty sure faaborg will agree; this isn't platform standard, and the feedback (as Rob says) is a duplication of our existing "loading" indicator, distracting, and often misleading. The only time I've found this useful is when we're doing an XHR in a frame and I need to see if that's loading, but really, we should just be doing better there about figuring out how to relay progress (or the web author should)
Product: Firefox → Core
QA Contact: general → general
Yep, I totally agree, and am also a little embarrassed that I never caught this myself when looking for polish problems.
Whiteboard: [polish-hard] [polish-interactive]
Yeah, XHR in a frame should really not be triggering this. If it was, that's a good reason to just nix it.
Whiteboard: [polish-hard] [polish-interactive] → [polish-hard] [polish-interactive] calm-ui
Attachment #365464 - Flags: superreview+
OS: Mac OS X → All
Hardware: x86 → All
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.2a1
Hmm, I'm still getting a spinner clicking on the Facebook navigation. How would that happen?
I'll see if I have missed something.
Facebook does it. I found this in their source code: element.style.cursor = document.body.style.cursor = 'progress';
Depends on: 482985
Comment on attachment 365464 [details] [diff] [review] fix v1 We'd like to see this polish bug landed on branch, so requesting approval.
Attachment #365464 - Flags: approval1.9.1?
Just wanted to point out a bug has been open because of this bugfix: https://bugzilla.mozilla.org/show_bug.cgi?id=482985 That spinner was actually useful to many users. It might not have been perfect but it served a role. Now there's nothing.
Comment on attachment 365464 [details] [diff] [review] fix v1 a191=beltzner
Attachment #365464 - Flags: approval1.9.1? → approval1.9.1+
Blocks: 487382
verified FIXED using https://litmus.mozilla.org/run_tests.cgi and spanning through queries as well as test suites on builds: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.2a1pre) Gecko/20090430 Minefield/3.6a1pre ID:20090430031133 and Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b5pre) Gecko/20090430 Shiretoko/3.5b5pre ID:20090430031222 Thanks guys!
Status: RESOLVED → VERIFIED
(In reply to comment #10) > we have other throbbers. I've obviously got used to one particular case - when links open a new window, the spinner is the only indication you have that your click actually worked...
This bug's priority relative to the set of other polish bugs is: P1 - Polish issue that appears in the main window, or is something that the user may encounter several times a day. page loads are obviously pretty common, making this bug clearly something that the user was encountering several times a day.
Whiteboard: [polish-hard] [polish-interactive] calm-ui → [polish-hard] [polish-interactive] calm-ui [polish-p1]
I'm unclear as to how this bug was "verified fixed". Did the code to have a load cursor get expunge, did a pref get added so users can have it back? I suspect that the former is the case bt the comments here suggest the later. Which is it? And if a pref was added what's it name?
> Did the code to have a load cursor get expunge Yes. You can read the patch, if desired; it's attached to this bug!
You might want to just go talk onto 482985 which is about fixing the aftermath of this "bug".
No longer blocks: 510919
Depends on: 510919
No longer depends on: 510919
Depends on: 573385
Depends on: 603594
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: