Sign in Join

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

Mailing lists / lazarus / 2014-06

Option hints popup truncated

15 messages · 6 people · –

Reply by email Subscribe to this list Your subscription

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

Michael Van Canneyt

Hello,

The popup with the hints for the arguments to a function is sometimes truncated: it is too short to display the contents, and the contents is cut off halfway the popup.

I cannot say when it happens exactly: on some machines it is truncated, on others it works fine. I *think* that for large resolutions (27" monitors) the problem appears, on lower resolution monitors I don't seem to have it.

I have attached a screenshot that shows the problem.

Is this a known issue ? This is with Lazarus from trunk, linux 64-bit.

Michael.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: optionhint.png
Type: image/png
Size: 6218 bytes
Desc:
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140602/77d395cc/attachment-0001.png>

Reply by email

Mattias Gaertner
to Michael Van Canneyt
Show quoted text 13 lines
Hello, The popup with the hints for the arguments to a function is sometimes truncated: it is too short to display the contents, and the contents is cut off halfway the popup. I cannot say when it happens exactly: on some machines it is truncated, on others it works fine. I *think* that for large resolutions (27" monitors) the problem appears, on lower resolution monitors I don't seem to have it. I have attached a screenshot that shows the problem. Is this a known issue ? This is with Lazarus from trunk, linux 64-bit.

Does it happen with all hints, or only the parameter hints?

Mattias

Reply by email

Michael Van Canneyt
to Mattias Gaertner
Mattias Gaertner wrote 18 lines
On Mon, 2 Jun 2014 14:32:47 +0200 (CEST) Michael Van Canneyt wrote: > > Hello, > > The popup with the hints for the arguments to a function is sometimes truncated: > it is too short to display the contents, and the contents is cut off halfway the popup. > > I cannot say when it happens exactly: on some machines it is truncated, > on others it works fine. I *think* that for large resolutions (27" monitors) > the problem appears, on lower resolution monitors I don't seem to have it. > > I have attached a screenshot that shows the problem. > > Is this a known issue ? This is with Lazarus from trunk, linux 64-bit. Does it happen with all hints, or only the parameter hints?

What other hints exist ?

The hints for the buttons in the package dialogs work fine, for example. The hints showing the full filename for the source editor tabs also work fine.

Michael.

Reply by email

zeljko
to Michael Van Canneyt: The popup with the hints for the arguments to a function is sometimes truncated: it is…
Michael Van Canneyt wrote 15 lines
Hello, The popup with the hints for the arguments to a function is sometimes truncated: it is too short to display the contents, and the contents is cut off halfway the popup. I cannot say when it happens exactly: on some machines it is truncated, on others it works fine. I *think* that for large resolutions (27" monitors) the problem appears, on lower resolution monitors I don't seem to have it. I have attached a screenshot that shows the problem. Is this a known issue ? This is with Lazarus from trunk, linux 64-bit.

Looks like gtk2 ws and bad clientrect. Is it gtk2 ws ?

zeljko

Reply by email

zeljko
to zeljko
zeljko wrote 19 lines
On 06/02/2014 02:32 PM, Michael Van Canneyt wrote: > > Hello, > > The popup with the hints for the arguments to a function is sometimes > truncated: it is too short to display the contents, and the contents is > cut off halfway the popup. > > I cannot say when it happens exactly: on some machines it is truncated, > on others it works fine. I *think* that for large resolutions (27" > monitors) > the problem appears, on lower resolution monitors I don't seem to have > it. > > I have attached a screenshot that shows the problem. > > Is this a known issue ? This is with Lazarus from trunk, linux 64-bit. Looks like gtk2 ws and bad clientrect. Is it gtk2 ws ?

hm...yes and if clientrect is wrong why rect isn't closed by right border .... looks more like clipping problem.

zeljko

Reply by email

Michael Van Canneyt
to zeljko
zeljko wrote 23 lines
On 06/02/2014 06:23 PM, zeljko wrote: > On 06/02/2014 02:32 PM, Michael Van Canneyt wrote: >> >> Hello, >> >> The popup with the hints for the arguments to a function is sometimes >> truncated: it is too short to display the contents, and the contents is >> cut off halfway the popup. >> >> I cannot say when it happens exactly: on some machines it is truncated, >> on others it works fine. I *think* that for large resolutions (27" >> monitors) >> the problem appears, on lower resolution monitors I don't seem to have >> it. >> >> I have attached a screenshot that shows the problem. >> >> Is this a known issue ? This is with Lazarus from trunk, linux 64-bit. > > Looks like gtk2 ws and bad clientrect. Is it gtk2 ws ? hm...yes and if clientrect is wrong why rect isn't closed by right border .... looks more like clipping problem.

Indeed, gtk2.

Michael.

Reply by email

Mattias Gaertner
to Bart
Show quoted text 9 lines
On 6/2/14, Michael Van Canneyt wrote: > The popup with the hints for the arguments to a function is sometimes > truncated: > it is too short to display the contents, and the contents is cut off halfway > the popup. I see this frequently, but then again not always on my Linux VM. My IDE is build for GTK2

I agree with Zeljko it looks like a clipping bug.
This hint is painted in ide/codecontextform using
the form's Canvas.ClipRect. I replaced the Canvas.ClipRect with ClientRect.

Please test.

Mattias

Reply by email

John Landmesser
to Mattias Gaertner

.. same issue ( sometimes ) with toolbar button hints.

GTK2 and Linux

2014-06-02 22:00 GMT+02:00 Mattias Gaertner :

Show quoted text 31 lines
On Mon, 2 Jun 2014 21:44:53 +0200 Bart wrote: > On 6/2/14, Michael Van Canneyt wrote: > > > The popup with the hints for the arguments to a function is sometimes > > truncated: > > it is too short to display the contents, and the contents is cut off halfway > > the popup. > > I see this frequently, but then again not always on my Linux VM. > My IDE is build for GTK2 I agree with Zeljko it looks like a clipping bug. This hint is painted in ide/codecontextform using the form's Canvas.ClipRect. I replaced the Canvas.ClipRect with ClientRect. Please test. Mattias -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20140603/496424f0/attachment.html>

Reply by email

Mattias Gaertner
to zeljko
Show quoted text 6 lines
On 06/03/2014 01:36 PM, John Landmesser wrote: > .. same issue ( sometimes ) with toolbar button hints. > > GTK2 and Linux Yes, another clipping problem under gtk2.

The same?

Mattias

Reply by email

zeljko
to Mattias Gaertner
Mattias Gaertner wrote 11 lines
On Wed, 04 Jun 2014 08:11:38 +0200 zeljko wrote: > On 06/03/2014 01:36 PM, John Landmesser wrote: >> .. same issue ( sometimes ) with toolbar button hints. >> >> GTK2 and Linux > > Yes, another clipping problem under gtk2. The same?

I guess. I've spotted same thing with gtk2 hints especially when running under some compositing manager.

z

Reply by email

Michael Van Canneyt
to zeljko
zeljko wrote 15 lines
On 06/04/2014 08:25 AM, Mattias Gaertner wrote: > On Wed, 04 Jun 2014 08:11:38 +0200 > zeljko wrote: > >> On 06/03/2014 01:36 PM, John Landmesser wrote: >>> .. same issue ( sometimes ) with toolbar button hints. >>> >>> GTK2 and Linux >> >> Yes, another clipping problem under gtk2. > > The same? I guess. I've spotted same thing with gtk2 hints especially when running under some compositing manager.

I tested with the latest version, the problem persists.

Michael.

Reply by email

Unknown author
to zeljko: I guess. I've spotted same thing with gtk2 hints especially when running under some…

What is the default key combination to get this thing visible???

04.06.2014, 12:10, "zeljko" :

Show quoted text 20 lines
On 06/04/2014 08:25 AM, Mattias Gaertner wrote: > ?On Wed, 04 Jun 2014 08:11:38 +0200 > ?zeljko wrote: >> ?On 06/03/2014 01:36 PM, John Landmesser wrote: >>> ?.. same issue ( sometimes ) with toolbar button hints. >>> >>> ?GTK2 and Linux >> ?Yes, another clipping problem under gtk2. > ?The same? I guess. I've spotted same thing with gtk2 hints especially when running under some compositing manager. z -- _______________________________________________ Lazarus mailing list http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 76050-001.png
Type: image/png
Size: 8431 bytes
Desc: not available
URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20141015/0d30492a/attachment.png>

Reply by email