Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2012-09

issues with Lazarus Qt

15 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

ik

Hello,

I'ved recently tried to use Lazarus 1.1 with Qt version. While it looks native and really cool in my KDE, I had few issues with it:
1. Font rendering with TSynEdit - It had a lot of issues to display the end of a char at the end of a "word" that after it there was space, dot etc ...
2. The selecting of text in SynEdit, changes the length of the font. So the text moving.
3. The Messeges window keep on disparaging
4. The menus are flickering, and even changing the focus of other windows
5. In the editor, CTRL+SHIFT+Space hint, go over the completion option

Before I'll start to report these as bugs, are these known issues ?

I'm using Arch Linux 64 bit with KDE 4.9.00 with Qt 4.8.2, FPC 2.6.0

Ido

Reply by email

Graeme Geldenhuys
to ik
ik wrote
1. Font rendering with TSynEdit - It had a lot of issues to display the end of a char at the end of a "word" that after it there was space, dot etc ... 2. The selecting of text in SynEdit, changes the length of the font.

I believe these to be regression errors then. I have experienced both of those before, but can't remember if it was with LCL-Qt or LCL-GTK2. I was fixed, but this was long before v1.0. I now only use LCL-GTK2, and can't see that issue now.

Graeme.

Reply by email

Martin
to ik: I'ved recently tried to use Lazarus 1.1 with Qt version. While it looks native and really…
ik wrote 6 lines
I'ved recently tried to use Lazarus 1.1 with Qt version. While it looks native and really cool in my KDE, I had few issues with it: 1. Font rendering with TSynEdit - It had a lot of issues to display the end of a char at the end of a "word" that after it there was space, dot etc ... 2. The selecting of text in SynEdit, changes the length of the font.

1 and 2 are the same
And happen also on windows

seems like

function ExtUTF8Out(DC: HDC; X, Y: Integer; Options: Longint; Rect:
PRect; Str: PChar; Count: Longint; Dx: PInteger): Boolean;

Ignores the Values in Dx (an array of display widths for each char)

I debugged it, the array is passed in correctly.

4. The menus are flickering, and even changing the focus of other windows

Same on windows.

though I must add, my QT may not be the very latest. Yet if it compiles with no error

Before I'll start to report these as bugs, are these known issues ?

Search the bug tracker, then report

Reply by email

Martin
to Martin
Martin wrote 5 lines
Same on windows. though I must add, my QT may not be the very latest. Yet if it compiles with no error

Further more, on windows I suddenly see it hanging (does not react) frequently

No report of an actual crash. But that may be hidden

Reply by email

zeljko
to ik: I'ved recently tried to use Lazarus 1.1 with Qt version. While it looks native and really…
ik wrote 7 lines
Hello, I'ved recently tried to use Lazarus 1.1 with Qt version. While it looks native and really cool in my KDE, I had few issues with it: 1. Font rendering with TSynEdit - It had a lot of issues to display the end of a char at the end of a "word" that after it there was space, dot etc ...

Example ? I didn't test latest trunk with changes in SynEdit ...

2. The selecting of text in SynEdit, changes the length of the font. So the text moving.

Never seen such problem

3. The Messeges window keep on disparaging

Disparaging ? I'm not sure that I've understood this.

4. The menus are flickering, and even changing the focus of other windows

Not all menus, but Window-> menu and that's qt bug (I guess because of checkboxes in it).

5. In the editor, CTRL+SHIFT+Space hint, go over the completion option

Over ? Please attach screenshoot ...

Before I'll start to report these as bugs, are these known issues ?

No, I don't see such issues at all (Fedora 14 32bit, Lazarus 1.1 svn 20-30 revisions away from trunk).

Also, before posting any issues, please try some another theme under KDE eg. plastique.

zeljko

Reply by email

Martin
to zeljko
zeljko wrote 9 lines
On Tuesday 04 of September 2012 18:43:20 ik wrote: > Hello, > > I'ved recently tried to use Lazarus 1.1 with Qt version. > While it looks native and really cool in my KDE, I had few issues with it: > 1. Font rendering with TSynEdit - It had a lot of issues to display > the end of a char at the end of a "word" that after it there was > space, dot etc ... Example ? I didn't test latest trunk with changes in SynEdit ...

Use any propartional font.

Then SynEdit adds the charwidth data to force it into the grid.

The issue does not happen with a monospaced font.
So most people will not noticed. (Proportional fonts look real ugly in SynEdit, due to extreme x-spacing between all chars)

> 2. The selecting of text in SynEdit, changes the length of the font. > So the text moving. Never seen such problem

Same

> 4. The menus are flickering, and even changing the focus of other windows Not all menus, but Window-> menu and that's qt bug (I guess because of checkboxes in it).

Was that always the case? I never noted before..
Ok I very seldom use it. But I test every now and then, and since I build via the toos menu, I do use the menu whenever I test.

And now it is so extreme, there is no way I would not have noticed.

Reply by email

Martin
to Martin
Martin wrote 11 lines
>> 4. The menus are flickering, and even changing the focus of other >> windows > Not all menus, but Window-> menu and that's qt bug (I guess because of > checkboxes in it). Was that always the case? I never noted before.. Ok I very seldom use it. But I test every now and then, and since I build via the toos menu, I do use the menu whenever I test. And now it is so extreme, there is no way I would not have noticed.

Well maybe I did not notice. It is only the "window" (list of all windows) menu. Which is the only one that has checkboxes.

