gecko-dev/widget
Jonathan Watt 388280189f Bug 1805477 - Prevent pages-per-sheet on macOS being double applied by system print dialog. r=dholbert
Note: NSPagesAcross/NSPagesDown is internal API to Apple and is basically
unknown to the Internet. I discovered it by digging through printing structs in
a debugger while trying to find out how the pages-per-sheet information was
being communicated internally in Cocoa. However, after finding it, I see Google
knows about a grand total of 18 pages on the Internet that mention it, all as
part of debug info dumps. That's still helpful though, since it shows that
these two dictionary entries have been in use since at least 2008, giving some
confidence about backwards compatibility and that it will likely remain in use.

Related to these dictionary keys, Apple's official documentation claims that
there are similarly named keys called NSPrintPagesAcross/NSPrintPagesDown:

https://developer.apple.com/documentation/appkit/nsprintpagesacross
https://developer.apple.com/documentation/appkit/nsprintpagesdown

However, I couldn't get those to work, either to read values or to set values.
The references I could find to them on the Internet were in debug output and
people also stating they couldn't get them to work. I have to wonder if someone
at Apple changed the names at some point and forgot to update the
documentation?!

Finally, note that NSPrintPagesPerSheet is long deprecated and nowadays just
has a dummy value of "1" hardcoded.

https://developer.apple.com/documentation/appkit/nsprintpagespersheet

