Recent

Author Topic: Lazpaint Qt5 version crashes when resizing canvas  (Read 1054 times)

N3xtery

  • Newbie
  • Posts: 2
Lazpaint Qt5 version crashes when resizing canvas
« on: March 08, 2024, 05:34:27 pm »
Lazpaint Qt5 version crashes about 1-2 seconds after resizing canvas. Doesn't seem to happen on the GTK2 version. If I launch lazpaint through terminal, during the crash it just says "[FORMS.PP] ExceptionOccurred". I use debian 12 with KDE Plasma 5

zeljko

  • Hero Member
  • *****
  • Posts: 1686
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Lazpaint Qt5 version crashes when resizing canvas
« Reply #1 on: March 08, 2024, 08:39:19 pm »
Need more information. Qt library version, libQt5Pas version, Lazarus version...

circular

  • Hero Member
  • *****
  • Posts: 4366
    • Personal webpage
Re: Lazpaint Qt5 version crashes when resizing canvas
« Reply #2 on: March 09, 2024, 02:14:38 am »
Hello N3xtery,

Thanks for popping by on the forum. As the software was mainly developed on Gtk2 (and Windows and MacOS), your feedback on Qt5 is precious. It would be wonderful to know more about the context, so here are some question to narrow it down.

If I understand correctly, the program crashes without specific error message, neither in a window nor in the console. Is that correct?

When you say resizing canvas, I suppose you are referring to the use of the Canvas size item in the Image menu?

Maybe a debug version of LazPaint could help us get a more explicit error. For now only the Gtk2 debug version is provided. But before we get to that, is the software installed from a package repository, and in this case, what is the full version of the package?
Conscience is the debugger of the mind

N3xtery

  • Newbie
  • Posts: 2
Re: Lazpaint Qt5 version crashes when resizing canvas
« Reply #3 on: March 09, 2024, 02:44:40 pm »
If I understand correctly, the program crashes without specific error message, neither in a window nor in the console. Is that correct?
Yes

Quote
When you say resizing canvas, I suppose you are referring to the use of the Canvas size item in the Image menu?
Yes, it has the Ctrl+Shift+R shortcut

Quote
Maybe a debug version of LazPaint could help us get a more explicit error. For now only the Gtk2 debug version is provided. But before we get to that, is the software installed from a package repository, and in this case, what is the full version of the package?
I installed it using the deb package from https://lazpaint.github.io/

circular

  • Hero Member
  • *****
  • Posts: 4366
    • Personal webpage
Re: Lazpaint Qt5 version crashes when resizing canvas
« Reply #4 on: March 09, 2024, 02:55:19 pm »
Ok. So I think a way forward is to try and debug.

Does someone has a Linux environment to compile the Qt5 version of LazPaint for Linux 64 bit and with debugging information?
Conscience is the debugger of the mind

lainz

  • Hero Member
  • *****
  • Posts: 4648
  • Web, Desktop & Android developer
    • https://lainz.github.io/
Re: Lazpaint Qt5 version crashes when resizing canvas
« Reply #5 on: March 09, 2024, 03:08:17 pm »
Ok. So I think a way forward is to try and debug.

Does someone has a Linux environment to compile the Qt5 version of LazPaint for Linux 64 bit and with debugging information?

I have Ubuntu 22 with Wayland and every Lazarus app is buggy.

So I can't help now

Maybe using Linux Mint will be the solution...

circular

  • Hero Member
  • *****
  • Posts: 4366
    • Personal webpage
Re: Lazpaint Qt5 version crashes when resizing canvas
« Reply #6 on: March 09, 2024, 06:08:30 pm »
Ok, I'll try to run a virtual machine.
Conscience is the debugger of the mind

 

TinyPortal © 2005-2018