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 694200 - Add a start page for the incognito mode
Add a start page for the incognito mode
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: General
unspecified
Other All
: Normal normal
: ---
Assigned To: Epiphany Maintainers
Epiphany Maintainers
: 690340 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-02-19 18:30 UTC by Claudio Saavedra
Modified: 2013-03-05 09:00 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
ephy-about-handler: add a about:incognito handler (2.72 KB, patch)
2013-02-19 18:30 UTC, Claudio Saavedra
reviewed Details | Review
incognito: show about:incognito instead of the overview (3.71 KB, patch)
2013-02-19 18:30 UTC, Claudio Saavedra
reviewed Details | Review
ephy-about-handler: add a about:incognito handler (15.85 KB, patch)
2013-03-01 10:34 UTC, Claudio Saavedra
committed Details | Review
incognito: show about:incognito instead of the overview (4.57 KB, patch)
2013-03-01 10:34 UTC, Claudio Saavedra
committed Details | Review

Description Claudio Saavedra 2013-02-19 18:30:48 UTC
The following patches hide the overview and add a welcome page. The text
and css could be improved, but this is a good start.
Comment 1 Claudio Saavedra 2013-02-19 18:30:50 UTC
Created attachment 236813 [details] [review]
ephy-about-handler: add a about:incognito handler

This shows a welcome message for incognito windows.
Comment 2 Claudio Saavedra 2013-02-19 18:30:53 UTC
Created attachment 236814 [details] [review]
incognito: show about:incognito instead of the overview

The overview shouldn't be shown in an incognito window as it reveals
information about the browsing activity of the user. Also, a welcome
page indicating the scope of the incognito window is better.

The text needs to be improved, and also the css, but this does for now.
Comment 3 Xan Lopez 2013-02-19 19:06:13 UTC
Review of attachment 236813 [details] [review]:

::: embed/ephy-about-handler.c
@@ +253,3 @@
+                          _("You have opened Web in incognito mode. Pages visited in this mode will not be stored "
+                            "in your history and, once you close this window, all cookies will be forgotten. Be aware "
+                            "of any malicious website, though, as we cannot prevent them from tracking your online activity."));

Just tried this, obviously needs some work. Ideally I'd land it in a more finished state before UI freeze, and specifically I'd not make people translate the string if we are going to change it. So maybe ping peolpe in #gnome-design about it?
Comment 4 Xan Lopez 2013-02-19 19:08:05 UTC
Review of attachment 236814 [details] [review]:

::: src/ephy-window.c
@@ -2791,3 @@
-	g_signal_connect_object (overview, "open-link",
-				 G_CALLBACK (overview_open_link_cb),
-				 window, 0);

I think it makes more sense to just not do this in incognito mode, for consistency's sake.

@@ -2880,3 @@
-	g_signal_handlers_disconnect_by_func (overview,
-					      G_CALLBACK (overview_open_link_cb),
-					      window);

Same.
Comment 5 Claudio Saavedra 2013-02-19 22:04:41 UTC
(In reply to comment #3)
 
> Just tried this, obviously needs some work. Ideally I'd land it in a more
> finished state before UI freeze, and specifically I'd not make people translate
> the string if we are going to change it. So maybe ping peolpe in #gnome-design
> about it?

I think we should polish it yes. I added Jon to the CC, he is our hero :)
Comment 6 Claudio Saavedra 2013-02-28 12:21:17 UTC
*** Bug 690340 has been marked as a duplicate of this bug. ***
Comment 7 Claudio Saavedra 2013-02-28 12:24:40 UTC
We need to get this through asap, we can't wait forever until we get some design.  Leaving the overview in incognito mode for 3.8 is plainly wrong and goes against the idea of this mode. So if we don't get any feedback from the design team I'll just land it as is before the next release.
Comment 8 Claudio Saavedra 2013-03-01 10:34:18 UTC
Created attachment 237694 [details] [review]
ephy-about-handler: add a about:incognito handler

This shows a welcome message for incognito windows.
Comment 9 Claudio Saavedra 2013-03-01 10:34:21 UTC
Created attachment 237695 [details] [review]
incognito: show about:incognito instead of the overview

The overview shouldn't be shown in an incognito window as it reveals
information about the browsing activity of the user. Also, a welcome
page indicating the scope of the incognito window is better.
Comment 10 Claudio Saavedra 2013-03-01 10:36:21 UTC
I added the artwork by Jakub and tweaked the css to match his design. Should look better now.
Comment 11 Xan Lopez 2013-03-01 10:46:04 UTC
Review of attachment 237694 [details] [review]:

::: data/pages/about.css
@@ +144,3 @@
+.incognito-body div#mainblock {
+  display: table;
+  max-width: 30em;

this looks really narrow in my laptop, but it could be just me. I guess we can tweak it later...
Comment 12 Xan Lopez 2013-03-01 10:47:03 UTC
Review of attachment 237695 [details] [review]:

lgtm
Comment 13 Xan Lopez 2013-03-01 10:47:34 UTC
Remember you need to ask for permission before landing these.
Comment 14 Claudio Saavedra 2013-03-05 09:00:48 UTC
Got permission from RT, fixed a few minor details and pushed.


Attachment 237694 [details] pushed as 4e23859 - ephy-about-handler: add a about:incognito handler
Attachment 237695 [details] pushed as 0b67bd0 - incognito: show about:incognito instead of the overview