Recent

Author Topic: Ubuntu 11.10 Problems  (Read 14483 times)

LA.Center

  • Full Member
  • ***
  • Posts: 244
    • LA.Center
Ubuntu 11.10 Problems
« on: October 16, 2011, 08:02:00 pm »
Lazarus and any Laz created app does not work with Ubuntu 11.10, the problem is, the mouse seems not be able to click on forms, editor, edit, memo etc to set focus.

The only way currently you can use Laz and Laz created apps without any problems on Ubuntu 11.10 is

1. Remove Taskbar Menu
http://www.addictivetips.com/ubuntu-linux-tips/how-to-disable-global-menu-in-ubuntu-11-10-tip/

2. Remove new scrollbar
http://www.addictivetips.com/ubuntu-linux-tips/how-to-get-classic-scrollbar-back-in-ubuntu-11-04-tip/

I will have a look at the source and maybe we can come up with a fix asap.

cpalx

  • Hero Member
  • *****
  • Posts: 753
Re: Ubuntu 11.10 Problems
« Reply #1 on: October 23, 2011, 06:02:16 pm »
thanks a lot... you save my life :p

LA.Center

  • Full Member
  • ***
  • Posts: 244
    • LA.Center
Re: Ubuntu 11.10 Problems
« Reply #2 on: October 24, 2011, 12:35:06 pm »
cheers man, they should make Taskbar Menu and Scrollbar thingy optional during default installation if you ask me.

I looked at the source and the menu handle is attaching to a timer of ubuntu that looks for where the mouse is, I guess they are tracing the mouse to show/hide the menu, but the problem is once the laz/lazapp menu handle gets hooked to this menu handle, itself does not receive mouse interrupts anymore.

I am guessing we can fix that very easily by simply adding a Capture interrupt to the TMouse class, or even create a fake handle so that ubuntu can not hook to your app.

I am kind a bit lost in the code, but we'll get there ;)

yuriy_sydorov

  • Full Member
  • ***
  • Posts: 158
Re: Ubuntu 11.10 Problems
« Reply #3 on: October 28, 2011, 12:11:55 pm »
Any thoughts how to force to use old scrollbars from the app code?
I know about the LIBOVERLAY_SCROLLBAR=0 workaround, but it is needed to force users to do something.

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Ubuntu 11.10 Problems
« Reply #4 on: April 28, 2012, 06:33:16 am »
No solution yet for this problem? expect by removing scroll bars.
This problem will hurt most of Lazarus-Linux applications
« Last Edit: April 28, 2012, 06:54:29 am by motaz »

zeljko

  • Hero Member
  • *****
  • Posts: 1596
    • http://wiki.lazarus.freepascal.org/User:Zeljan
Re: Ubuntu 11.10 Problems
« Reply #5 on: April 28, 2012, 05:34:20 pm »
Solution for liboverlay is already commited in trunk (few days ago by Mattias).
There's still problem with mouse capture inside TCustomControl (it can lock whole application, but I think that Mattias maded workaround for that too). You should svn  update to trunk and then test.

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Ubuntu 11.10 Problems
« Reply #6 on: April 29, 2012, 09:26:47 am »
SVN for version 0.99 or version 1

BigChimp

  • Hero Member
  • *****
  • Posts: 5740
  • Add to the wiki - it's free ;)
    • FPCUp, PaperTiger scanning and other open source projects
Re: Ubuntu 11.10 Problems
« Reply #7 on: April 29, 2012, 09:41:57 am »
Trunk means the newest version.
http://svn.freepascal.org/svn/lazarus/trunk

The version for 1.0 has already been branched off this... and is only getting fixes backported.
Want quicker answers to your questions? Read http://wiki.lazarus.freepascal.org/Lazarus_Faq#What_is_the_correct_way_to_ask_questions_in_the_forum.3F

Open source including papertiger OCR/PDF scanning:
https://bitbucket.org/reiniero

Lazarus trunk+FPC trunk x86, Windows x64 unless otherwise specified

motaz

  • Sr. Member
  • ****
  • Posts: 495
    • http://code.sd
Re: Ubuntu 11.10 Problems
« Reply #8 on: May 01, 2012, 07:35:37 am »
Ok, thanks very much, I'll check it

Ocye

  • Hero Member
  • *****
  • Posts: 518
    • Scrabble3D
Re: Ubuntu 11.10 Problems
« Reply #9 on: May 06, 2012, 01:53:06 pm »
It's still an issue with 12.4.

Lazarus 1.1 r35591 FPC 2.6.0 x86_64-linux-qt
Lazarus 1.7 (SVN) FPC 3.0.0

 

TinyPortal © 2005-2018