unity-scope-chromiumbookmarks only searches default profile

Bug #1156706 reported by Alan Pope 🍺🐧🐱 🦄
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Scopes
Fix Released
Low
Unassigned
Unity
Fix Released
Low
Unassigned
unity (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

The new unity-scope-chromiumbookmarks from http://ppa.launchpad.net/ubuntu-unity/experimental-prevalidation/ubuntu/ searches chromium bookmarks, but only searches those in the first default chromium profile. Users with multiple profiles will not see the bookmarks in other profiles...

This line in unity_chromiumbookmarks_daemon.py is probably why:-

BOOKMARKS_PATH = os.getenv("HOME") + "/.config/chromium/Default/Bookmarks"

Mine looks like this:-
drwx------ 12 alan alan 12288 Mar 18 17:13 .config/chromium/Default
drwx------ 10 alan alan 12288 Mar 18 17:12 .config/chromium/Profile 1
drwx------ 4 alan alan 4096 Dec 10 00:36 .config/chromium/Profile 2
drwx------ 8 alan alan 12288 Mar 12 15:59 .config/chromium/Profile 3
drwx------ 6 alan alan 12288 Mar 12 15:59 .config/chromium/Profile 4
drwx------ 9 alan alan 12288 Mar 13 22:57 .config/chromium/Profile 5
drwx------ 8 alan alan 12288 Mar 17 22:33 .config/chromium/Profile 7

alan@deep-thought:~$ wc -l .config/chromium/*/Bookmarks
  160 .config/chromium/Default/Bookmarks
  521 .config/chromium/Profile 1/Bookmarks
   30 .config/chromium/Profile 2/Bookmarks
   30 .config/chromium/Profile 3/Bookmarks
  741 total

Tags: 100scopes

Related branches

David Callé (davidc3)
Changed in ubuntu-scopes:
status: New → Confirmed
importance: Undecided → Low
David Callé (davidc3)
Changed in ubuntu-scopes:
status: Confirmed → Won't Fix
status: Won't Fix → In Progress
Revision history for this message
Alan Pope 🍺🐧🐱 🦄 (popey) wrote :

Worth noting that it's not just sufficient to find the bookmarks. When you launch them they need to be launched with the right chromium profile invoked. Otherwise it might (for example) load a google document url from a profile which doesn't have rights.

Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :

Fix committed into lp:~submarine/ubuntu-scopes/chromiumbookmarks at revision 20, scheduled for release in ubuntu-scopes, milestone Unknown

Changed in ubuntu-scopes:
status: In Progress → Fix Committed
Changed in unity:
status: New → Fix Committed
Revision history for this message
David Callé (davidc3) wrote :

Please note that the current fix doesn't handle launching with the right profile, which will be fixed soon.

Changed in unity:
importance: Undecided → Low
Changed in ubuntu-scopes:
status: Fix Committed → Fix Released
Changed in unity:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.