Recent

Author Topic: [SOLVED] ColorDialog crashing  (Read 1847 times)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
    • havefunsoft.com
Re: ColorDialog crashing
« Reply #15 on: March 08, 2020, 06:18:44 am »
ok, a better solution is found and have been applied to the trunk.

If you still have the the color dialog showing up on start, simply press "Button1" to explicitly request it to show, and after that close the app (the normal way).


At this point, the only outstanding problem is the "grayscale" crash.
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

VTwin

  • Hero Member
  • *****
  • Posts: 936
  • Former Turbo Pascal 3 user
Re: ColorDialog crashing
« Reply #16 on: March 08, 2020, 05:26:34 pm »
hm... this is what I did.
- run the application from Terminal.
if color box appears - close it.
then terminate the application using Ctrl+C in terminal.

- run the application from Terminal again.
if color box appears - close it and terminate the app again.

- run the application from Terminal again... the color box should not appear.

Thanks. I cam confirm that that works. However, if I pick a Grayscale or CYMK color, it still crashes.
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.0
macOS 10.13.6: Lazarus 2.0.10 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.10 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.10 (64 bit on VBox)

VTwin

  • Hero Member
  • *****
  • Posts: 936
  • Former Turbo Pascal 3 user
Re: ColorDialog crashing
« Reply #17 on: March 08, 2020, 05:27:22 pm »
ok, a better solution is found and have been applied to the trunk.

If you still have the the color dialog showing up on start, simply press "Button1" to explicitly request it to show, and after that close the app (the normal way).


At this point, the only outstanding problem is the "grayscale" crash.

I'll give that a shot.
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.0
macOS 10.13.6: Lazarus 2.0.10 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.10 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.10 (64 bit on VBox)

VTwin

  • Hero Member
  • *****
  • Posts: 936
  • Former Turbo Pascal 3 user
Re: ColorDialog crashing
« Reply #18 on: March 08, 2020, 05:56:56 pm »
Wow, excellent! I can not make it crash. Even the Grayscale seems to work now. :)

Although it does not crash, there is something slightly amiss with CMYK. If I select a CMYK color, close the program, and restart it, all the CMYK colors are black.
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.0
macOS 10.13.6: Lazarus 2.0.10 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.10 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.10 (64 bit on VBox)

VTwin

  • Hero Member
  • *****
  • Posts: 936
  • Former Turbo Pascal 3 user
Re: ColorDialog crashing
« Reply #19 on: April 05, 2020, 06:13:17 pm »
Is it possible to move this fix to the fixes branch yet?

Cheers,
VTwin
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.0
macOS 10.13.6: Lazarus 2.0.10 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.10 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.10 (64 bit on VBox)

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2520
    • havefunsoft.com
Re: ColorDialog crashing
« Reply #20 on: April 06, 2020, 03:21:30 pm »
it is now in fixes branch
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

VTwin

  • Hero Member
  • *****
  • Posts: 936
  • Former Turbo Pascal 3 user
Re: ColorDialog crashing
« Reply #21 on: April 07, 2020, 02:20:10 am »
Excellent! Thank you so much, it is working.

Cheers,
VTWin
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.0
macOS 10.13.6: Lazarus 2.0.10 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.10 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.10 (64 bit on VBox)

 

TinyPortal © 2005-2018