Commit Graph

497 Commits

Author SHA1 Message Date
Emma Malysz
e2150da0fa Bug 1690858: add safemode toggle to help menu r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D104747
2021-02-16 16:51:45 +00:00
Gijs Kruitbosch
eec33808fb Bug 1685313 - disable menus, commands and tabswitches while window-modal dialogs are up, r=jaws
This removes observation of the 'disabled' attribute from the macOS
full screen menu items, because removing the attribute doesn't work
correctly. This is a scenario that, as far as I can tell, didn't
happen elsewhere until now. On other OSes we use a single item which
gets disabled state directly from the command attribute (ie without
an 'observes' child) which appears to work fine.

It also exempts the editing commands from being disabled, but it
appears that at least on macOS, undo history is lost anyway. It's
not clear to me why this is the case, but I don't think it needs
to block an initial landing of this work.

Differential Revision: https://phabricator.services.mozilla.com/D103389
2021-02-12 22:41:54 +00:00
Andreea Pavel
dc95e4ea51 Backed out 3 changesets (bug 1685313) for failing test_prompt.html on a CLOSED TREE
Backed out changeset 7bdcbdc2d57f (bug 1685313)
Backed out changeset 319bc4d7bc0d (bug 1685313)
Backed out changeset 713de42fe3b4 (bug 1685313)
2021-02-12 06:50:58 +02:00
Gijs Kruitbosch
f0f5a0d8d0 Bug 1685313 - disable menus, commands and tabswitches while window-modal dialogs are up, r=jaws
This removes observation of the 'disabled' attribute from the macOS
full screen menu items, because removing the attribute doesn't work
correctly. This is a scenario that, as far as I can tell, didn't
happen elsewhere until now. On other OSes we use a single item which
gets disabled state directly from the command attribute (ie without
an 'observes' child) which appears to work fine.

It also exempts the editing commands from being disabled, but it
appears that at least on macOS, undo history is lost anyway. It's
not clear to me why this is the case, but I don't think it needs
to block an initial landing of this work.

Differential Revision: https://phabricator.services.mozilla.com/D103389
2021-02-11 23:57:57 +00:00
Bernard Igiri
2201d256a1 Bug 1691433 - Remove check for updates option from application menus r=mconley,jaws,fluent-reviewers
Removing Check For Updates button from menu.

Differential Revision: https://phabricator.services.mozilla.com/D104548
2021-02-10 17:39:14 +00:00
Emma Malysz
64c7b1cd74 Bug 1690359 - Move task manager to help menu r=mconley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103843
2021-02-03 16:46:57 +00:00
Mike Conley
08ae3982d7 Bug 1689632 - Simplify the Help menu a bit. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D103489
2021-02-01 15:31:30 +00:00
Mike Conley
9a71ff4019 Bug 1683419 - Fork Help menu strings for use in the AppMenu. r=Gijs,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D100957
2021-01-20 18:12:33 +00:00
Mike Conley
22939dda9e Bug 1568133 - Migrate the rest of the menubar to Fluent. r=fluent-reviewers,flod,Gijs
Original patch by Brendan Dahl <bdahl@mozilla.com>.

Differential Revision: https://phabricator.services.mozilla.com/D46203
2021-01-18 18:23:18 +00:00
Bernard Igiri
43e8d2bc1c Bug 1660848 - Add a check for updates option to application menus r=fluent-reviewers,jaws,harry,Gijs,flod,mkaply
Adding a check for updates option to the application menu, changing the about dialog styling to match the mockup, and adding a minimum delay to the checking for updates message.

Differential Revision: https://phabricator.services.mozilla.com/D95195
2021-01-15 14:26:58 +00:00
Bogdan Tara
a1eb81316f Backed out changeset 8dc3f02e20ca (bug 1660848) for multiple mochitest failures CLOSED TREE 2021-01-12 03:22:03 +02:00
Bernard Igiri
9fd6b8d74d Bug 1660848 - Add a check for updates option to application menus r=fluent-reviewers,jaws,harry,Gijs,flod,mkaply
Adding a check for updates option to the application menu, changing the about dialog styling to match the mockup, and adding a minimum delay to the checking for updates message.

Differential Revision: https://phabricator.services.mozilla.com/D95195
2021-01-11 22:37:05 +00:00
Gijs Kruitbosch
64849e4e95 Bug 492320 - allow cmd-shift-n to work when there are no open windows, r=jaws,mstange
Differential Revision: https://phabricator.services.mozilla.com/D86656
2020-09-09 17:42:00 +00:00
Emma Malysz
2680749792 Bug 1659340, hide menu options if new print UI pref is enabled r=mstriemer
If print.tab_modal.enabled is enabled, we should not display the print preview
menu item, as this will redirect us to the print preview automatically and thus
be redundant with the other print button. We also want to hide the page setup
menu item.

