Lazarus code with Free Pascal does not work properly

Bug #800684 reported by Fanie van der Walt
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
AppMenu GTK+
Confirmed
Wishlist
Unassigned
indicator-appmenu (Ubuntu)
New
Undecided
Unassigned

Bug Description

I am writing a program using Lazarus. The scroll bars do not work with a Memo component, or with a StringGrid component. The main Menu does not work.

Revision history for this message
Bilal Akhtar (bilalakhtar) wrote :

What do you mean? Could you kindly post a screenshot of the issue?

Changed in unity:
status: New → Incomplete
Changed in unity (Ubuntu):
status: New → Incomplete
Revision history for this message
Fanie van der Walt (sjvdwalt) wrote : Re: [Bug 800684] Re: Lazarus code with Free Pascal does not work properly

Hi Bilal,

The attached photo shows the corrupted menus in Lazarus - all the rest
are also like that.
Unfortunately I can not show you the form in my program, containing a
StringGrid, with a scroll bar which does not scroll the contents,
because I have gone back to Ubuntu 10.10.

I am afraid I must vote "negative" for Unity - I don't like it. I
dislike being communicated to in pictures, where menus with text are
much more efficient! Sorry.

Thank you for your attention.

Fanie van der Walt.

On 27/06/2011 10:56, Bilal Akhtar wrote:
> What do you mean? Could you kindly post a screenshot of the issue?
>
> ** Changed in: unity
> Status: New => Incomplete
>
> ** Changed in: unity (Ubuntu)
> Status: New => Incomplete
>

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for unity (Ubuntu) because there has been no activity for 60 days.]

Changed in unity (Ubuntu):
status: Incomplete → Expired
Omer Akram (om26er)
affects: unity (Ubuntu) → indicator-appmenu (Ubuntu)
affects: unity → indicator-appmenu
Changed in indicator-appmenu:
status: Incomplete → New
Changed in indicator-appmenu (Ubuntu):
status: Expired → New
Revision history for this message
Petr Hlozek (ok2cqr) wrote :

Hi Bilal,

I had the same problem in my Lazarus application. Finally, I solved it.

You have to set LIBOVERLAY_SCROLLBAR to 0 directly in your lazarus app. This has to be done before widget set is inicialized. So I created a unit called uScrollBars.pas and add it into initialization section.

More at:

http://cqrlog.svn.sourceforge.net/viewvc/cqrlog/branches/cqrlog_1.2.2/src/uScrollBars.pas?revision=339&view=markup

You must add this unit into your project file as a first unit (or the second if you are using threads in your app).

http://cqrlog.svn.sourceforge.net/viewvc/cqrlog/branches/cqrlog_1.2.2/src/cqrlog.lpr?revision=339&view=markup

HTH

Petr

Revision history for this message
Fanie van der Walt (sjvdwalt) wrote :

Hi Petr,

Thank you. I will try it - next time I install Ubuntu with Unity.

Greetings,

Fanie van der Walt.

On 24/10/2011 11:40, Petr Hlozek wrote:
> Hi Bilal,
>
> I had the same problem in my Lazarus application. Finally, I solved it.
>
> You have to set LIBOVERLAY_SCROLLBAR to 0 directly in your lazarus app.
> This has to be done before widget set is inicialized. So I created a
> unit called uScrollBars.pas and add it into initialization section.
>
> More at:
>
> http://cqrlog.svn.sourceforge.net/viewvc/cqrlog/branches/cqrlog_1.2.2/src/uScrollBars.pas?revision=339&view=markup
>
> You must add this unit into your project file as a first unit (or the
> second if you are using threads in your app).
>
> http://cqrlog.svn.sourceforge.net/viewvc/cqrlog/branches/cqrlog_1.2.2/src/cqrlog.lpr?revision=339&view=markup
>
> HTH
>
> Petr
>

Ted Gould (ted)
affects: indicator-appmenu → appmenu-gtk
Changed in appmenu-gtk:
importance: Undecided → Wishlist
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.