After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 113472 - Shift+Reload should force page reload in Epiphany
Shift+Reload should force page reload in Epiphany
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: Marco Pesenti Gritti
Marco Pesenti Gritti
Depends on:
Blocks:
 
 
Reported: 2003-05-21 20:33 UTC by Christian Rose
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
implementation (9.94 KB, patch)
2003-05-23 12:28 UTC, Christian Persch
none Details | Review
much simpler patch (845 bytes, patch)
2003-05-24 09:13 UTC, Christian Persch
none Details | Review

Description Christian Rose 2003-05-21 20:33:52 UTC
Most Netscape- and Mozilla-based browsers support pressing Shift and
clicking on the Reload button as a means of forcefully reloading a page
from the server and bypassing the cached contents.

This would be useful to have in Epiphany too.
Comment 1 Dave Bordoley [Not Reading Bug Mail] 2003-05-21 23:51:47 UTC
IF we do this we ought to support an accessible keybinding as well,
perhap shift+ctrl+R. Menthos do you know of any such binding that is
commonly used?
Comment 2 Christian Rose 2003-05-21 23:58:25 UTC
http://developer.gnome.org/projects/gup/hig/1.0/userinput.html#keyboard

The HIG has shortcut recommendations for this.
Comment 3 Dave Bordoley [Not Reading Bug Mail] 2003-05-22 00:02:11 UTC
INteresting, since technically epiphany "Reload" isn't really "Reload"
as defined by the HIG, but "Smart Reload." I don't really think any
extra menu entries are necessary here, so I'm incline to bend the hig
recommendation and bind "Real Reload" as proposed here to
Shift+Ctrl+R. Menthos you agree?
Comment 4 Marco Pesenti Gritti 2003-05-22 06:48:36 UTC
Shift is sort of standard, if we change it no one will find it.
Comment 5 Dave Bordoley [Not Reading Bug Mail] 2003-05-22 15:08:08 UTC
marco, i meant in addition to shift+click on reload. Not in place of.
Comment 6 Marco Pesenti Gritti 2003-05-22 15:46:48 UTC
The way this should be implemented if someone want to take it.
It's enough to implement a special button action, a generic name would
be nice, so we can bind other special behaviors to it in case it's
necessary. The action should registered with other custom actions in
toolbar.c, and should emit a different signal for shift, or prolly
better to extend activate with a mask ...
Comment 7 Christian Persch 2003-05-23 12:28:26 UTC
Created attachment 16770 [details] [review]
implementation
Comment 8 Dave Bordoley [Not Reading Bug Mail] 2003-05-24 02:54:15 UTC
Christian:

For a11y, you should also probably support shift+return,
shift+KP_return, and shift+spacebar on the button. Also might be good
to add a generic shift+ctrl+r keybinding for this.

/me tries to make billh happy :)
Comment 9 Marco Pesenti Gritti 2003-05-24 07:28:40 UTC
I think we should use the same action for menu and toolbar. The menu
item creation should just work I guess.
Why are we using the button_release event ?
Cant we use the clicked tool button event + gtk_get_current_event ?
Comment 10 Marco Pesenti Gritti 2003-05-24 08:29:09 UTC
Ugh prolly we can use gtk_get_current_event directly in the default
callback, without requiring a custom action. Sorry for the bad tip :/
/me is cooked and is doing a lot of silly things lately
Comment 11 Marco Pesenti Gritti 2003-05-24 08:31:24 UTC
>For a11y, you should also probably support shift+return,
>shift+KP_return, and shift+spacebar on the button.

These should just work in the way I proposed.
Comment 12 Christian Persch 2003-05-24 09:13:01 UTC
Created attachment 16795 [details] [review]
much simpler patch
Comment 13 Marco Pesenti Gritti 2003-05-24 12:15:17 UTC
Looks good, please commit if you got access, otherwise I'll do it later.
Comment 14 Marco Pesenti Gritti 2003-05-25 17:26:00 UTC
checked in