Differential Revision: https://phabricator.services.mozilla.com/D88224
2020-08-28 01:23:42 +00:00
Asif Youssuff
a6cea73f43 Bug 1553945 - Added a keyboard shortcut to show history on macOS r=mak,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D84897
2020-07-30 08:54:56 +00:00
Dave Townsend
4b134e74e8 Bug 1620358: Gather telemetry on toolbar state. r=Gijs,zombie
Differential Revision: https://phabricator.services.mozilla.com/D78393
2020-06-16 21:06:15 +00:00
Emilio Cobos Álvarez
e6461a9852 Bug 1645789 - Fix "Default Page Style" submenu to do the right thing. r=Gijs
We compare the value passed through with the title, and StyleSheet.title
returns null for empty titles, so we never consider an empty title to be
in the document, which is bad.

Differential Revision: https://phabricator.services.mozilla.com/D79700
2020-06-15 16:10:33 +00:00
Mark Striemer
b317408add Bug 1397755 - Use touch density for all tabs list with touch r=dao
Differential Revision: https://phabricator.services.mozilla.com/D70442
2020-04-10 09:28:23 +00:00
Dão Gottwald
226dceee35 Bug 1620536 - Move "Import from Another Browser" to the Help menu. r=Mardak,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D66551
2020-03-13 17:29:15 +00:00
Marco Bonardo
640c3e2aef Bug 1612653 - Update 'Bookmark This Page' menuitems when the star state changes. r=Standard8
Instead of updating the Bookmark This Page / Edit Bookmark menuteitems on popupshowing,
update them when the star button is suppposed to change. This better supports MacOS behavior
where the native menubar can't be updated after being shown, and avoids many callpoints in
favor of just a few.

Differential Revision: https://phabricator.services.mozilla.com/D64399
2020-02-27 12:04:15 +00:00
Dão Gottwald
adf0b89a21 Bug 1601795 - Let Ctrl+I open Page Info instead of the bookmarks sidebar on Windows. r=mak
Differential Revision: https://phabricator.services.mozilla.com/D60669
2020-01-22 14:41:47 +00:00
Neil Deakin
4dce72cc6b Bug 1603020, allow sendMessageToActor to send the message to all descendants, not just process roots, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D58990
2020-01-20 15:14:31 +00:00
Zibi Braniecki
23db7362be Bug 1604960 - Migrate all text actions to use Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D57713
2019-12-25 10:01:46 +00:00
Ciure Andrei
b6e7bbf4c7 Backed out changeset 0267e42c0db5 (bug 1604960) for causing bc permafails 2019-12-25 05:15:16 +02:00
Zibi Braniecki
f15a322935 Bug 1604960 - Migrate all text actions to use Fluent. r=fluent-reviewers,Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D57713
2019-12-24 20:43:17 +00:00
Tanner Davies
4ccc3b9f19 Bug 1601404 - Change View>Zoom>Reset in menu bar to "Actual Size" to be consistent with other browsers r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D56278
2019-12-07 10:16:20 +00:00
Mike Conley
e6e6674159 Bug 1594227 - Add Fission testing menu items to the File menu. r=NeilDeakin
These menu items are only visible in Nightly when Fission is enabled,
and they're only for testing, which is why I've opted to not use Fluent
for localization, and just hard-coded the strings and accesskeys. These
menu items will never ride to release.

Differential Revision: https://phabricator.services.mozilla.com/D55004
2019-11-27 19:23:08 +00:00
Emma Malysz
e5cfbdbc2f Bug 1596884, replace remaining .xul files in layout/tools with .xhtml r=dholbert
Differential Revision: https://phabricator.services.mozilla.com/D53898
2019-11-20 20:40:32 +00:00
Gijs Kruitbosch
d306e9d9f5 Bug 1594025 - move 'this site is not deceptive' string into markup to allow help hamburger menu to copy it, r=flod,fluent-reviewers
The help view copies strings from the main menubar. When we moved the original DTD string
to ftl, there were performance implications for using it in browser.xhtml, so it was
only added once needed. The help view copies attributes from the items in the main menubar's
help menu, and so didn't copy the label for this item, resulting in the broken
behaviour.

To fix this, it's enough to have the string in the markup. As we've moved the other strings
into menubar.ftl, I'm taking the opportunity to move this string there, too, next to its
sibling string to report deceptive sites.

