Closed
Bug 534750
Opened 16 years ago
Closed 15 years ago
make shift-reload work in fennec
Categories
(Firefox for Android Graveyard :: General, defect)
Tracking
(Not tracked)
VERIFIED
FIXED
Future
People
(Reporter: madhava, Assigned: mwu)
References
Details
Attachments
(1 file, 1 obsolete file)
2.32 KB,
patch
|
Details | Diff | Splinter Review |
Sometimes you really have to leave your cache behind. We should make Shift-Reload work so that you can do this (this is how it works in desktop firefox).
While we're at it, Ctrl-R doesn't work for reload in Fennec at the moment, but should. In that case, Ctrl-Shift-R would also do the fuller refresh.
Assignee | ||
Comment 1•16 years ago
|
||
This takes a simple and dumb approach to adding ctrl-r, ctrl-shift-r, and shift-F5. Not sure what people prefer here. Firefox does fancier things to handle shift when shift reloading.
Assignee: nobody → mwu
Assignee | ||
Updated•16 years ago
|
Attachment #419062 -
Flags: review?(gavin.sharp)
Blocks: 523730
Assignee | ||
Updated•16 years ago
|
OS: Mac OS X → All
Hardware: x86 → All
Comment 2•16 years ago
|
||
Comment on attachment 419062 [details] [diff] [review]
Add more refresh keys
>diff -r 34179ce6dd5c chrome/content/browser-ui.js
>+ case "cmd_forceReload":
>+ {
>+ const reloadFlags = Ci.nsIWebNavigation.LOAD_FLAGS_BYPASS_PROXY |
>+ Ci.nsIWebNavigation.LOAD_FLAGS_BYPASS_CACHE;
>+ browser.reloadWithFlags(reloadFlags);
>+ break;
>+ }
The Firefox equivalent attempts to use nsSHistory::Reload if it can, and despite the comment I couldn't figure out why. I ended up at bug 68847 comment 16, which isn't particularly helpful and might just be irrelevant now, so I think we should just go with this for now and can re-investigate if something ever comes up (seems unlikely)!
>diff -r 34179ce6dd5c chrome/content/browser.xul
>+ <command id="cmd_forceReload" label="&reload.label;" oncommand="CommandUpdater.doCommand(this.id);"/>
Let's not add a label here. It's cruft left over from when we had a key editor - wouldn't mind if you cleaned up the others too, but that's probably best left to another bug since it also involves removing strings.
>+ <key id="key_reload2" key="r" modifiers="control" command="cmd_reload"/>
>+ <key id="key_forceReload2" key="r" modifiers="control,shift" command="cmd_forceReload"/>
These want to use "accel", I think (means Cmd on Mac, Ctrl otherwise, not that it matters that much).
r=me with those changes.
Attachment #419062 -
Flags: review?(gavin.sharp) → review+
Comment 3•16 years ago
|
||
mfinkle filed bug 538676
Assignee | ||
Comment 4•16 years ago
|
||
Thanks gavin - all review comments addressed.
Attachment #419062 -
Attachment is obsolete: true
Assignee | ||
Updated•16 years ago
|
Keywords: checkin-needed
Updated•16 years ago
|
Keywords: checkin-needed
Whiteboard: [fennec-checkin-post1.0]
Comment 5•15 years ago
|
||
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → Future
Updated•15 years ago
|
Whiteboard: [fennec-checkin-post1.0]
Comment 6•15 years ago
|
||
verified FIXED on builds:
Mozilla/5.0 (X11; U; Linux armv7l; Nokia N900; en-US; rv:1.9.2.2pre) Gecko/20100217 Namoroka/3.6.2pre Fennec/1.1a2pre
and
Mozilla/5.0 (X11; U; Linux armv6l; en-US; rv:1.9.3a2pre) Gecko/20100217 Namoroka/3.7a2pre Fennec/1.1a2pre
Status: RESOLVED → VERIFIED
Updated•15 years ago
|
Flags: in-litmus?
Comment 7•15 years ago
|
||
litmus testcase https://litmus.mozilla.org/show_test.cgi?id=11803 created to regression test this bug.
Flags: in-litmus? → in-litmus+
Updated•15 years ago
|
Component: Linux/Maemo → General
OS: All → Linux (embedded)
QA Contact: maemo-linux → general
Hardware: All → ARM
You need to log in
before you can comment on or make changes to this bug.
Description
•