Re: [Lazarus] white popup hint box

2014-09-16 Thread Juha Manninen
On Tuesday, September 16, 2014, Rik van Kekem r...@graficalc.nl wrote:

 Isn't Lazarus 1.3 r42488 a really old version? (November 2013?)
 Or am I seeing this wrong?


It is older, from August 2013. More than a year old.
Waldo should update sometimes. You will get many goodies with the latest
revision.

The hint window issues were not from my changes. They happened later.

Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-16 Thread waldo kitty

On 9/15/2014 7:36 PM, Rik van Kekem wrote:



On 16 september 2014 01:17:55 CEST, waldo kitty wkitt...@windstream.net wrote:

as noted previously, i don't use any installer... i pull trunk from the

repository and compile it as per my previously posted command lines...


Isn't Lazarus 1.3 r42488 a really old version? (November 2013?)
Or am I seeing this wrong?


you are seeing it right... there appears to be a problem with Svn2RevisionInc 
not being able to read and parse the info from tortoisesvn's newer version for 
some reason...


the actual revision of lazarus i'm running is 46236 according to the properties 
of my lazarus directory...


[time passes]

it seems that the newer tortoisesvn uses a sqlite database to store revision 
info in... at least, there's a wc.db file in the .svn directory and a quick look 
at it with a binary file viewer tool shows that it starts with sqlite but i 
don't know if it contains the desired information for Svn2RevisionInc to gather 
and use...


looking at the code for Svn2RevisionInc, the info that Svn2RevisionInc wants is 
definitely not in the entries file... that one only has three bytes in it now 
with this version of tortoisesvn...


i've just spent the last while working out a .BAT file named svnversion.bat in 
the hopes that Svn2RevisionInc would execute it... i'm assuming that 
Svn2RevisionInc expects the file to be in the path so i placed it in the same 
place as tortoisesvn's SubWCRev.exe tool... the bat file calls SubWCRev.exe with 
the necessary path as fed from Svn2RevisionInc... SubWCRev creates an output 
file which the .BAT file types so that Svn2RevisionInc can get the revision 
number from stdout but Svn2RevisionInc doesn't even seem to execute the 
svnversion.bat file as desired... this is easy to see because the intermediate 
file for the bat file is not created and the resulting revision.inc file 
contains an empty string for the RevisionStr instead of Unknown as expected...


i'm not sure how to fix it so that Svn2RevisionInc can get the revision number 
for the revision.inc file and since it is now almost 0300 in the morning my 
local time and i've been up for 24+ hours (again), i'm going to go to bed and 
try to get an hour or two of sleep [sigh]


--
 NOTE: No off-list assistance is given without prior approval.
   Please *keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-16 Thread waldo kitty

On 9/16/2014 2:06 AM, Juha Manninen wrote:


On Tuesday, September 16, 2014, Rik van Kekem r...@graficalc.nl
mailto:r...@graficalc.nl wrote:

Isn't Lazarus 1.3 r42488 a really old version? (November 2013?)
Or am I seeing this wrong?


It is older, from August 2013. More than a year old.
Waldo should update sometimes. You will get many goodies with the latest 
revision.


i started this topic by stating that i had just updated for the first time in 4 
months... previous to that i had been updating at least once every 2 months... 
please see my last post where i've fought with svn2revisioninc trying to get it 
to work with a bat file to replicate svnversion at least as far as getting the 
revision number from tortoisesvn's tool...


--
 NOTE: No off-list assistance is given without prior approval.
   Please *keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread Anthony Tekatch

On Sun, 14 Sep 2014 23:22:26 -0400, waldo kitty wkitt...@windstream.net wrote:

 i'm also quite confused how you saw that image with that section
 yellowed... i've looked at the same image on several machines and see
 only white on white :/


I find this interesting. I can see a very light yellow pop-u on your
supplied screen-shot. I used GIMP to confirm those HTML color values:

The white background = ff
The popup = e1


I just checked my popup on Lazarus Ver 1.3, and it is definitely white on
white, although I had once manually changed some settings in the
Linux gtkrc setting file pointed to by ~/.gtkrc-2.0:

filename:
 /usr/share/themes/Aurora/gtk-2.0/gtkrc