Differential Revision: https://phabricator.services.mozilla.com/D51850
2019-11-05 17:40:47 +00:00
Edouard Oger
afbbb5aef5 Bug 1580906 p2 - Update FxA buttons copy in menubar. r=vbudhram,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D45729
2019-09-18 18:36:53 +00:00
Noemi Erli
1c50b90281 Backed out 2 changesets (bug 1580906) for failures in browser_page_action_menu.js CLOSED TREE
Backed out changeset ae5fe308e4b2 (bug 1580906)
Backed out changeset 2dab1e9ada47 (bug 1580906)
2019-09-18 21:17:01 +03:00
Edouard Oger
801b94d983 Bug 1580906 p2 - Update FxA buttons copy in menubar. r=vbudhram,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D45729
2019-09-18 16:32:35 +00:00
Edouard Oger
524d154c78 Bug 1570569 p1 - Add Sync Disabled state to Synced Tabs menu. r=vbudhram,fluent-reviewers,flod,markh
Differential Revision: https://phabricator.services.mozilla.com/D44484
2019-09-11 01:17:46 +00:00
Alexander Surkov
b2f6a8c01e Bug 1539651 - Convert places-popup-base and places-popup-arrow bindings to Custom Elements r=mak
Differential Revision: https://phabricator.services.mozilla.com/D33821
2019-08-08 14:28:36 +00:00
Zibi Braniecki
39879aa916 Bug 1571265 - Move back the Help L10n ID to cover all platforms. r=flod
Differential Revision: https://phabricator.services.mozilla.com/D40662
2019-08-05 17:49:30 +00:00
Zibi Braniecki
400445daef Bug 1501886 - Migrate menubar to Fluent. r=fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D34379
2019-08-02 16:07:44 +00:00
Andreea Pavel
921dcaad5c Backed out changeset 7a06c08bf267 (bug 1501886) for bc failures e.g. browser_window_menu_list.js on a CLOSED TREE 2019-08-02 05:44:47 +03:00
Zibi Braniecki
b831bb432e Bug 1501886 - Migrate menubar to Fluent. r=fluent-reviewers,Pike,flod
Differential Revision: https://phabricator.services.mozilla.com/D34379
2019-08-01 14:21:13 +00:00
harry
0868f3b12f Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

Differential Revision: https://phabricator.services.mozilla.com/D35085
2019-07-06 21:10:33 +00:00
Mihai Alexandru Michis
372f3445c6 Backed out changeset 3e2fe70b181a (bug 1522012) for causing failures in browser_touchbar_tests.js CLOSED TREE 2019-07-04 18:47:07 +03:00
harry
86d1612103 Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

Differential Revision: https://phabricator.services.mozilla.com/D35085
2019-07-04 03:57:47 +00:00
Andreea Pavel
bcc59449cd Backed out changeset c1b80824ae88 (bug 1522012) for failing bc at browser_touchbar_tests.j on a CLOSED TREE 2019-07-03 00:19:25 +03:00
harry
809280f5cb Bug 1522012 - Implement Touch Bar's native customization window and remove ui.touchbar.layout preference. r=spohl,mikedeboer,fluent-reviewers,Pike
This patch also fixes the Home and Sidebar Touch Bar buttons, since using them after customizing showed that they no longer worked.

Differential Revision: https://phabricator.services.mozilla.com/D35085
2019-07-02 14:47:07 +00:00
Neil Deakin
c1eb92539d Bug 1533948, change BrowserTabChild to inherit from JSWindowActor, r=mconley 2019-06-11 09:05:33 -04:00
Michael Kaply
efc2478af6 Bug 1553290 - Get support menu href direct from policy. r=jaws
Differential Revision: https://phabricator.services.mozilla.com/D32367
2019-06-03 21:30:57 +00:00
Trushita
19b14883c7 Bug 1494948: Removed FX_PREFERENCES_OPENED_VIA probe and origin parameter for openPreferences r=jaws,chutten
Removed FX_PREFERENCES_OPENED_VIA probe as it expired in 63.Origin parameter for openPreferences has also been removed.

Differential Revision: https://phabricator.services.mozilla.com/D26795
2019-04-09 20:40:26 +00:00
Christian Frey
70f8ec9fc2 Bug 1523734 - Migrate about:blocked to Fluent r=flod,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D23611
2019-03-28 17:08:34 +00:00
Soeren Hentzschel
e2b69c9c3e Bug 1522856 - Add an "import" option to the file menu to make browser migration discoverable. r=MattN,felipe
Differential Revision: https://phabricator.services.mozilla.com/D19274
2019-03-04 15:29:03 -08:00
Michael Kaply
77bb8376e6 Bug 1527766 - Add enterprise policy for support menu. r=Felipe,flod
Differential Revision: https://phabricator.services.mozilla.com/D19722
2019-02-14 23:25:08 +00:00
Brian Hackett
661825e37a Bug 1495341 - Place Web Replay menu items in their own submenu, r=jlast. 2018-10-01 09:41:32 -10:00