Skip to content

High-dpi fixes

High-dpi fixes #385

Triggered via push September 14, 2024 19:16
Status Success
Total duration 4m 3s
Artifacts

dotnet.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

23 warnings
build (ubuntu-24.04): NAPS2.Lib/EtoForms/Widgets/SliderWithTextBox.cs#L89
Dereference of a possibly null reference.
build (ubuntu-24.04): NAPS2.Lib/EtoForms/Widgets/SliderWithTextBox.cs#L89
Dereference of a possibly null reference.
build (macos-14): NAPS2.Lib/EtoForms/Widgets/SliderWithTextBox.cs#L89
Dereference of a possibly null reference.
build (macos-14): NAPS2.Lib/EtoForms/Widgets/SliderWithTextBox.cs#L89
Dereference of a possibly null reference.
build (macos-14): NAPS2.Lib/Update/UpdateOperation.cs#L28
'ServicePointManager' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead. Settings on ServicePointManager no longer affect SslStream or HttpClient.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build (macos-14): NAPS2.Lib/Update/UpdateOperation.cs#L32
'ServicePointManager' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead. Settings on ServicePointManager no longer affect SslStream or HttpClient.' (https://aka.ms/dotnet-warnings/SYSLIB0014)
build (macos-14): NAPS2.Lib/Remoting/Server/SharedDeviceManager.cs#L36
'X509Certificate2.X509Certificate2(byte[])' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build (macos-14): NAPS2.Lib/Update/UpdateOperation.cs#L181
'X509Certificate2.X509Certificate2(byte[])' is obsolete: 'Loading certificate data through the constructor or Import is obsolete. Use X509CertificateLoader instead to load certificates.' (https://aka.ms/dotnet-warnings/SYSLIB0057)
build (macos-14): NAPS2.Lib.Mac/EtoForms/Mac/MacListView.cs#L55
'NSPasteboard.NSPasteboardTypeFileUrl' is obsolete: 'Use the 'NSPasteboardType' enum instead.'
build (macos-14): NAPS2.Lib.Mac/EtoForms/Mac/MacEtoPlatform.cs#L59
Dereference of a possibly null reference.
build (macos-14): NAPS2.Lib.Mac/EtoForms/Mac/MacListView.cs#L348
'NSPasteboard.NSPasteboardTypeFileUrl' is obsolete: 'Use the 'NSPasteboardType' enum instead.'
build (macos-14): NAPS2.Lib.Mac/EtoForms/Mac/MacListView.cs#L354
'NSPasteboard.NSPasteboardTypeFileUrl' is obsolete: 'Use the 'NSPasteboardType' enum instead.'
build (windows-2022): NAPS2.Lib/EtoForms/Widgets/SliderWithTextBox.cs#L89
Dereference of a possibly null reference.
build (windows-2022): NAPS2.Lib/EtoForms/Widgets/SliderWithTextBox.cs#L89
Dereference of a possibly null reference.
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L91
Dereference of a possibly null reference.
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L91
Possible null reference argument for parameter 'image' in 'void Graphics.DrawImage(Image image, Point point)'.
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L95
Dereference of a possibly null reference.
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L95
Possible null reference argument for parameter 'image' in 'void ControlPaint.DrawImageDisabled(Graphics graphics, Image image, int x, int y, Color background)'.
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L104
Dereference of a possibly null reference.
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L104
Possible null reference argument for parameter 'image' in 'void Graphics.DrawImage(Image image, Point point)'.
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L109
Dereference of a possibly null reference.
build (windows-2022): NAPS2.Lib.WinForms/WinForms/ToolStripDoubleButton.cs#L108
Possible null reference argument for parameter 'image' in 'void ControlPaint.DrawImageDisabled(Graphics graphics, Image image, int x, int y, Color background)'.
build (windows-2022): NAPS2.Lib/EtoForms/Widgets/SliderWithTextBox.cs#L89
Dereference of a possibly null reference.