Window resize crash #2

Closed
opened 2022-01-02 19:12:34 +01:00 by walkero · 2 comments
Owner

Fix A1222 and Sam 460ex compatibility where it runs fine, until the user resize the
window.

The following error appears:

#APPDIR:Lite
assertion "w_pixels % w_points == 0 && h_pixels % h_points == 0 && w_pixels / w_points == h_pixels / h_points" failed: file "src/renwindow.c", line 12
***¡Comando 'APPDIR:Lite' returned with unfreeded signals 0xF0000000!

Fix A1222 and Sam 460ex compatibility where it runs fine, until the user resize the window. The following error appears: > #APPDIR:Lite > assertion "w_pixels % w_points == 0 && h_pixels % h_points == 0 && w_pixels / w_points == h_pixels / h_points" failed: file "src/renwindow.c", line 12 > ***¡Comando 'APPDIR:Lite' returned with unfreeded signals 0xF0000000!
walkero added the
bug
label 2022-01-02 19:43:08 +01:00
Author
Owner

Possibly this is happening only when "Resize with window contents" is checked at the GUI Prefs. It seems that when this option is enabled, then the calculation that is happening at the assert fails, because the system is slow to update the values and the returned value is not integer.

Maybe a work around needs to be added to overcome this issue.

Possibly this is happening only when "Resize with window contents" is checked at the GUI Prefs. It seems that when this option is enabled, then the calculation that is happening at the assert fails, because the system is slow to update the values and the returned value is not integer. Maybe a work around needs to be added to overcome this issue.
Author
Owner
fixed in https://git.walkero.gr/walkero/lite-xl/releases/tag/v1.16.12.5
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: walkero/lite-xl#2
No description provided.