I once had light gray text on white, so I changed the following line of
that file to back tooltip fg on white tooltip bg as follows:

gtk_color_scheme =
fg_color:#00\nbg_color:#C7C7C7\nbase_color:#ff\ntext_color:#00\nselected_bg_color:#247EB3\nselected_fg_color:#ff\ntooltip_bg_color:#FF\ntooltip_fg_color:#00


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread Rik van Kekem

waldo kitty wrote:

i'm also quite confused how you saw that image with that section
yellowed... i've looked at the same image on several machines and see
only white on white :/
Like Anthony already found out, even if it's white on screen it really 
is a very light shade of yellow. You can see this by adjusting the 
brightness of your screen but with a laptop that's a bit more difficult. 
I've seen multiple times, especially with laptops, that you can't see 
these subtle colors. (For me, with a desktop-screen, the difference is 
really visible)


If you don't want to change your theme you can change it in the source 
of Lazarus itself. But your other programs will keep a white hint. I 
don't know how to make a clearer border but the color is here:

Lazarus_dir\LCL\Include\hintwindow.inc

// Color := clInfoBk;
Color := clYellow; // - for instance

But clInfoBk is used a lot more throughout the Lazarus IDE so it might 
be better to change your theme. Maybe somebody else could hunt down the 
border-drawing for this tooltip (which i couldn't find off hand).



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread Kostas Michalopoulos
I see yellow too, but why doesn't the hint box have a border? Hint boxes on
windows have a dark 1px border.

On Mon, Sep 15, 2014 at 4:05 PM, Rik van Kekem r...@graficalc.nl wrote:

 waldo kitty wrote:

 i'm also quite confused how you saw that image with that section
 yellowed... i've looked at the same image on several machines and see
 only white on white :/

 Like Anthony already found out, even if it's white on screen it really is
 a very light shade of yellow. You can see this by adjusting the brightness
 of your screen but with a laptop that's a bit more difficult. I've seen
 multiple times, especially with laptops, that you can't see these subtle
 colors. (For me, with a desktop-screen, the difference is really visible)

 If you don't want to change your theme you can change it in the source of
 Lazarus itself. But your other programs will keep a white hint. I don't
 know how to make a clearer border but the color is here:
 Lazarus_dir\LCL\Include\hintwindow.inc

 // Color := clInfoBk;
 Color := clYellow; // - for instance

 But clInfoBk is used a lot more throughout the Lazarus IDE so it might be
 better to change your theme. Maybe somebody else could hunt down the
 border-drawing for this tooltip (which i couldn't find off hand).



 --
 ___
 Lazarus mailing list
 Lazarus@lists.lazarus.freepascal.org
 http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread waldo kitty

On 9/15/2014 7:15 AM, Anthony Tekatch wrote:


On Sun, 14 Sep 2014 23:22:26 -0400, waldo kitty wkitt...@windstream.net wrote:


i'm also quite confused how you saw that image with that section
yellowed... i've looked at the same image on several machines and see
only white on white :/



I find this interesting. I can see a very light yellow pop-u on your
supplied screen-shot. I used GIMP to confirm those HTML color values:

The white background = ff
The popup = e1


well, i'll be... i just check this in the tool i used to create the graphic... i 
use the printscreen key to capture the screen and then pasted that into the tool 
where i then cropped it down so it wasn't too large for the list... the tool i 
used is an older paintshop pro and it causes the system to change the color 
scheme to windows vista basic...


using the eye dropper tool, it took me a few minutes to realize the RGB values 
were 255,255,225... at some point, i had leaned over sideways and i did notice 
that there was a yellow tint to that popup... if i am at a roughly 45 degree 
angle left or right of the laptop screen, then i see the very light yellow... if 
i'm 45 degrees above or below, then it is kind of greenish with the editor's 
white background looking blue...



I just checked my popup on Lazarus Ver 1.3, and it is definitely white on
white,


i'm glad i'm not the only one being fooled by this :)

i'd still rather have a proper border around the popup, though :)


although I had once manually changed some settings in the
Linux gtkrc setting file pointed to by ~/.gtkrc-2.0:


as noted above, this is on a vista machine so no gtk stuffs here for me to edit 
;)



filename:
  /usr/share/themes/Aurora/gtk-2.0/gtkrc

