Bookmarks manager broken in 12.0a2 on MacOS
A forum user has reported that they cannot import bookmarks using 12.0a2 on MacOS. On investigation it looks like the entire bookmarks manager is bugged out – with the window reading the following error:
To reproduce, click Bookmarks > Manage Bookmarks
. Could someone check to see if this is MacOS specific, or occurs on other platforms too?
Designs
- Show closed items
Activity
-
Newest first Oldest first
-
Show all activity Show comments only Show history only
- donuts changed milestone to %Tor Browser 12.0
changed milestone to %Tor Browser 12.0
- donuts changed title from Bookmarks manager completely broken in 12.0a2 on MacOS to Bookmarks manager broken in 12.0a2 on MacOS
changed title from Bookmarks manager completely broken in 12.0a2 on MacOS to Bookmarks manager broken in 12.0a2 on MacOS
OP here. MacOS version for original report is 10.13.6 High Sierra. Haven’t tried it on any other versions. Looks like @duncan may have tried a later version (Big Sur or Monterey?). NB that 10.13.6 is no longer supported by Apple and was the last version where the system was all on one drive. Backporting to it can be tricky. Subsequent versions split the drive into two volumes: system and data. When I paste
chrome://browser/content/places/places.xhtml
in the url bar it returns the same error but in the window:Edited by MarkC- Thorin mentioned in issue #41313 (closed)
mentioned in issue #41313 (closed)
- morgan changed milestone to %Sponsor 131 - Phase 3 - Major ESR 102 Migration
changed milestone to %Sponsor 131 - Phase 3 - Major ESR 102 Migration
I think this is because it is missing the entities from
torbutton.dtd
.Specifically,
#menu_newCircuit
is frombrowser-menubar.inc
. This file is included inbrowser.xhtml
vianavigator-toolbox.inc.xhtml
. On mac only it is also included inplaces.xhtml
viamacWindow.inc.xhtml
https://gitlab.torproject.org/tpo/applications/tor-browser/-/blob/bdbc21560c1acf258bd83116c370e66b037dd1a5/browser/components/places/content/places.xhtml#L58.This file needs strings from
torbutton.dtd
, which is brought into scope bybrowser-doctype.inc
. This is included inbrowser.xhtml
https://gitlab.torproject.org/tpo/applications/tor-browser/-/blob/bdbc21560c1acf258bd83116c370e66b037dd1a5/browser/base/content/browser.xhtml#L44, but notplaces.xhtml
. Hence the error on macos. So includingbrowser-doctype.inc
inplaces.xhtml
ormacWindow.inc.xhtml
might solve it.At least that's what I think is happening. I haven't got macos to test if it may be something else. I just read the code.
@pierov I couldn't see a change in mozilla-central that would have triggered this. Could it have happened whilst moving parts of torbutton into tor-browser?
Collapse replies - Maintainer
Moz completely removed DTDs in a bunch of places. I've restored them when rebasing to 102, but I might have missed some.
- Pier Angelo Vendrame assigned to @pierov and unassigned @henry
- Pier Angelo Vendrame removed Backlog label
removed Backlog label
- Pier Angelo Vendrame added Next label
added Next label
- Maintainer
91.13 have
browser-doctype.inc
in these places:-
browser/base/content/aboutDialog.xhtml
-
browser/base/content/browser.xhtml
-
browser/base/content/hiddenWindowMac.xhtml
-
browser/base/content/pageinfo/pageInfo.xhtml
-
browser/components/places/content/places.xhtml
-
browser/components/shell/content/setDesktopBackground.xhtml
-
toolkit/mozapps/update/content/updateElevation.xhtml
--> Not restoring on purpose
Edited by Pier Angelo Vendrame -
- Pier Angelo Vendrame mentioned in merge request !406 (merged)
mentioned in merge request !406 (merged)
- Pier Angelo Vendrame added Doing label and removed Next label
- morgan marked this issue as related to tor-browser-build#40627 (closed)
marked this issue as related to tor-browser-build#40627 (closed)
- Pier Angelo Vendrame closed
closed
- Pier Angelo Vendrame removed Doing label
removed Doing label
- morgan mentioned in issue #41407 (closed)
mentioned in issue #41407 (closed)
- Pier Angelo Vendrame mentioned in merge request !475 (merged)
mentioned in merge request !475 (merged)
- ma1 marked this issue as related to tor-browser-build#40985 (closed)
marked this issue as related to tor-browser-build#40985 (closed)
- ma1 marked this issue as related to tor-browser-build#40987 (closed)
marked this issue as related to tor-browser-build#40987 (closed)
- ma1 removed the relation with tor-browser-build#40985 (closed)
removed the relation with tor-browser-build#40985 (closed)
- ma1 removed the relation with tor-browser-build#40987 (closed)
removed the relation with tor-browser-build#40987 (closed)