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 699602 - Should allow running non-private-mode standalone instances with different profile directories
Should allow running non-private-mode standalone instances with different pro...
Status: RESOLVED FIXED
Product: epiphany
Classification: Core
Component: Profile
git master
Other Linux
: Normal normal
: ---
Assigned To: Gustavo Noronha (kov)
Epiphany Maintainers
Depends on:
Blocks:
 
 
Reported: 2013-05-03 16:37 UTC by Gustavo Noronha (kov)
Modified: 2013-05-03 19:28 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Fix (2.51 KB, patch)
2013-05-03 16:41 UTC, Gustavo Noronha (kov)
committed Details | Review

Description Gustavo Noronha (kov) 2013-05-03 16:37:06 UTC
The use case here is mainly development and testing. When working on features such as saving/restoring passwords we need Web to behave as if it was in a regular session, but it's inconvenient to use our regular browser process/profile for that.
Comment 1 Gustavo Noronha (kov) 2013-05-03 16:41:31 UTC
Created attachment 243218 [details] [review]
Fix
Comment 2 Xan Lopez 2013-05-03 19:00:17 UTC
Review of attachment 243218 [details] [review]:

OK.

::: src/ephy-main.c
@@ +414,3 @@
     mode = EPHY_EMBED_SHELL_MODE_PRIVATE;
+  else if (profile_directory)
+    mode = EPHY_EMBED_SHELL_MODE_STANDALONE;

It's probably worth adding here a comment saying the only point of this mode is to prevent the shell from setting the unique flag (since that's what happens for BROWSER mode).