Sign in Join

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

Mailing lists / lazarus / 2009-05

Code tooltips

10 messages · 5 people · –

Reply by email Subscribe to this list Your subscription

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

Lord Satan

Hi developers,

it is nice that Lazarus respects the theme for tooltips. But it is not really acceptable if I cannot read them anymore.

See attached screenshots.

Some recent FPC 2.3.1 and some recent Lazarus, both from svn. Ubuntu 9.04 64-bit, GTK2

Should I create a bug report?

Not-Christ

A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -------------- next part -------------- A non-text attachment was scrubbed... Name: normal_tooltip.png Type: image/png Size: 8563 bytes Desc: not available Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090508/05960dbb/attachment.png -------------- next part -------------- A non-text attachment was scrubbed... Name: code_tooltip.png Type: image/png Size: 9750 bytes Desc: not available Url : http://www.lazarus.freepascal.org/pipermail/lazarus/attachments/20090508/05960dbb/attachment-0001.png

Reply by email

Paul Ishenin
to Lord Satan
Lord Satan wrote 8 lines
it is nice that Lazarus respects the theme for tooltips. But it is not really acceptable if I cannot read them anymore. See attached screenshots. Some recent FPC 2.3.1 and some recent Lazarus, both from svn. Ubuntu 9.04 64-bit, GTK2 Should I create a bug report?

I wonder how can we solve this automatically?

Maybe you can select another tooltip color in your system?

Best regards,
Paul Ishenin.

Reply by email

Flávio Etrusco
to Paul Ishenin
Paul Ishenin wrote 18 lines
Lord Satan wrote: > it is nice that Lazarus respects the theme for tooltips. But it is not really acceptable if I cannot read them anymore. > > See attached screenshots. > > Some recent FPC 2.3.1 and some recent Lazarus, both from svn. > Ubuntu 9.04 64-bit, GTK2 > > Should I create a bug report? I wonder how can we solve this automatically? Maybe you can select another tooltip color in your system? Best regards, Paul Ishenin.

Shouldn't the hint colors be based on the highlighter settings?

-Fl?vio

Reply by email

Lord Satan
to Paul Ishenin: I wonder how can we solve this automatically? Maybe you can select another tooltip color…
I wonder how can we solve this automatically?

I understand that this is no easy task, but AFAIK there is only one tooltip font color defined in a gtk2 theme. I understand that Lazarus wants to use at least two colors in this situation but IMHO this is not theme compliant. How are the colors for the text in this case selected? Depending on the answer I will try to suggest solutions or fix my theme if it is a theme bug. It would always be an (but not the best) option to just let me (the user) select font colors just for this situation.

Maybe you can select another tooltip color in your system?

Not possible without changing or hacking the theme. And my tooltip color is ok for standard tooltips so no need to change it.

Mephistopheles

A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?

Reply by email

Mattias Gärtner
to Lord Satan: it is nice that Lazarus respects the theme for tooltips. But it is not really acceptable…

Zitat von Lord Satan :

Show quoted text 11 lines
Hi developers, it is nice that Lazarus respects the theme for tooltips. But it is not really acceptable if I cannot read them anymore. See attached screenshots. Some recent FPC 2.3.1 and some recent Lazarus, both from svn. Ubuntu 9.04 64-bit, GTK2 Should I create a bug report?

I improved a few things. Please test with 19853.

Mattias

Reply by email

Lord Satan
to Mattias Gärtner
I improved a few things. Please test with 19853.

Better but not really good.
I'd still like to know how the second font color is determined, because this is the one causing problems.

Old Nick

A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?

Reply by email

Lord Satan
to Paul Ishenin: I wonder how can we solve this automatically? Maybe you can select another tooltip color…
I wonder how can we solve this automatically?

Use the tooltip color in normal and bold style instead of two colors. AFAIR this was the old behaviour. I tested with other themes and for 30% of my installed themes the current behaviour renders the tooltips useless.

S.

A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?

Reply by email

Lord Satan
to Mattias Gärtner: Zitat von Lord Satan : I improved a few things. Please test with 19853. Mattias
I improved a few things. Please test with 19853.

Do the hints work as expected?
I have my doubts (see screenshot).

S.

A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail? -------------- next part -------------- A non-text attachment was scrubbed... Name: tooltip.png Type: image/png Size: 15240 bytes Desc: not available URL: <http://lists.lazarus.freepascal.org/pipermail/lazarus/attachments/20090520/eb510249/attachment.png>

Reply by email

Mattias Gaertner
to Lord Satan
Show quoted text 6 lines
On Fri, 08 May 2009 12:13:26 +0200 Mattias G?rtner wrote: > I improved a few things. Please test with 19853. Do the hints work as expected? I have my doubts (see screenshot).

It now uses bold instead of gray. Please test.

Mattias

Reply by email

Lord Satan
to Mattias Gaertner
It now uses bold instead of gray. Please test.

Many thanks. It is usable again.

S.

A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing in e-mail?

Reply by email