Commit graph

2550 commits

Author SHA1 Message Date
Mike Conley
e62f1d870e Bug 1748907 - Check the value rather than the presence of 'overflowable' when tearing down a CUI window. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D135254
2022-01-06 20:12:28 +00:00
Jonathan Watt
2a9a0b264a Bug 1702501 - Remove print.tab_modal.enabled pref and old frontend print preview code. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D134699
2022-01-06 18:55:38 +00:00
Jonathan Watt
c5150cf5bd Bug 1745332 - Remove print.tab_modal.enabled checks from CustomizableUI code. r=mconley
The old UI is going away.

Differential Revision: https://phabricator.services.mozilla.com/D133451
2022-01-06 18:55:37 +00:00
Emilio Cobos Álvarez
5dc0fa55af Bug 1747609 - Don't auto-hide panel on click inside a menupopup. r=Gijs
This matches the current macOS behavior with native context menus.

The issue is that closing the panels causes the destruction of the
menupopup while the activate event hasn't run yet, see comment 9.

Executing the command event synchronously like we do for <button>s is
probably worth it to some extent, though note that on macOS with
non-native menus it'd still need to be async because of the
blinking-before-activation that menuitems have. Gnarly :-(

Of course we always use native menus for context menus so it's not a big
deal, but it still affects the content <select> dropdown, I believe.

So this is the less-invasive change.

Differential Revision: https://phabricator.services.mozilla.com/D134777
2021-12-31 18:33:59 +00:00
criss
8f3d3cb84d Backed out changeset 309f9ab93b03 (bug 1747609) for causing failures on browser_popup-record-capture-view.js. CLOSED TREE 2021-12-30 05:09:51 +02:00
Emilio Cobos Álvarez
0d3683e53f Bug 1747609 - Don't auto-hide panel on click inside a menupopup. r=Gijs
This matches the current macOS behavior with native context menus.

The issue is that closing the panels causes the destruction of the
menupopup while the activate event hasn't run yet, see comment 9.

Executing the command event synchronously like we do for <button>s is
probably worth it to some extent, though note that on macOS with
non-native menus it'd still need to be async because of the
blinking-before-activation that menuitems have. Gnarly :-(

Of course we always use native menus for context menus so it's not a big
deal, but it still affects the content <select> dropdown, I believe.

So this is the less-invasive change.

Differential Revision: https://phabricator.services.mozilla.com/D134777
2021-12-30 00:30:38 +00:00
Mike Conley
eea2cb73ef Bug 1746670 - Make it possible to register CUI areas with overflowable: false. r=harry
Differential Revision: https://phabricator.services.mozilla.com/D134196
2021-12-17 21:52:46 +00:00
Jonathan Watt
639df3ce82 Bug 1745230 - port browser_947914_button_print.js to new print UI. r=mstriemer
Differential Revision: https://phabricator.services.mozilla.com/D133386
2021-12-09 18:03:41 +00:00
Rob Wu
d6767c7c9e Bug 1714846 - Really hide panels on hide, r=robwu,emilio
Differential Revision: https://phabricator.services.mozilla.com/D132574
2021-12-07 11:50:19 +00:00
Butkovits Atila
da4e10d9f4 Backed out changeset 6e298bdd0dd8 (bug 1714846) for causing assertion failures at CompositorBridgeParent.cpp. CLOSED TREE 2021-12-03 23:30:10 +02:00
Rob Wu
c30c452a2e Bug 1714846 - Really hide panels on hide, r=robwu,emilio
Differential Revision: https://phabricator.services.mozilla.com/D132574
2021-12-03 19:16:51 +00:00
Julian Descottes
2e9e1cc305 Bug 1741369 - [devtools] Update paths to loader files outside devtools/ r=perftest-reviewers,preferences-reviewers,sparky,Gijs
Depends on D131217

Differential Revision: https://phabricator.services.mozilla.com/D131218
2021-11-17 12:43:27 +00:00
Scott
c910dfa83e Bug 1737868 - Pocket panel overflow menu not properly getting the remote attribute. r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D130770
2021-11-16 00:35:34 +00:00
Emilio Cobos Álvarez
e97b882edc Bug 1739539 - Rename titlebar pref and add migration from old pref. r=mconley
Something like this ought to do?

Differential Revision: https://phabricator.services.mozilla.com/D130858
2021-11-10 21:17:32 +00:00
Julien Wajsberg
718481b88a Bug 1738871 - [CustomizableUI] Support the button-and-view custom widget type in the overflow menu when Fluent is used r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D130365
2021-11-08 19:26:35 +00:00
Tooru Fujisawa
0a19cba72a Bug 1706650 - Split localization item for update banner label for each notification. r=zbraniecki,fluent-reviewers,Gijs
Instead of copying from label-* attributes, set data-l10n-id for each
notification

Also, stop using attributes for checking if the notification is supported.

Differential Revision: https://phabricator.services.mozilla.com/D129270
2021-10-26 18:32:36 +00:00
Emilio Cobos Álvarez
f317384568 Bug 1736518 - Make browser.tabs.drawInTitlebar a tri-state. r=stransky,Gijs
To more properly support Linux having a different default at runtime.

Expose the resolved value in appinfo for convenience, and use it in the
front-end as needed.

Differential Revision: https://phabricator.services.mozilla.com/D129004
2021-10-21 09:07:12 +00:00
Neil Deakin
e9450de0a6 Bug 1733786, replace uitour implementation of show how button with one that focuses the item on the app menu and submenu instead, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D128428
2021-10-19 14:54:45 +00:00
Michael Kohler
c84c59e032 Bug 1672486 - Remove browser.toolbars.bookmarks.2h2020 pref from browser/customizableui/places r=mak
Differential Revision: https://phabricator.services.mozilla.com/D127588
2021-10-14 07:51:14 +00:00
Julien Wajsberg
2658b4d851 Bug 1681539 - Add a profiler marker for descriptionHeightWorkaround r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D126203
2021-10-05 09:13:12 +00:00
Neil Deakin
97d95e925f Bug 1724962, when the uitour highlight opens from the show how button on the session restore infobar, also highlight the restore session option from the history menu when it is opened, r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D127198
2021-10-02 12:20:08 +00:00
Emma Malysz
08da538533 Bug 1725430: disable screenshot shortcut for extension when screenshots.browser.component.enabled is true. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125850
2021-09-28 20:01:35 +00:00
criss
c036c2f5c2 Backed out changeset ec019c0205a9 (bug 1725430) for causing failures on dbg-toggling-tools.js 2021-09-28 00:42:30 +03:00
Emma Malysz
53a01f5fb9 Bug 1725430: disable screenshot shortcut for extension when screenshots.browser.component.enabled is true. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125850
2021-09-27 17:30:35 +00:00
Harry Twyford
aaa5db6f30 Bug 1729534 - Change Customize window theme picker to a button that points to about:addons#themes. r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125120
2021-09-23 13:55:07 +00:00
Narcis Beleuzu
033a7edbff Backed out changeset ceaaed353b66 (bug 1725430) for assertion failure on ErrorResult.h . CLOSED TREE 2021-09-22 01:09:22 +03:00
Emma Malysz
6fede10fc1 Bug 1725430: disable screenshot shortcut for extension when screenshots.browser.component.enabled is true. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125850
2021-09-21 20:37:48 +00:00
Harry Twyford
31b58b8bf6 Bug 1730262 - Add first monochromatic theme. r=desktop-theme-reviewers,dao,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D125283
2021-09-21 13:32:57 +00:00
Butkovits Atila
4b46b9b45b Backed out 3 changesets (bug 1719939, bug 1726437, bug 1730262) for causing failures on test_browserGlue_migration_ctrltab_recently_used_order.js.
Backed out changeset ea1653e9644f (bug 1719939)
Backed out changeset 01f90db715a7 (bug 1726437)
Backed out changeset c0e23b2acfbb (bug 1730262)
2021-09-21 05:15:31 +03:00
Harry Twyford
42b741a2fd Bug 1730262 - Add first monochromatic theme. r=desktop-theme-reviewers,dao,mixedpuppy
Differential Revision: https://phabricator.services.mozilla.com/D125283
2021-09-20 18:30:49 +00:00
Niklas Baumgardner
6b2ff3d34a Bug 1635553 - Migrate navigator-toolbox to Fluent. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125222
2021-09-15 19:31:56 +00:00
Butkovits Atila
b7b9016986 Backed out changeset b9b49ff4fca0 (bug 1635553) for causing failures complaining about menupopup. CLOSED TREE 2021-09-15 21:43:25 +03:00
Niklas Baumgardner
80e804150b Bug 1635553 - Migrate navigator-toolbox to Fluent. r=emalysz,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125222
2021-09-15 16:21:09 +00:00
Cristian Tuns
48c7f59a43 Backed out changeset 2ac8b24d476e (bug 1729534) for causing mochitest failures on browser_customizemode_uidensity.js. CLOSED TREE 2021-09-14 13:14:01 -04:00
Harry Twyford
3519e40d46 Bug 1729534 - Change Customize window theme picker to a button that points to about:addons#themes. r=dao,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D125120
2021-09-14 14:11:47 +00:00
Mark Banner
14aedbb785 Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu
Differential Revision: https://phabricator.services.mozilla.com/D124838
2021-09-10 12:09:49 +00:00
Noemi Erli
e0f4b9b5fe Backed out 2 changesets (bug 1729460) for causing newtab failures CLOSED TREE
Backed out changeset 5617839462be (bug 1729460)
Backed out changeset 6d52fde3ee0e (bug 1729460)
2021-09-10 13:14:12 +03:00
Mark Banner
3cfdb5c41a Bug 1729460 - Change users of defineLazyServiceGetter(s) to use Services.* where appropriate. r=mossop,webdriver-reviewers,extension-reviewers,whimboo,robwu
Differential Revision: https://phabricator.services.mozilla.com/D124838
2021-09-10 09:38:42 +00:00
Molly Howell
cbafe2ba39 Bug 1727916 - Convert several customizable toolbar item names to sentence case. r=fluent-reviewers,flod,emalysz
This required migrating several strings to Fluent, and the bulk of this patch
is those migrations. The rest of the items matched up with an entry in the app
menu, so those items were switched over to use the app menu strings, and one
had to be copied in order to avoid adding a tooltip to the app menu item.

Differential Revision: https://phabricator.services.mozilla.com/D124270
2021-09-09 16:39:37 +00:00
Scott
f492bcff55 Bug 1693582 - Moving Pocket button panels to remote content process r=mconley
Differential Revision: https://phabricator.services.mozilla.com/D122128
2021-09-08 16:11:34 +00:00
Sandor Molnar
e3e47f564b Backed out changeset 63c10baf1578 (bug 1727916) for causing browser-chrome failures in en-US/appmenuitem. 2021-09-03 23:22:36 +03:00
Molly Howell
84c9447e39 Bug 1727916 - Convert several customizable toolbar item names to sentence case. r=fluent-reviewers,flod,emalysz
This required migrating several strings to Fluent, and the bulk of this patch
is those migrations. The rest of the items matched up with an entry in the app
menu, so those items were switched over to use the app menu strings.

Differential Revision: https://phabricator.services.mozilla.com/D124270
2021-09-03 19:26:59 +00:00
Katherine Patenio
25a76b9440 Bug 1609558 - Migrate panelUI.inc.xhtml to Fluent. r=mtigley,fluent-reviewers,flod
Differential Revision: https://phabricator.services.mozilla.com/D123837
2021-08-30 17:58:08 +00:00
Michael Kohler
a20e5e1327 Bug 1702200 - Add toolbarseparator when header already exist when showing subview r=mconley
The toolbarseparator is added the first time a subview is opened. However for subsequent times the header already exists and we bailed out early without adding the separator.

Differential Revision: https://phabricator.services.mozilla.com/D122907
2021-08-30 07:11:24 +00:00
Alexandru Michis
df1cf61b96 Backed out changeset 55776bb2f806 (bug 1702200) for causing failures in nsSocketTransport.
CLOSED TREE
2021-08-26 20:42:55 +03:00
Michael Kohler
38d3c57c2c Bug 1702200 - Add toolbarseparator when header already exist when showing subview r=mconley
The toolbarseparator is added the first time a subview is opened. However for subsequent times the header already exists and we bailed out early without adding the separator.

Differential Revision: https://phabricator.services.mozilla.com/D122907
2021-08-26 16:48:01 +00:00
Scott
d5e1071c25 Bug 1724668 - Ensure Pocket panel closes if location changes with locationSpecific CustomizableUI prop. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D122278
2021-08-25 00:46:01 +00:00
Marian-Vasile Laza
925f82df84 Backed out changeset 6ba2b54d02f6 (bug 1724668) for causing bc failures on browser_panel_locationSpecific.js. CLOSED TREE 2021-08-20 20:52:53 +03:00
Scott
f9ebad60df Bug 1724668 - Ensure Pocket panel closes if location changes with locationSpecific CustomizableUI prop. r=Gijs
Differential Revision: https://phabricator.services.mozilla.com/D122278
2021-08-20 16:54:00 +00:00
Sebastian Hengst
2fc5ede43e Bug 1726309 - don't skip tests on macOS 11 which actually pass. r=jmaher
Differential Revision: https://phabricator.services.mozilla.com/D122938
2021-08-18 13:40:32 +00:00