Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Color Picker and Crop Image tool cannot be launched on the second display #2063

Open
sk-ys opened this issue Dec 15, 2024 · 0 comments
Open
Labels

Comments

@sk-ys
Copy link

sk-ys commented Dec 15, 2024

System information

  • Windows OS version: Windows 11 Pro 24H2
  • ImageGlass version: 9.2.0.1208(64-bit)
  • ImageGlass release: Store / Classic? Classic

To Reproduce

Steps to reproduce the behavior:

  1. Launch ImageGlass on the second display.
  2. Launch the Color Picker or Crop Image tool.

Note: The issue cannot be reproduced if the application is launched on the main display and then moved to the second display.

Actual behavior

image

Error message

Version: ImageGlass v9.2.0.1208
Release code: kobe
Magick.NET: Magick.NET Q16-HDRI-OpenMP x64 net8.0 14.2.0
WebView2 Runtime: 131.0.2903.99
OS: Microsoft Windows NT 10.0.26100.0 64-bit

----------------------------------------------------
Error:

Object reference not set to an instance of an object.
----------------------------------------------------

System.NullReferenceException: Object reference not set to an instance of an object.
   at ImageGlass.FrmCrop.ApplyTheme(Boolean darkMode, Nullable`1 style) in D:\_GITHUB\@d2phap\ImageGlass\Source\ImageGlass\Tools\FrmCrop.cs:line 65
   at ImageGlass.FrmCrop.OnDpiChanged(DpiChangedEventArgs e) in D:\_GITHUB\@d2phap\ImageGlass\Source\ImageGlass\Tools\FrmCrop.cs:line 96
   at System.Windows.Forms.Form.WmDpiChanged(Message& m)
   at System.Windows.Forms.Form.WndProc(Message& m)
   at ImageGlass.UI.ModernForm.WndProc(Message& m) in D:\_GITHUB\@d2phap\ImageGlass\Source\Components\ImageGlass.UI\Forms\ModernForm.cs:line 221
   at System.Windows.Forms.NativeWindow.Callback(HWND hWnd, MessageId msg, WPARAM wparam, LPARAM lparam)

Expected behavior

image

@sk-ys sk-ys added the 🐞 bug label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant