Recent

Author Topic: Lazarus dont like Ubuntu 10.4 ...?  (Read 23857 times)

José Mejuto

  • Full Member
  • ***
  • Posts: 136
Re: Lazarus dont like Ubuntu 10.4 ...?
« Reply #15 on: April 29, 2010, 04:25:39 pm »
Just curious, this has nothing to do with your crash, but what keyboard and language are you using ? Normally lazarus should not get out of VK codes.
[...]

Hello,

Same "problem" here, Ubuntu 9.04 Spanish-Spain for everything. No sudo to startlazarus. System running inside VirtualBox last version. Lazarus 9.29 of about february and fpc 2.5.1 of february too.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2512
Re: Lazarus dont like Ubuntu 10.4 ...?
« Reply #16 on: April 30, 2010, 04:24:27 pm »
To all who have the VK issue, can you give me the output of
Code: [Select]
xmodmap -pk and
Code: [Select]
xmodmap -pm Both run from the command prompt.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

José Mejuto

  • Full Member
  • ***
  • Posts: 136
Re: Lazarus dont like Ubuntu 10.4 ...?
« Reply #17 on: April 30, 2010, 09:52:02 pm »
To all who have the VK issue, can you give me the output of
Code: [Select]
xmodmap -pk and
Code: [Select]
xmodmap -pm Both run from the command prompt.

Hello,

Done. It also show the message in compiled applications.

Code: [Select]
[WARNING] Out of OEM specific VK codes, changing to unassigned
[WARNING] Out of unassigned VK codes, assigning $FF

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Re: Lazarus dont like Ubuntu 10.4 ...?
« Reply #18 on: May 01, 2010, 07:37:31 am »
Quote
To all who have the VK issue, can you give me the output of...
Attached. German keyboard layout
Lazarus 1.7 (SVN) FPC 3.0.0

bflm

  • Jr. Member
  • **
  • Posts: 54
    • Free Pascal Random Bits
Re: Lazarus dont like Ubuntu 10.4 ...?
« Reply #19 on: May 01, 2010, 10:17:35 am »
To all who have the VK issue, can you give me the output of
Code: [Select]
xmodmap -pk and
Code: [Select]
xmodmap -pm Both run from the command prompt.

Attached LANG=cs_CZ.UTF-8

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2512
Re: Lazarus dont like Ubuntu 10.4 ...?
« Reply #20 on: May 02, 2010, 11:04:11 pm »
Thanks for all the maps. In those maps almost all 255 entries are occupied. The warnings you get you don't need to worry about (it "only" means that you wont get keypress/release events for some extended multimedia keys). I think I'll remove the warning. Maybe I'll write some dump vk-keymap tool to verify if all normal Vk-codes are assigned.

The "problem" is that I've to map those 255 entries to the ~200 values defined by windows (since the LCL expect those) end there are only ~50 values left to assign to other keys unknown to windows. This is what is happening with all extra multimedia keys.


//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

Fred vS

  • Hero Member
  • *****
  • Posts: 1871
    • StrumPract is the musicians best friend
Re: Lazarus dont like Ubuntu 10.4 ...?
« Reply #21 on: May 03, 2010, 06:23:02 pm »
Thanks Marc, but...
what about Access violation message in Ubuntu 10 (i try everything, i loose, im back with Ubuntu 9...)  :(
I use Lazarus 2.0.6 32/64 and FPC 3.2.0 32/64 on Debian 10.2 64 bit, Windows 10, Windows 7 32/64, Windows XP 32,  FreeBSD 64 and Mac OS X Snow Leopard 32.
Widgetset: fpGUI, MSEgui, Win32, GTK2, Qt, Carbon.

https://github.com/fredvs
https://gitlab.com/fredvs

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2512
Re: Lazarus dont like Ubuntu 10.4 ...?
« Reply #22 on: May 03, 2010, 11:10:26 pm »
Thanks Marc, but...
what about Access violation message in Ubuntu 10 (i try everything, i loose, im back with Ubuntu 9...)  :(

Only stack adresses won't tell anyone a thing, try to recompile the ide with debug info.
Personally I would do that from a command prompt, no idea how to to from within lazarus.

Depending of you have
a) just the ide,
b) the "default" ide with all db stuff or
c) custom installed packages,
run in a command prompt in the lazarus dir (where the source is)

a) make ide OPT=-gl
b) make bigide OPT=-gl
c) make pkgide OPT=-gl

PS, copy your lazarus exe, just in case the compilation ruins it.
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

José Mejuto

  • Full Member
  • ***
  • Posts: 136
Re: Lazarus dont like Ubuntu 10.4 ...?
« Reply #23 on: May 04, 2010, 11:33:24 am »
Thanks for all the maps. In those maps almost all 255 entries are occupied. The warnings you get you don't need to worry about (it "only" means that you wont get keypress/release events for some extended multimedia keys). I think I'll remove the warning. Maybe I'll write some dump vk-keymap tool to verify if all normal Vk-codes are assigned.
[...]

Hello,

The problem is not in the IDE as the message is OK, no keys free, but in compiled applications the message appears also in the terminal window which is not very eye candy.

Marc

  • Administrator
  • Hero Member
  • *
  • Posts: 2512
Re: Lazarus dont like Ubuntu 10.4 ...?
« Reply #24 on: May 04, 2010, 09:47:08 pm »
Thanks for all the maps. In those maps almost all 255 entries are occupied. The warnings you get you don't need to worry about (it "only" means that you wont get keypress/release events for some extended multimedia keys). I think I'll remove the warning. Maybe I'll write some dump vk-keymap tool to verify if all normal Vk-codes are assigned.
[...]

Hello,

The problem is not in the IDE as the message is OK, no keys free, but in compiled applications the message appears also in the terminal window which is not very eye candy.

Those messages are part of the LCL, so once removed there, you won't see them in your apps eitehr
//--
{$I stdsig.inc}
//-I still can't read someones mind
//-Bugs reported here will be forgotten. Use the bug tracker

 

TinyPortal © 2005-2018