Reply by email

zeljko
to Martin: Further more, on windows I suddenly see it hanging (does not react) frequently No report…
Martin wrote 8 lines
On 04/09/2012 18:56, Martin wrote: > Same on windows. > > though I must add, my QT may not be the very latest. Yet if it compiles > with no error Further more, on windows I suddenly see it hanging (does not react) frequently

Try to update Qt to at least 4.7.3 (but 4.8.2 is definitelly better option). Hanging is fixed somewhere between 4.7.0 and 4.7.3

zeljko

Reply by email

Martin
to zeljko
zeljko wrote 5 lines
Further more, on windows I suddenly see it hanging (does not react) frequently Try to update Qt to at least 4.7.3 (but 4.8.2 is definitelly better option). Hanging is fixed somewhere between 4.7.0 and 4.7.3

Why has (using the same QT) my Lazarus never hang before? Not that I remember anyway)

Reply by email

zeljko
to Martin: 1 and 2 are the same And happen also on windows seems like function ExtUTF8Out(DC: HDC;…
Martin wrote 19 lines
On 04/09/2012 17:43, ik wrote: > I'ved recently tried to use Lazarus 1.1 with Qt version. > While it looks native and really cool in my KDE, I had few issues with > it: 1. Font rendering with TSynEdit - It had a lot of issues to display > the end of a char at the end of a "word" that after it there was space, > dot etc ... > 2. The selecting of text in SynEdit, changes the length of the font. 1 and 2 are the same And happen also on windows seems like function ExtUTF8Out(DC: HDC; X, Y: Integer; Options: Longint; Rect: PRect; Str: PChar; Count: Longint; Dx: PInteger): Boolean; Ignores the Values in Dx (an array of display widths for each char) I debugged it, the array is passed in correctly.

Yes, Dx param isn't used in Qt WS atm. Please fill bug report about it.

zeljko

Reply by email

Martin
to zeljko: Example ? I didn't test latest trunk with changes in SynEdit ... Never seen such problem…
zeljko wrote
> 4. The menus are flickering, and even changing the focus of other windows Not all menus, but Window-> menu and that's qt bug (I guess because of checkboxes in it).

r 28793 (just an old exe, I still had a copy off)

same QT install (that is testing that rev today on the same box) same qtintf.dll, as I run from same folder

menu does not flicker.

there are checkboxes (though there are no submenus + checkboxes in the same menu)

Reply by email

zeljko
to Martin: Why has (using the same QT) my Lazarus never hang before? Not that I remember anyway)
Martin wrote 8 lines
On 04/09/2012 19:11, zeljko wrote: > Further more, on windows I suddenly see it hanging (does not react) > frequently > Try to update Qt to at least 4.7.3 (but 4.8.2 is definitelly better > option). Hanging is fixed somewhere between 4.7.0 and 4.7.3 Why has (using the same QT) my Lazarus never hang before? Not that I remember anyway)

That's something that I don't know. First: I must understand what's exact problem and then don't see any hanging under windows 7 here.

zeljko

Reply by email

zeljko
to Martin: r 28793 (just an old exe, I still had a copy off) same QT install (that is testing that…
Martin wrote 16 lines
On 04/09/2012 18:59, zeljko wrote: >> 4. The menus are flickering, and even changing the focus of other >> windows > > Not all menus, but Window-> menu and that's qt bug (I guess because of > checkboxes in it). r 28793 (just an old exe, I still had a copy off) same QT install (that is testing that rev today on the same box) same qtintf.dll, as I run from same folder menu does not flicker. there are checkboxes (though there are no submenus + checkboxes in the same menu)

There is some problem with some combinations, probably submenus + checboxes. I'll create pure C++ app to see if it's really Qt problem, or something else in qtlcl (but I doubt about it) - flickering probably happens because QCheckBox sends some activation events or similar.

zeljko

Reply by email

zeljko
to Martin: Use any propartional font. Then SynEdit adds the charwidth data to force it into the grid.
Martin wrote 13 lines
On 04/09/2012 18:59, zeljko wrote: > On Tuesday 04 of September 2012 18:43:20 ik wrote: >> Hello, >> >> I'ved recently tried to use Lazarus 1.1 with Qt version. >> While it looks native and really cool in my KDE, I had few issues with >> it: 1. Font rendering with TSynEdit - It had a lot of issues to display >> the end of a char at the end of a "word" that after it there was space, >> dot etc ... > > Example ? I didn't test latest trunk with changes in SynEdit ... Use any propartional font.

Yes, that's shows exact problem .... that's because dx isn't implemented in qtlcl ExtTextOut() yet .. so pls. open an issue about it.

zeljko

Show quoted text 25 lines
Then SynEdit adds the charwidth data to force it into the grid. The issue does not happen with a monospaced font. So most people will not noticed. (Proportional fonts look real ugly in SynEdit, due to extreme x-spacing between all chars) >> 2. The selecting of text in SynEdit, changes the length of the font. >> So the text moving. > > Never seen such problem Same >> 4. The menus are flickering, and even changing the focus of other >> windows > > Not all menus, but Window-> menu and that's qt bug (I guess because of > checkboxes in it). Was that always the case? I never noted before.. Ok I very seldom use it. But I test every now and then, and since I build via the toos menu, I do use the menu whenever I test. And now it is so extreme, there is no way I would not have noticed.

Reply by email