I once had light gray text on white, so I changed the following line of
that file to back tooltip fg on white tooltip bg as follows:

gtk_color_scheme =
fg_color:#00\nbg_color:#C7C7C7\nbase_color:#ff\ntext_color:#00\nselected_bg_color:#247EB3\nselected_fg_color:#ff\ntooltip_bg_color:#FF\ntooltip_fg_color:#00


interesting :)

--
 NOTE: No off-list assistance is given without prior approval.
   Please *keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread Juha Manninen
I also see a distinctive yellow color.
Waldo Kitty, you should go to see an eye doctor, you are suffering
from color blindness. :)

You all noticed the hint window's color but nobody noticed it renders
HTML nicely, giving a professional touch to hint and info windows.
The same effect was available also earlier by installing
TurboPowerIProDsgn package. Now some bugs are fixed (see #20202) and
it is part of lazarus BigIde by default.


On Mon, Sep 15, 2014 at 5:05 PM, Rik van Kekem r...@graficalc.nl wrote:
 I don't know
 how to make a clearer border but the color is here:
 Lazarus_dir\LCL\Include\hintwindow.inc

 // Color := clInfoBk;
 Color := clYellow; // - for instance

That will not help because the THintWindow.Canvas is not used. Instead
TurboPowerIProDsgn registers its own HTML renderer component there.
If you want to study the code, here are some pointers:
IdeHelpIntf (in package IdeIntf) has these events through which
TurboPowerIProDsgn registers itself:
  CreateIDEHTMLControl: TCreateIDEHTMLControlEvent = nil;
  CreateIDEHTMLProvider: TCreateIDEHTMLProviderEvent = nil;

Code that supports both the default text hints and registered hint
renderers is now refactored into THintWindowManager class, also in
IdeHelpIntf unit.
Earlier such code was spread in different places, including OI and SE.

There is a small border around hint windows. On Windows there is even
a nice shadow so it looks like lifted up.
I don't know what you people are complaining about.
I tested with Windows, GTK2 and QT widgetsets.

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread Juha Manninen
Right, Waldo's screenshot does not have a border, it only has a shadow.
In my Windows 7 there is both a border and a shadow.

Juha

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread Rik van Kekem

On 15-09-2014 22:02, Juha Manninen wrote:

I also see a distinctive yellow color.
Waldo Kitty, you should go to see an eye doctor, you are suffering
from color blindness. :)

I take it you're not working with a laptop ;)
I know for a fact laptops show these subtle colors differently.
(Even my second screen shows the yellowish less clearly)


// Color := clInfoBk;
Color := clYellow; // - for instance


That will not help because the THintWindow.Canvas is not used.

Actually it does. I tested it myself :)
Probably because the real object showing this is inherited from 
THintWindow. I couldn't find the actual object (with my somewhat limited 
knowledge of Lazarus) but i guess you're more familiar with it ;)



There is a small border around hint windows. On Windows there is even
a nice shadow so it looks like lifted up.
What color is that border? It does have a margin but i don't see a real 
border. (Do you in the given screenshot?) If you can't see the yellowish 
color (which i can, but on a laptop is difficult to see) it's not pretty 
without a border and even damn confusing.




--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread waldo kitty

On 9/15/2014 10:05 AM, Rik van Kekem wrote:

waldo kitty wrote:

i'm also quite confused how you saw that image with that section
yellowed... i've looked at the same image on several machines and see
only white on white :/

Like Anthony already found out, even if it's white on screen it really is a very
light shade of yellow. You can see this by adjusting the brightness of your
screen but with a laptop that's a bit more difficult. I've seen multiple times,
especially with laptops, that you can't see these subtle colors. (For me, with a
desktop-screen, the difference is really visible)


i'll have to try one of the other systems that still has a crt... most every 
system here has a flatscreen display... i think they're all lcd, too...



If you don't want to change your theme you can change it in the source of
Lazarus itself. But your other programs will keep a white hint. I don't know how
to make a clearer border but the color is here:
Lazarus_dir\LCL\Include\hintwindow.inc

// Color := clInfoBk;
Color := clYellow; // - for instance

But clInfoBk is used a lot more throughout the Lazarus IDE so it might be better
to change your theme. Maybe somebody else could hunt down the border-drawing for
this tooltip (which i couldn't find off hand).


i've changed the theme for now but yes, it would really be nice if someone would 
fix the border so it is grey or black or such... perhaps it might be a good 
thing to add these color settings to the options-colors area, too?


eg: tool tip border : #00
tool tip background : light grey

or how ever they are specified... it is much too deep in the innards of lazarus 
for me to even think about looking for... especially with my ancient TP/BP 
procedural thought process methodology ;)


--
 NOTE: No off-list assistance is given without prior approval.
   Please *keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread Rik van Kekem

On 15-09-2014 22:09, Juha Manninen wrote:

Right, Waldo's screenshot does not have a border, it only has a shadow.
In my Windows 7 there is both a border and a shadow.

I'm missing the border too on my machine.

Lazarus 1.3 r46221:46236M FPC 2.7.1 i386-win32-win32/win64
Windows 7 Ultimate 64 bit

What theme are you using.
(Just tested both standard Aero theme and Classic theme
and both show NO norder)


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread Rik van Kekem

On 15-09-2014 22:09, Juha Manninen wrote:

Right, Waldo's screenshot does not have a border, it only has a shadow.
In my Windows 7 there is both a border and a shadow.


Now i see what you mean !!

But for this to work you need the package turbopoweriprodsgn.lpk 
installed. And this is not done with a default installation.


I just added turbopoweriprodsgn.lpk, rebuild lazarus and i now do get a 
greyish border completely around the window.


Solved (but of course it should be default and i guess the 
other/default hint-rendering leaves something to be desired.)


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread Juha Manninen
On Monday, September 15, 2014, Rik van Kekem r...@graficalc.nl wrote:

 But for this to work you need the package turbopoweriprodsgn.lpk
 installed. And this is not done with a default installation.


Yes it is. As I explained it is now part of bigide.
The next version 1.4 installer will have it by default.

Does this discussion mean that the old text hint window also changed its
color?
I refactored THintWindow but I did not touch the color IIRC.

Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread waldo kitty

On 9/15/2014 4:02 PM, Juha Manninen wrote:

I also see a distinctive yellow color.
Waldo Kitty, you should go to see an eye doctor, you are suffering
from color blindness. :)


hahahahaha! might be getting there in my old age ;)


You all noticed the hint window's color but nobody noticed it renders
HTML nicely, giving a professional touch to hint and info windows.


i haven't been able to see that yet... i had a time trying to do the screen grab 
because as soon as i'd hit the print screen key, the popup would go away... i 
had to try 5 or 6 times before i got the image i posted showing it...



The same effect was available also earlier by installing
TurboPowerIProDsgn package. Now some bugs are fixed (see #20202) and
it is part of lazarus BigIde by default.


nice! i have generally installed that in the past but didn't understand this was 
what it was for... i haven't gotten around to trying to use it, either... it has 
been on my TODO list for a long while and no projects i've been working on have 
needed it... probably because they're mostly all command line text mode 
programs, i guess...



On Mon, Sep 15, 2014 at 5:05 PM, Rik van Kekem r...@graficalc.nl wrote:

I don't know
how to make a clearer border but the color is here:
Lazarus_dir\LCL\Include\hintwindow.inc

// Color := clInfoBk;
Color := clYellow; // - for instance


That will not help because the THintWindow.Canvas is not used. Instead
TurboPowerIProDsgn registers its own HTML renderer component there.
If you want to study the code, here are some pointers:
IdeHelpIntf (in package IdeIntf) has these events through which
TurboPowerIProDsgn registers itself:
   CreateIDEHTMLControl: TCreateIDEHTMLControlEvent = nil;
   CreateIDEHTMLProvider: TCreateIDEHTMLProviderEvent = nil;

Code that supports both the default text hints and registered hint
renderers is now refactored into THintWindowManager class, also in
IdeHelpIntf unit.
Earlier such code was spread in different places, including OI and SE.


i knew that someone (you i think) had been working on this by the posts in the 
various lists... i'm glad to see that your work is coming along nicely...



There is a small border around hint windows. On Windows there is even
a nice shadow so it looks like lifted up.
I don't know what you people are complaining about.
I tested with Windows, GTK2 and QT widgetsets.


i get the shadow but not the border... it is somewhat unsettling to have a box 
popup that might not be noticed as a popup box at first... initially i had 
thought that some sort of formatting thing had happened and i moved to try to 
clear it up when the box disappeared with the text i was going to try to clear 
out... it took me a few minutes to realize that it was a popup and that it was 
due to my mouse having moved over something that had a hint box associated with 
it...


i actually don't mind the white (or very light yellow) background of the popup 
box but the missing border is something else... why it is missing i have no 
idea... that's why i posted asking where i need to go to adjust the colors for 
those items ;)


