Commit Graph

564 Commits

Author SHA1 Message Date
Markus Stange
2444e8909a Bug 1704948 - Remove onclick handlers from menuitems, because menuitems now dispatch command events even on middle click. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D112046
2021-04-20 17:44:17 +00:00
Narcis Beleuzu
2fd43d5a0b Backed out 7 changesets (bug 1704948, bug 1704879) for bc failures on browser_ext_menus_capture_secondary_click.js
Backed out changeset 02705918c4bf (bug 1704879)
Backed out changeset 79945b876a1d (bug 1704879)
Backed out changeset eb725de20b11 (bug 1704948)
Backed out changeset 454597ac2ba3 (bug 1704948)
Backed out changeset a43a8ef206ea (bug 1704948)
Backed out changeset 2369e321069e (bug 1704948)
Backed out changeset bdf396edd692 (bug 1704948)
2021-04-15 03:30:52 +03:00
Markus Stange
4906af56a7 Bug 1704948 - Remove onclick handlers from menuitems, because menuitems now dispatch command events even on middle click. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D112046
2021-04-14 21:23:28 +00:00
Francesco Lodolo (:flod)
2554bafe65 Bug 1700638 - Remove Sync brand from Menu bar and Settings, r=fluent-reviewers,preferences-reviewers,Gijs
Differential Revision: https://phabricator.services.mozilla.com/D110012
2021-03-30 14:30:55 +00:00
Mike Conley
d9a6077fd6 Bug 1698678 - Let about:preferences menubar item re-label to 'Settings' ride out in v89 on Windows and Linux. r=Gijs,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D110127
2021-03-29 17:40:29 +00:00
Francesco Lodolo (:flod)
7cfab46f7c Bug 1699881 - Use separate string for macOS Preferences in application menu, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D109197
2021-03-22 13:23:35 +00:00
Mike Conley
609b48e684 Bug 1698931 - Update addons menuitems to be 'Add-ons and Themes'. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D108993
2021-03-19 14:54:52 +00:00
Martin Balfanz
27b56e368f Bug 1698550 - Change "Settings" to "Preferences" in Mac menu bar. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D109043
2021-03-19 10:30:53 +00:00
Emma Malysz
80bc20a338 Bug 1691140, add Task Manager to browser tools menu for proton r=mconley,fluent-reviewers,flod
Revert changes that added Task Manager to help menu.
With proton disabled, it should remain in the "More" section

Differential Revision: https://phabricator.services.mozilla.com/D108055
2021-03-17 15:44:17 +00:00
Mike Conley
e028f56b9d Bug 1697083 - Troubleshoot Mode menu item should have an ellipsis. r=flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D108642
2021-03-16 15:27:51 +00:00
Gijs Kruitbosch
328174e3fa Bug 1698577 - only change labels for preferences/options/settings in later builds, r=mconley,flod,fluent-reviewers
Differential Revision: https://phabricator.services.mozilla.com/D108497
2021-03-15 21:54:22 +00:00
Greg Tatum
7a69fc1e6f Bug 1695671 - Update strings in the global menubar r=Gijs,flod
Differential Revision: https://phabricator.services.mozilla.com/D107533
2021-03-09 20:17:32 +00:00
Gijs Kruitbosch
6bcb9935cc Bug 1695873 - remove nativemenuservice remnants and fix macOS openedwithkey attribute use, r=mak,mstange
Although 11 years ago feature-checking for native menus made sense, right now we do not
expect any other OSes to implement native menus, and macOS' behaviour is currently not
quite right because we stopped exposing the relevant XPCOM component.

The change in browser-menubar.inc fixes macOS behaviour. The nsWidgetsCID.h change
is just clean-up.

Differential Revision: https://phabricator.services.mozilla.com/D106962
2021-03-04 22:54:23 +00:00
Francesco Lodolo (:flod)
4b6ac54dfd Bug 1696288 - Move "Troubleshoot Mode" above "More Troubleshooting Information" in the Help menu, r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D107174
2021-03-04 16:20:17 +00:00
Mike Conley
7134330ea7 Bug 1693092 - Update strings for Safe Mode menu items. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D106812
2021-03-01 18:41:52 +00:00
Mike Conley
361e5207fd Bug 1695713 - Update copy for about:support link in Help menu. r=emalysz,fluent-reviewers,flod
Depends on D106810

Differential Revision: https://phabricator.services.mozilla.com/D106811
2021-03-01 18:41:52 +00:00
Mike Conley
09f7764241 Bug 1690573 - Migrate the report-site-issue UI access point to the Help menu. r=denschub,mixedpuppy,fluent-reviewers,webcompat-reviewers,flod
We're not 100% certain if Help is the right spot for this, but we're going
to give it a shot and see. If it turns out it _is_ the right spot, we'll
probably do something a little more self-contained, and less hacky.

I'm leaving the old .properties file just in case we change our mind here.
Yes, we'll want to port to Fluent anyways, but our ultimate choice of where
we put this thing is probably going to dictate where the string lives.

Differential Revision: https://phabricator.services.mozilla.com/D104832
2021-02-23 00:11:05 +00:00
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