While a page is loading, the refresh button is disabled, however, one can still "command-R" to refresh the page. This is not the desired behavior since the whole point of having the buttons separate is to allow one to refresh whilst the page is loading.
Are you sure this isn't just the hovering bug, bug 267403?
Yep. I'm saying it's disabled while the page is loading, not when it's finished loading.
Summary: Refreh button disabled while page is loading → Refresh button disabled while page is loading
Wevah, do you know much about this?
I think we're just returning NO for -validateToolbarItem: when the page is loading.
Summary: Refresh button disabled while page is loading → Refresh (reload) button disabled while page is loading
Attachment #226029 - Flags: review?(mozilla) → review?(nick.kreeger)
Shouldn't the refresh button *be* disabled when reloading? Pink what do you think?
Why should it be? As sam says, this is part of the whole point of having two separate buttons, and if it works, why not let people do it? Plus, the menu item is enabled while the page is loading, so the button certainly should be (or the menu item should be disabled). I for one often reload while a page is still loading.
If this is the path that we want to go down, this should include the change from bug 267403 in BrowserWindowController to update the toolbar when the page had finished loading.
[2:39pm] <pinkerton> we can give it a try and see how it feels
Read comment 0 again; it's very clear. The whole point of having separate buttons (other than preventing a nasty race condition with user clicks when stop "transforms" into reload) is to allow the user to reload at any time, and Reload needs to be enabled 99.9% of the time (except for the bit described in bug 341895) to allow that.
right. let's give it a try and see how it works out.
Oh, and r=me. cl
Comment on attachment 226029 [details] [diff] [review] Patch sr=pink
Attachment #226029 - Flags: superreview?(mikepinkerton) → superreview+
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Whiteboard: [needs checkin]
You need to log in before you can comment on or make changes to this bug.