--
 NOTE: No off-list assistance is given without prior approval.
   Please *keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread waldo kitty

On 9/15/2014 4:09 PM, Juha Manninen wrote:

Right, Waldo's screenshot does not have a border, it only has a shadow.
In my Windows 7 there is both a border and a shadow.


i'm on vista (32bit) and i think i have their aero thing turned on on this 
box... on most i generally turn all the fancy stuffs off so the machine responds 
faster...


--
 NOTE: No off-list assistance is given without prior approval.
   Please *keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread Rik van Kekem

On 15-09-2014 23:24, Juha Manninen wrote:

Yes it is. As I explained it is now part of bigide.
The next version 1.4 installer will have it by default.
This afternoon i did a complete reinstall (on another machine) and did 
NOT get turbopoweriprodsgn. I did get TurboPowerIPro by default.

(And i guess Waldo didn't get it either by default)

I did a complete new install with fpcup.
(Or is that the problem? Is that not the BigIde?)
Lazarus 1.3 r46238 FPC 2.7.1 i386-win32-win32/win64



Does this discussion mean that the old text hint window also changed its
color?
I refactored THintWindow but I did not touch the color IIRC.
I don't know if the color used to be different. I did notice the color 
of the TurboPowerIProDsgn is somewhat more yellow (and thus more 
visible). And it indeed does look a lot better with more options.


But the old text hint window doesn't have a border. And it does take its 
color correctly from the theme which as it should be (clInfoBk). 
Although the real hints, from buttons etc., are taken from the theme 
itself and can't be overridden. The personalize tooltip should only be 
used for Classic and Basic themes but somehow clInfoBk does also get 
that color in Aero theme, but only for that text-window. For the other 
button-hints etc. the color is white-gradient with border (according to 
theme-standard which is correct). I guess the old text hint does not do 
Themedrawing by default (otherwise it would also be white-gradient with 
a border).


(But if TurboPowerIProDsgn becomes/is default the old text hint windows 
shouldn't mater anymore)



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread waldo kitty

On 9/15/2014 4:55 PM, Rik van Kekem wrote:

On 15-09-2014 22:09, Juha Manninen wrote:

Right, Waldo's screenshot does not have a border, it only has a shadow.
In my Windows 7 there is both a border and a shadow.


Now i see what you mean !!

But for this to work you need the package turbopoweriprodsgn.lpk installed. And
this is not done with a default installation.

I just added turbopoweriprodsgn.lpk, rebuild lazarus and i now do get a greyish
border completely around the window.


well eff me!! (see attachment) i would never have thought of adding that 
package... it actually was not installed in this lazarus although i have had it 
installed in the past... i guess i left it out the last time i reinstalled 
because i hadn't seen any benefit and simply hadn't gotten to it on my TODO list 
to see what it could offer me...



Solved (but of course it should be default and i guess the other/default
hint-rendering leaves something to be desired.)


yeah, i don't do bigide as was mentioned in the juha's previous message... i 
build from trunk in the repository using the following in my build script...


make OPT=-gl -gh -dHEAPTRC_WINDOW lazbuild lcl basecomponents starter 
bigidecomponents lhelp

lazbuild.exe --build-ide=-gl -gh -dHEAPTRC_WINDOW --build-mode=debug ide

generally speaking, my miscellaneousoptions.xml is used but my script has the 
ability of disabling it by renaming it so it isn't found... in this case, it is 
used and i don't recall the testing that was being done before where i needed to 
be able to disable miscellaneousoptions.xml... probably when trying to work with 
one of the docking manager things which i don't use any more for various reasons...


--
 NOTE: No off-list assistance is given without prior approval.
   Please *keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread Juha Manninen
On Tuesday, September 16, 2014, Rik van Kekem r...@graficalc.nl wrote:

 This afternoon i did a complete reinstall (on another machine) and did NOT
 get turbopoweriprodsgn. I did get TurboPowerIPro by default.


Run make clean bigide at cmd line. If it still is not there, then we have
a bug.


But the old text hint window doesn't have a border.


Did it have border before I refactored the code?
If it did then it is a regression and must be fixed.
Yet, I don't think it had, I would have noticed the code drawing a border.

Juha
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread Rik van Kekem

On 16-09-2014 00:26, Juha Manninen wrote:

Run make clean bigide at cmd line. If it still is not there, then we
have a bug.

YES... It did come with bigide.
I guess it's not the target of fpcup.

Always used fcpup but maybe it's time to switch to svn and do the make 
myself (and learn what i'm doing ;)). I tried this some time ago but 
always got lots of errors.



Did it have border before I refactored the code?
If it did then it is a regression and must be fixed.
Yet, I don't think it had, I would have noticed the code drawing a border.
No, i don't think it ever got a border (at least that i noticed). I can 
even remember seeing some similar hint in Delphi 7 (without border) but 
i'm not sure (long time ago).


At least with the new TurboPowerIProDsgn it looks a LOT better with more 
options.



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread waldo kitty

On 9/15/2014 5:24 PM, Juha Manninen wrote:


On Monday, September 15, 2014, Rik van Kekem r...@graficalc.nl wrote:

But for this to work you need the package turbopoweriprodsgn.lpk installed.
And this is not done with a default installation.

Yes it is. As I explained it is now part of bigide.
The next version 1.4 installer will have it by default.


as noted previously, i don't use any installer... i pull trunk from the 
repository and compile it as per my previously posted command lines...


in retrospect, i guess i should have filed a bug report and then amended it when 
we discovered that the turbopoweriprodsgn was necessary for it to appear 
correctly... perhaps there should be some checking code to see if the 
turbopoweriprodsgn routines are available and if not, then render the popups as 
desired in the old way with a border and background color with or without the 
html capabilities...



Does this discussion mean that the old text hint window also changed its color?
I refactored THintWindow but I did not touch the color IIRC.


TBH, i don't know... all i know is that i was not able to immediately recognize 
the popup for what it was...


--
 NOTE: No off-list assistance is given without prior approval.
   Please *keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-15 Thread Rik van Kekem


On 16 september 2014 01:17:55 CEST, waldo kitty wkitt...@windstream.net wrote:
as noted previously, i don't use any installer... i pull trunk from the

repository and compile it as per my previously posted command lines...

Isn't Lazarus 1.3 r42488 a really old version? (November 2013?)
Or am I seeing this wrong?


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


[Lazarus] white popup hint box

2014-09-14 Thread waldo kitty


i've just updated both of my trunk FPC and LAZ... it has been four months since 
my last update... when i hovor over something and lazarus pops up a hint box, it 
is all white except for the shadow border on the right and bottom... where do i 
go to adjust the color of the border so i can see it or to at least make the 
background of the popup somewhat grey?


Lazarus 1.3 r42488 FPC 2.7.1 r28663 i386-win32-win32/win64

please see the attached png image for clarification...

--
 NOTE: No off-list assistance is given without prior approval.
   Please *keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.
--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-14 Thread Rik van Kekem

On 14-09-2014 20:56, waldo kitty wrote:

i've just updated both of my trunk FPC and LAZ... it has been four
months since my last update... when i hovor over something and lazarus
pops up a hint box, it is all white except for the shadow border on the
right and bottom...

Are you sure you're seeing that hint-windows in (real) white?
Are you on a laptop or screen-setting with high intensity?

For me the hint-window in YOUR screenshot is light-yellow (as it should 
be for my theme). The hint-window is drawn in the special theme color 
clInfoBk (which in turn looks at the color in your theme for the 
hint-window).


So before hunting down this setting in the source of Lazarus you might 
want to adjust your theme or color-settings or your screen. Other 
application will use the same light-setting for displaying hints.


Also see:
http://wiki.freepascal.org/Colors#Example:_clInfoBk.2C_clInfoText


--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-14 Thread Rik van Kekem

On 14-09-2014 23:22, Rik van Kekem wrote:

On 14-09-2014 20:56, waldo kitty wrote:

i've just updated both of my trunk FPC and LAZ... it has been four
months since my last update... when i hovor over something and lazarus
pops up a hint box, it is all white except for the shadow border on the
right and bottom...
B.T.W. if you really want to change the background of your hint-window 
its best you do it system-wide in your theme. You could do it like this 
on Windows 7:


Right-click your desktop and choose Personalize.
At the bottom choose Windows Color
In  the next screen choose Advanced appearance settings.

You get a screen like this:
http://i.imgur.com/JqAjNyv.png

Choose Tooltip and for Color1 choose the desired background color.
Apply and close all screens.

Now when in any program a tooltip (hint-window) popups its background 
will be your chosen color.



--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-14 Thread waldo kitty

On 9/14/2014 5:22 PM, Rik van Kekem wrote:

On 14-09-2014 20:56, waldo kitty wrote:

i've just updated both of my trunk FPC and LAZ... it has been four
months since my last update... when i hovor over something and lazarus
pops up a hint box, it is all white except for the shadow border on the
right and bottom...

Are you sure you're seeing that hint-windows in (real) white?


yes, i'm pretty sure...


Are you on a laptop or screen-setting with high intensity?


ummm, yes, this is a laptop... high intensity? i don't think so... i've not had 
this problem before this latest update...



For me the hint-window in YOUR screenshot is light-yellow (as it should be for
my theme). The hint-window is drawn in the special theme color clInfoBk (which
in turn looks at the color in your theme for the hint-window).


ugh... i don't want to change my default theme just to try to satisfy some 
program that has suddenly changed... i don't see this with other programs but 
then i don't know what they are doing, either... i just know that they haven't 
changed like this...



So before hunting down this setting in the source of Lazarus you might want to
adjust your theme or color-settings or your screen. Other application will use
the same light-setting for displaying hints.

Also see:
http://wiki.freepascal.org/Colors#Example:_clInfoBk.2C_clInfoText


i'll look but i'm pretty apprehensive and, at the outset, not a happy camper for 
this :/



--
 NOTE: No off-list assistance is given without prior approval.
   Please *keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-14 Thread waldo kitty

On 9/14/2014 5:33 PM, Rik van Kekem wrote:

On 14-09-2014 23:22, Rik van Kekem wrote:

On 14-09-2014 20:56, waldo kitty wrote:

i've just updated both of my trunk FPC and LAZ... it has been four
months since my last update... when i hovor over something and lazarus
pops up a hint box, it is all white except for the shadow border on the
right and bottom...

B.T.W. if you really want to change the background of your hint-window its best
you do it system-wide in your theme. You could do it like this on Windows 7:


thanks for the hint... i'll try to apply it to this last vista installation... 
we have dumped winshite for numerous reasons... this may be another nail that 
keeps the coffin shut... everything else is linux or OS/2 eCS... thanks for the 
assist! ;)



--
 NOTE: No off-list assistance is given without prior approval.
   Please *keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus


Re: [Lazarus] white popup hint box

2014-09-14 Thread waldo kitty

On 9/14/2014 5:33 PM, Rik van Kekem wrote:

On 14-09-2014 23:22, Rik van Kekem wrote:

On 14-09-2014 20:56, waldo kitty wrote:

i've just updated both of my trunk FPC and LAZ... it has been four
months since my last update... when i hovor over something and lazarus
pops up a hint box, it is all white except for the shadow border on the
right and bottom...

B.T.W. if you really want to change the background of your hint-window its best
you do it system-wide in your theme. You could do it like this on Windows 7:

Right-click your desktop and choose Personalize.
At the bottom choose Windows Color
In  the next screen choose Advanced appearance settings.


i had to hunt it down in vista but yes, that works for the background but there 
is (still) no border which i'd rather have instead of just a floating polygon of 
a different shade with no border...


i'm also quite confused how you saw that image with that section yellowed... 
i've looked at the same image on several machines and see only white on white :/



--
 NOTE: No off-list assistance is given without prior approval.
   Please *keep mailing list traffic on the list* unless
   private contact is specifically requested and granted.

--
___
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus