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

App crashes after movement of Toolbar #208

Open
Canonius opened this issue Feb 8, 2024 · 2 comments
Open

App crashes after movement of Toolbar #208

Canonius opened this issue Feb 8, 2024 · 2 comments
Labels

Comments

@Canonius
Copy link

Canonius commented Feb 8, 2024

Hello, i wanted to notify you about an app crash.
I was playing with movement of the Toolbar and moved it again back down right. If i try to close the Toolbar i get this message:

grafik

@Canonius
Copy link
Author

Canonius commented Feb 8, 2024

UIThreadException

Oops, gInk crashed! Please include the following information if you plan to contact the developers (a copy of the following information is stored in crash.txt in the application folder):

Ungültiger Parameter.

Stack Trace:
bei System.Drawing.Image.get_Width()
bei System.Drawing.Image.get_Size()
bei System.Windows.Forms.ButtonInternal.ButtonBaseAdapter.CommonLayout()
bei System.Windows.Forms.ButtonInternal.ButtonFlatAdapter.PaintFlatLayout(PaintEventArgs e, Boolean up, Boolean check, Int32 borderSize)
bei System.Windows.Forms.ButtonInternal.ButtonFlatAdapter.PaintUp(PaintEventArgs e, CheckState state)
bei System.Windows.Forms.ButtonInternal.ButtonBaseAdapter.Paint(PaintEventArgs pevent)
bei System.Windows.Forms.ButtonBase.OnPaint(PaintEventArgs pevent)
bei System.Windows.Forms.Control.PaintWithErrorHandling(PaintEventArgs e, Int16 layer)
bei System.Windows.Forms.Control.WmPaint(Message& m)
bei System.Windows.Forms.Control.WndProc(Message& m)
bei System.Windows.Forms.ButtonBase.WndProc(Message& m)
bei System.Windows.Forms.Button.WndProc(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
bei System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
bei System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

@Canonius
Copy link
Author

Canonius commented Feb 8, 2024

i can resolve this issue by replacing following lines inside the config.txt

Toolbar location (only applicable when allowing dragging toolbar)
Toolbar_Left = 0
Toolbar_Top = 0

@geovens geovens added the bug label Feb 9, 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

2 participants