Recent

Author Topic: How to use CustomDrawn on X11 Linux?  (Read 6967 times)

guest65109

  • Guest
How to use CustomDrawn on X11 Linux?
« on: January 05, 2020, 12:25:05 pm »
I want to try if CustomDrawn works on Linux. I have already changed widgetset to CustomDrawn but the empty form project failed to build. Do I need to install the customdrawn package too?

p/s: it show the following error:

Code: [Select]
Project project1 raised exception class 'External: SIGSEGV'.

 In file 'include/monitor.inc' at line 34

guest65109

  • Guest
Re: How to use CustomDrawn on X11 Linux?
« Reply #1 on: January 05, 2020, 05:45:13 pm »
I want to try if CustomDrawn works on Linux. I have already changed widgetset to CustomDrawn but the empty form project failed to build. Do I need to install the customdrawn package too?

p/s: it show the following error:

Code: [Select]
Project project1 raised exception class 'External: SIGSEGV'.

 In file 'include/monitor.inc' at line 34

Anyone know?

guest65109

  • Guest
Re: How to use CustomDrawn on X11 Linux?
« Reply #2 on: January 05, 2020, 06:38:26 pm »
I want to try if CustomDrawn works on Linux. I have already changed widgetset to CustomDrawn but the empty form project failed to build. Do I need to install the customdrawn package too?

p/s: it show the following error:

Code: [Select]
Project project1 raised exception class 'External: SIGSEGV'.

 In file 'include/monitor.inc' at line 34

No one use CustomDrawn on X11? I think I should quit.

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: How to use CustomDrawn on X11 Linux?
« Reply #3 on: January 05, 2020, 06:46:03 pm »
I confirm your kvetch. Line 34 is a call to WidgetSet.GetDpiForMonitor(). Lazarus trunk (albeit a few days old), Linux on AMD64, Debian "buster", KDE.

Well caught sir, suggest you raise a bug report on Mantis to make sure that the relevant developer (who is probably not in this forum) is aware.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

valdir.marcos

  • Hero Member
  • *****
  • Posts: 1106
Re: How to use CustomDrawn on X11 Linux?
« Reply #4 on: January 06, 2020, 01:49:19 am »
I want to try if CustomDrawn works on Linux. I have already changed widgetset to CustomDrawn but the empty form project failed to build. Do I need to install the customdrawn package too?
p/s: it show the following error:
Code: [Select]
Project project1 raised exception class 'External: SIGSEGV'.
In file 'include/monitor.inc' at line 34

I want to try if CustomDrawn works on Linux. I have already changed widgetset to CustomDrawn but the empty form project failed to build. Do I need to install the customdrawn package too?
p/s: it show the following error:
Code: [Select]
Project project1 raised exception class 'External: SIGSEGV'.
In file 'include/monitor.inc' at line 34
Anyone know?

I want to try if CustomDrawn works on Linux. I have already changed widgetset to CustomDrawn but the empty form project failed to build. Do I need to install the customdrawn package too?
p/s: it show the following error:
Code: [Select]
Project project1 raised exception class 'External: SIGSEGV'.
In file 'include/monitor.inc' at line 34
No one use CustomDrawn on X11? I think I should quit.
Today is Sunday.
Most people is resting, generally with their families.
How repeating the same message 3 times in 6 hours would help?
Where does all this anxiety and violence come from?
I don't know you, but if you could talk to a psychologist, it would be very helpful.

valdir.marcos

  • Hero Member
  • *****
  • Posts: 1106
Re: How to use CustomDrawn on X11 Linux?
« Reply #5 on: January 06, 2020, 01:54:02 am »
I want to try if CustomDrawn works on Linux. I have already changed widgetset to CustomDrawn but the empty form project failed to build. Do I need to install the customdrawn package too?
p/s: it show the following error:
Code: [Select]
Project project1 raised exception class 'External: SIGSEGV'.
In file 'include/monitor.inc' at line 34

I confirm your kvetch. Line 34 is a call to WidgetSet.GetDpiForMonitor(). Lazarus trunk (albeit a few days old), Linux on AMD64, Debian "buster", KDE.
Well caught sir, suggest you raise a bug report on Mantis to make sure that the relevant developer (who is probably not in this forum) is aware.
@mr.coll
If you think you have found a bug, please report it:
https://bugs.freepascal.org/view_all_bug_page.php?refresh=true

dsiders

  • Hero Member
  • *****
  • Posts: 1052
Re: How to use CustomDrawn on X11 Linux?
« Reply #6 on: January 06, 2020, 01:56:02 am »
No one use CustomDrawn on X11? I think I should quit.

Well, since these forums do not have a Bozo filter, that would make things a lot simpler.
Preview Lazarus 3.99 documentation at: https://dsiders.gitlab.io/lazdocsnext

guest65109

  • Guest
Re: How to use CustomDrawn on X11 Linux?
« Reply #7 on: January 06, 2020, 04:54:42 am »
Today is Sunday.
Most people is resting, generally with their families.
How repeating the same message 3 times in 6 hours would help?
Where does all this anxiety and violence come from?
I don't know you, but if you could talk to a psychologist, it would be very helpful.

Psychologist not needed. It's air pollution and noise pollution.
I can't move elsewhere. And the government here has eaten enough money from these guys.
I go to programming to calm myself down. But it's not work, isn't it? The fact is, I'm not a programmer.
Should I go to mathematics? At least I've learned math at school. I've never learned programming but self taught from the internet.

MarkMLl

  • Hero Member
  • *****
  • Posts: 6676
Re: How to use CustomDrawn on X11 Linux?
« Reply #8 on: January 06, 2020, 09:04:47 am »
Psychologist not needed. It's air pollution and noise pollution.
I can't move elsewhere. And the government here has eaten enough money from these guys.

We sympathise. But while you do appear to have uncovered something, it should be escalated to Mantis.

MarkMLl
MT+86 & Turbo Pascal v1 on CCP/M-86, multitasking with LAN & graphics in 128Kb.
Pet hate: people who boast about the size and sophistication of their computer.
GitHub repositories: https://github.com/MarkMLl?tab=repositories

yuriy_sydorov

  • Full Member
  • ***
  • Posts: 158
Re: How to use CustomDrawn on X11 Linux?
« Reply #9 on: January 14, 2020, 05:21:32 pm »
I've attached a patch to fix the crash on startup:
https://bugs.freepascal.org/view.php?id=36574

 

TinyPortal © 2005-2018