Differential Revision: https://phabricator.services.mozilla.com/D164317
2022-12-13 22:40:34 +00:00
..
android Bug 1805127 - Don't use AndroidBridge to get release version. r=geckoview-reviewers,calu 2022-12-13 11:57:06 +00:00
cocoa Bug 1805477 - Prevent pages-per-sheet on macOS being double applied by system print dialog. r=dholbert 2022-12-13 22:40:34 +00:00
crashtests
generic
gtk Bug 1772073 [Wayland] Call gtk_window_set_transient_for() only if widget parent is changed r=emilio 2022-12-08 10:49:13 +00:00
headless Backed out 4 changesets (bug 1786048) for causing multiple failures. CLOSED TREE 2022-12-02 20:30:07 +02:00
reftests Bug 1793113 - Apply overflow:clip to meter and progress elements, for better rendering when rounded corners are used. r=emilio 2022-10-18 09:06:18 +00:00
tests Bug 1801782 - Drop a redundant pan update phase in panRightToLeft. r=botond 2022-12-04 23:41:42 +00:00
uikit
windows Bug 1755564 - Make SpellCheckerUnderline go through the stand-in color code-path. r=geckoview-reviewers,calu 2022-12-07 18:44:57 +00:00
x11
BasicEvents.h
ColorScheme.h Bug 1782595 - Distinguish between "preferred" and "used" color-scheme. r=tnikkel 2022-08-18 15:49:52 +00:00
CommandList.h Bug 1782852 - part 1: Get rid of unused editor commands in the wild r=smaug 2022-08-05 02:55:22 +00:00
components.conf Bug 1773770: Part 9 - Migrate widget component content proxies to static registration. r=mccr8 2022-06-30 09:12:18 +00:00
CompositorWidget.cpp
CompositorWidget.h
ContentCache.cpp Bug 1781044 - Disable some diagnostic asserts in widget for IPC fuzzing. r=masayuki 2022-07-26 14:06:24 +00:00
ContentCache.h
ContentData.cpp
ContentData.h
ContentEvents.h
EventClassList.h
EventForwards.h
EventMessageList.h Bug 1785105 - Fire scrollend events. r=hiro,emilio 2022-10-06 01:07:16 +00:00
FontRange.h
GfxDriverInfo.cpp Bug 1794722 - Part 1. Remove WebRender from the GfxInfo allowlist. r=jrmuizel 2022-10-28 12:36:05 +00:00
GfxDriverInfo.h Bug 1794722 - Part 1. Remove WebRender from the GfxInfo allowlist. r=jrmuizel 2022-10-28 12:36:05 +00:00
GfxInfoBase.cpp Bug 1801780 - Include more information about blocklist in about:support. r=jrmuizel 2022-11-22 16:00:15 +00:00
GfxInfoBase.h Bug 1794722 - Part 3. Remove all uses of GfxInfo::GetWebRenderEnabled. r=jrmuizel,webcompat-reviewers,twisniewski 2022-10-28 12:36:06 +00:00
GfxInfoCollector.cpp
GfxInfoCollector.h
IconLoader.cpp Bug 1771867 - Early Hints Phase 2 - Part 7: Pass early hint preload to image preloader r=necko-reviewers,valentin 2022-12-02 16:15:55 +00:00
IconLoader.h
IMEData.cpp Bug 1792515 - Rename InputContext::mHTMLInputInputmode to mHTMLInputMode r=m_kato,geckoview-reviewers 2022-09-29 14:06:03 +00:00
IMEData.h Bug 1792515 - Rename InputContext::mHTMLInputInputmode to mHTMLInputMode r=m_kato,geckoview-reviewers 2022-09-29 14:06:03 +00:00
InProcessCompositorWidget.cpp
InProcessCompositorWidget.h
InputData.cpp Bug 1794070 - Refer mRequiresContentResponseIfCannotScrollHorizontallyInStartDirection flag instead of calling SwipeTrackker::CanTriggerSwipe(). r=botond 2022-11-22 06:52:52 +00:00
InputData.h Bug 1794070 - Introduce PanGestureInput::AllowsSwipe(). r=botond 2022-11-22 06:52:52 +00:00
LookAndFeel.h Bug 1799901 - Make panel animations a LookAndFeel int. r=dao,Gijs 2022-11-09 19:31:08 +00:00
LookAndFeelTypes.ipdlh
LSBUtils.cpp
LSBUtils.h
MediaKeysEventSourceFactory.h
MiscEvents.h
MouseEvents.h Bug 1794070 - Drop "OS X" or macOS in comments about swipe-to-navigation. r=tnikkel 2022-11-22 06:52:48 +00:00
moz.build Backed out 4 changesets (bug 1786048) for causing multiple failures. CLOSED TREE 2022-12-02 20:30:07 +02:00
NativeKeyBindingsType.h
NativeKeyToDOMCodeName.h
NativeKeyToDOMKeyName.h
NativeMenu.h
NativeMenuSupport.h
nsAppShellSingleton.h Bug 1792437, part 2 - Remove nsIModule. r=xpcom-reviewers,nika 2022-09-27 22:16:29 +00:00
nsAutoRollup.cpp
nsAutoRollup.h
nsBaseAppShell.cpp Bug 1343826 - Return updated timezone on system timezone change. r=smaug,mstange,stransky,handyman 2022-06-14 19:41:30 +00:00
nsBaseAppShell.h Bug 1343826 - Return updated timezone on system timezone change. r=smaug,mstange,stransky,handyman 2022-06-14 19:41:30 +00:00
nsBaseClipboard.cpp Bug 1785913 - Update mIgnoreEmptyNotification in nsBaseClipboard; r=NeilDeakin 2022-08-23 11:05:45 +00:00
nsBaseClipboard.h Bug 1785913 - Update mIgnoreEmptyNotification in nsBaseClipboard; r=NeilDeakin 2022-08-23 11:05:45 +00:00
nsBaseDragService.cpp Bug 1777149, ensure the dropEffect is being set correctly when a drop ends in a different process, r=smaug 2022-08-10 23:55:08 +00:00
nsBaseDragService.h
nsBaseFilePicker.cpp
nsBaseFilePicker.h
nsBaseWidget.cpp Bug 1794070 - Make a pan start event wait for the browser gesture code response. r=botond,dlrobertson 2022-11-22 06:52:53 +00:00
nsBaseWidget.h Bug 1794070 - Make a pan start event wait for the browser gesture code response. r=botond,dlrobertson 2022-11-22 06:52:53 +00:00
nsClipboardHelper.cpp
nsClipboardHelper.h
nsClipboardProxy.cpp Bug 1802125 - Use nsIClipboard.AsyncGetData to handle GetClipboardAsync IPC; r=nika 2022-11-28 12:22:51 +00:00
nsClipboardProxy.h
nsColorPickerProxy.cpp Bug 1780788 - Use abstract strings as in-arguments for ipdl. r=nika,necko-reviewers,media-playback-reviewers,alwu,dragana 2022-07-25 20:19:48 +00:00
nsColorPickerProxy.h Bug 1780788 - Use abstract strings as in-arguments for ipdl. r=nika,necko-reviewers,media-playback-reviewers,alwu,dragana 2022-07-25 20:19:48 +00:00
nsContentProcessWidgetFactory.h Bug 1773770: Part 9 - Migrate widget component content proxies to static registration. r=mccr8 2022-06-30 09:12:18 +00:00
nsCUPSShim.cpp
nsCUPSShim.h Bug 1771500 Show all available printers; r=stransky 2022-06-22 07:52:59 +00:00
nsDeviceContextSpecProxy.cpp
nsDeviceContextSpecProxy.h
nsDragServiceProxy.cpp Bug 1781129 - Part 3: Remove Shmem overload of GetSurfaceData, r=edgar 2022-08-26 16:08:06 +00:00
nsDragServiceProxy.h
nsFilePickerProxy.cpp Bug 1780788 - Use abstract strings as in-arguments for ipdl. r=nika,necko-reviewers,media-playback-reviewers,alwu,dragana 2022-07-25 20:19:48 +00:00
nsFilePickerProxy.h
nsGUIEventIPC.h Bug 1794070 - Refer mRequiresContentResponseIfCannotScrollHorizontallyInStartDirection flag instead of calling SwipeTrackker::CanTriggerSwipe(). r=botond 2022-11-22 06:52:52 +00:00
nsHTMLFormatConverter.cpp
nsHTMLFormatConverter.h
nsIApplicationChooser.idl
nsIAppShell.idl Bug 1343826 - Return updated timezone on system timezone change. r=smaug,mstange,stransky,handyman 2022-06-14 19:41:30 +00:00
nsIBaseWindow.cpp Bug 1773813 - Incorporate OS zoom factor in window sizing calculations. r=tnikkel 2022-06-14 15:01:52 +00:00
nsIBaseWindow.idl Backed out 4 changesets (bug 1786048) for causing multiple failures. CLOSED TREE 2022-12-02 20:30:07 +02:00
nsIBidiKeyboard.idl
nsIClipboard.idl Bug 1755863 - Part 2: Add async API/IPC for getting matching data flavors from clipboard; r=nika,geckoview-reviewers,m_kato 2022-08-15 20:27:26 +00:00
nsIClipboardHelper.idl
nsIClipboardOwner.idl
nsIColorPicker.idl
nsIDeviceContextSpec.cpp
nsIDeviceContextSpec.h
nsIDisplayInfo.idl
nsIDragService.idl
nsIDragSession.idl
nsIFilePicker.idl
nsIFormatConverter.idl
nsIGfxInfo.idl Bug 1794722 - Part 3. Remove all uses of GfxInfo::GetWebRenderEnabled. r=jrmuizel,webcompat-reviewers,twisniewski 2022-10-28 12:36:06 +00:00
nsIGfxInfoDebug.idl
nsIGtkTaskbarProgress.idl
nsIJumpListBuilder.idl
nsIJumpListItem.idl
nsIMacDockSupport.idl
nsIMacFinderProgress.idl
nsIMacSharingService.idl
nsIMacUserActivityUpdater.idl
nsIMacWebAppUtils.idl
nsIPaper.idl
nsIPaperMargin.idl
nsIPrintDialogService.idl
nsIPrinter.idl
nsIPrinterList.idl
nsIPrintSettings.idl Bug 1795244 - Save modified preferences whenever native print dialog is used. r=layout-reviewers,emilio 2022-11-29 21:08:08 +00:00
nsIPrintSettingsService.idl Bug 1755153 p2 - Prevent saving print settings to prefs if print.save_print_settings=false. r=emilio 2022-10-30 10:32:28 +00:00
nsIPrintSettingsWin.idl
nsIRollupListener.h
nsIScreen.idl
nsIScreenManager.idl
nsISharePicker.idl
nsISound.idl Bug 1797840: Replace stray tab characters with spaces in IDL files throughout the tree. r=mccr8,necko-reviewers,credential-management-reviewers,smaug,sgalich,valentin 2022-10-28 18:08:17 +00:00
nsIStandaloneNativeMenu.idl
nsISystemStatusBar.idl
nsITaskbarOverlayIconController.idl
nsITaskbarPreview.idl
nsITaskbarPreviewButton.idl
nsITaskbarPreviewController.idl
nsITaskbarProgress.idl
nsITaskbarTabPreview.idl
nsITaskbarWindowPreview.idl
nsITouchBarHelper.idl
nsITouchBarInput.idl
nsITouchBarUpdater.idl
nsITransferable.idl Bug 1788668 - Add 'application/pdfjs' to the list of known formats r=NeilDeakin 2022-09-02 19:04:09 +00:00
nsIUserIdleService.idl
nsIUserIdleServiceInternal.idl
nsIWidget.h Bug 1801956 - Move titlebar button handling out of nsBoxFrame. r=tnikkel 2022-11-23 09:31:58 +00:00
nsIWidgetListener.cpp Bug 1786525 - Don't update untransformed anchor rect when moved by move-to-rect. r=stransky 2022-08-30 09:30:27 +00:00
nsIWidgetListener.h Bug 1786525 - Don't update untransformed anchor rect when moved by move-to-rect. r=stransky 2022-08-30 09:30:27 +00:00
nsIWindowsUIUtils.idl
nsIWinTaskbar.idl
nsNativeTheme.cpp Bug 1792802 - Fix tree column picker. r=aminomancer 2022-10-05 06:59:13 +00:00
nsNativeTheme.h Bug 1782623 - Rename nsNativeTheme::IsDarkBackground to IsDarkBackgroundForScrollbar, and clean up a bit surrounding code. r=dholbert 2022-08-02 13:20:40 +00:00
nsPaper.cpp
nsPaper.h
nsPaperMargin.cpp
nsPaperMargin.h
nsPrimitiveHelpers.cpp
nsPrimitiveHelpers.h
nsPrinterBase.cpp
nsPrinterBase.h
nsPrinterCUPS.cpp
nsPrinterCUPS.h
nsPrinterListBase.cpp
nsPrinterListBase.h
nsPrinterListCUPS.cpp Bug 1771500 Show all available printers; r=stransky 2022-06-22 07:52:59 +00:00
nsPrinterListCUPS.h
nsPrintSettingsImpl.cpp Bug 1681183: Ignore unwriteable margins user specifies Margins: None for printing. r=dholbert,mstriemer 2022-08-15 19:55:08 +00:00
nsPrintSettingsImpl.h Bug 1681183: Ignore unwriteable margins user specifies Margins: None for printing. r=dholbert,mstriemer 2022-08-15 19:55:08 +00:00
nsPrintSettingsService.cpp Bug 1800684 - Remove print_via_parent. r=dshin 2022-11-15 16:19:30 +00:00
nsPrintSettingsService.h
nsSoundProxy.cpp
nsSoundProxy.h
nsTransferable.cpp Bug 1792574, part 3 - Don't include nsMemory where it isn't needed. r=xpcom-reviewers,necko-reviewers,valentin,nika 2022-09-28 15:17:46 +00:00
nsTransferable.h
nsUserIdleService.cpp
nsUserIdleService.h
nsWidgetInitData.h Bug 1781747 - Don't use shadow class for non-menupopup popup windows. r=Jamie,handyman 2022-07-29 12:47:48 +00:00
nsWidgetsCID.h
nsXPLookAndFeel.cpp Bug 1755564 - Tweak spell checker underline color in dark mode. r=spohl 2022-12-07 18:44:58 +00:00
nsXPLookAndFeel.h Bug 1776162 - Improve LookAndFeel color caching. r=mstange 2022-06-23 22:38:02 +00:00
PrintBackgroundTask.h
PuppetBidiKeyboard.cpp
PuppetBidiKeyboard.h
PuppetWidget.cpp Backed out changeset 3b9e2c9256f8 (bug 1803966) for causing regressions on bugs 1786514, 1792516 and 1789145. 2022-12-08 01:52:10 +02:00
PuppetWidget.h Bug 1798213 - For widget-less pages keep defaulting to primary screen scale factor. r=tnikkel,layout-reviewers,extension-reviewers,robwu 2022-11-16 15:52:07 +00:00
RemoteLookAndFeel.cpp
RemoteLookAndFeel.h
Screen.cpp Bug 1744687 - Part 1. Lock orientation backend for Windows Tablet. r=gsvelto 2022-11-24 15:10:15 +00:00
Screen.h Bug 1744687 - Part 1. Lock orientation backend for Windows Tablet. r=gsvelto 2022-11-24 15:10:15 +00:00
ScreenManager.cpp
ScreenManager.h
ScrollbarDrawing.cpp
ScrollbarDrawing.h
ScrollbarDrawingAndroid.cpp Backed out 4 changesets (bug 1786048) for causing multiple failures. CLOSED TREE 2022-12-02 20:30:07 +02:00
ScrollbarDrawingAndroid.h
ScrollbarDrawingCocoa.cpp Bug 1782623 - Rename nsNativeTheme::IsDarkBackground to IsDarkBackgroundForScrollbar, and clean up a bit surrounding code. r=dholbert 2022-08-02 13:20:40 +00:00
ScrollbarDrawingCocoa.h Bug 1782623 - Rename nsNativeTheme::IsDarkBackground to IsDarkBackgroundForScrollbar, and clean up a bit surrounding code. r=dholbert 2022-08-02 13:20:40 +00:00
ScrollbarDrawingGTK.cpp Bug 1773342 - Treat text scale factor as an additional zoom factor, on both GTK and Windows. r=stransky,handyman 2022-06-09 23:02:11 +00:00
ScrollbarDrawingGTK.h
ScrollbarDrawingWin11.cpp
ScrollbarDrawingWin11.h
ScrollbarDrawingWin.cpp Bug 1782623 - Rename nsNativeTheme::IsDarkBackground to IsDarkBackgroundForScrollbar, and clean up a bit surrounding code. r=dholbert 2022-08-02 13:20:40 +00:00
ScrollbarDrawingWin.h Bug 1782623 - Rename nsNativeTheme::IsDarkBackground to IsDarkBackgroundForScrollbar, and clean up a bit surrounding code. r=dholbert 2022-08-02 13:20:40 +00:00
SharedWidgetUtils.cpp
SwipeTracker.cpp Bug 1782631. Don't draw swipe to nav arrows at 100% of animation if navigation won't occur. r=hiro 2022-08-03 10:50:41 +00:00
SwipeTracker.h Bug 1782631. Don't draw swipe to nav arrows at 100% of animation if navigation won't occur. r=hiro 2022-08-03 10:50:41 +00:00
SystemTimeConverter.h
TextEventDispatcher.cpp
TextEventDispatcher.h
TextEventDispatcherListener.h
TextEvents.h Bug 1726454 - Make nsGenericHTMLElement::HandleKeyboardActivation handle spacebar key press correctly. r=masayuki 2022-10-06 14:28:43 +00:00
TextRange.h
TextRecognition.cpp Bug 1781129 - Part 2: Use BigBuffer for ShmemImage, r=edgar 2022-08-26 16:08:05 +00:00
TextRecognition.h Bug 1782981 - Only show the macOS context menu if it is supported; r=nordzilla 2022-08-17 15:41:12 +00:00
Theme.cpp Bug 1802314 - Use non-native tooltips in the cocoa non-native theme too. r=spohl 2022-12-07 18:47:53 +00:00
Theme.h Bug 1793689 - Make GetMinimumWidgetSize work properly on non-XUL flexbox. r=TYLin,layout-reviewers 2022-10-05 19:09:29 +00:00
ThemeChangeKind.h
ThemeCocoa.cpp Bug 1802314 - Use non-native tooltips in the cocoa non-native theme too. r=spohl 2022-12-07 18:47:53 +00:00
ThemeCocoa.h Bug 1802314 - Use non-native tooltips in the cocoa non-native theme too. r=spohl 2022-12-07 18:47:53 +00:00
ThemeColors.cpp Bug 1785310 - Remove mozilla/StaticPrefs_layout.h includes from other headers. r=dholbert 2022-08-17 21:26:36 +00:00
ThemeColors.h Bug 1775247 - Make AccentColor/Text consistent with accent-color: auto. r=mstange 2022-06-22 09:45:07 +00:00
ThemeDrawing.cpp
ThemeDrawing.h
TouchEvents.h
TouchResampler.cpp
TouchResampler.h
VsyncDispatcher.cpp Bug 1797814 - Allow setting a maximum frame rate frequency in Hz, r=mstange. 2022-11-07 19:30:49 +00:00
VsyncDispatcher.h Bug 1772463 - Move mVsyncSkipCounter into mState. r=bas 2022-07-19 18:51:46 +00:00
WidgetEventImpl.cpp Bug 1793676 - Dynamically generate DOM code names for some continuous runs of codes, r=mccr8 2022-10-14 21:32:17 +00:00
WidgetMessageUtils.h Backed out 4 changesets (bug 1786048) for causing multiple failures. CLOSED TREE 2022-12-02 20:30:07 +02:00
WidgetTraceEvent.h
WidgetUtils.cpp
WidgetUtils.h
WindowButtonType.h Bug 1801956 - Move titlebar button handling out of nsBoxFrame. r=tnikkel 2022-11-23 09:31:58 +00:00
WindowOcclusionState.h