Recent

Author Topic: FpDebug popup problem  (Read 3432 times)

440bx

  • Hero Member
  • *****
  • Posts: 5137
Re: FpDebug popup problem
« Reply #15 on: April 27, 2024, 11:49:44 pm »
If you have code tool hints (with location of declaration), does it show the text for the declaration in blue / link)?
Can you provide a screenshot of what you're referring to ?  I'm not clear about what you're asking.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10997
  • Debugger - SynEdit - and more
    • wiki
Re: FpDebug popup problem
« Reply #16 on: April 28, 2024, 01:04:48 am »
New Projects, just added lines on top to scroll down.

Mouse over "TForm" => then I can move the mouse over the hint, and the blue source location acts as link that I can click (it even has a hint to the hint).

And this also would be another test, if you get a scrollbar.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10997
  • Debugger - SynEdit - and more
    • wiki
Re: FpDebug popup problem
« Reply #17 on: April 28, 2024, 01:16:43 am »
Ok, so this is the one change I am aware off (there may be others). https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40565


For this to be the cause, something would have to limit (reduce) the desired width of the hint.

440bx

  • Hero Member
  • *****
  • Posts: 5137
Re: FpDebug popup problem
« Reply #18 on: April 28, 2024, 01:24:18 am »
What I get isn't the same as what you get.

The screenshot shows what I get and, it isn't right. 

For reference and in case it may be useful, I also placed an image of the "About Lazarus" to show what version exactly of trunk I am using (it's a few days old by now but, I don't think that makes a difference but... just in case.)

(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10997
  • Debugger - SynEdit - and more
    • wiki
Re: FpDebug popup problem
« Reply #19 on: April 28, 2024, 02:06:53 am »
What I get isn't the same as what you get.

Comparing plain text => yes.

But otherwise no.
You don't have
- bold text
- That bit of "TCustomForm" on the bottom should be blue, it isn't, you don't get colors.

All you get are instead some "text symbols". In other word for some reason you don't get the html hint.

I just tested, if I uninstall the package TurboPowerIProDSGN => then I get the same hint.

I didn't think of it, because I recalled it being grey... But apparently that was tainted memory of mine...


It is still existing functionality, it may be worth a report... I don't know much about it though.

440bx

  • Hero Member
  • *****
  • Posts: 5137
Re: FpDebug popup problem
« Reply #20 on: April 28, 2024, 02:37:47 am »
I can create a bug report mentioning that the hint window does not always display its contents as expected if the window is too small to accommodate all the text to be displayed.

I can put a reference to this thread for additional information and the screenshots showing the problem.

Should I create such a bug report ?
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10997
  • Debugger - SynEdit - and more
    • wiki
Re: FpDebug popup problem
« Reply #21 on: April 28, 2024, 02:50:45 am »
If it indeed is that you don't have the package installed, and if the package fixes it, then yes.

A bug report on "editor hint without TurboPowerIproDsgn, shows only partial content"

440bx

  • Hero Member
  • *****
  • Posts: 5137
Re: FpDebug popup problem
« Reply #22 on: April 28, 2024, 03:24:10 am »
Installing the package makes the problem go away!

Issue reported: 40931

link: https://gitlab.com/freepascal.org/lazarus/lazarus/-/issues/40931
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

JuhaManninen

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4567
  • I like bugs.
Re: FpDebug popup problem
« Reply #23 on: April 28, 2024, 07:38:08 am »
I just tested, if I uninstall the package TurboPowerIProDSGN => then I get the same hint.
I didn't think of it, because I recalled it being grey... But apparently that was tainted memory of mine...
It is grey here on Linux with both LCL-GTK2 and LCL-QT5.
Why is it yellow in some computers?
A standard system hint window is used. I guess a user can configure it somehow.
Mostly Lazarus trunk and FPC 3.2 on Manjaro Linux 64-bit.

cdbc

  • Hero Member
  • *****
  • Posts: 2077
    • http://www.cdbc.dk
Re: FpDebug popup problem
« Reply #24 on: April 28, 2024, 09:43:36 am »
Hi Juha
The yellowish popup for comments, comes from installing the package:
 TurboPowerIproDsgn
in Lazarus. In my opinion, it's way better than the grey one. Mind you, I use comments on my types to document 'how to create my different interfaces, from plugins in libraries'.
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 3.6 up until Jan 2024 from then on it's both above &: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 4.99

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10997
  • Debugger - SynEdit - and more
    • wiki
Re: FpDebug popup problem
« Reply #25 on: April 28, 2024, 10:53:41 am »
Hi Juha
The yellowish popup for comments, comes from installing the package:
 TurboPowerIproDsgn
in Lazarus. In my opinion, it's way better than the grey one. Mind you, I use comments on my types to document 'how to create my different interfaces, from plugins in libraries'.
Regards Benny

Except, I just tested, I got a yellow hint too, but without that package.
Yet then the yellow hint behaved like the grey....

cdbc

  • Hero Member
  • *****
  • Posts: 2077
    • http://www.cdbc.dk
Re: FpDebug popup problem
« Reply #26 on: April 28, 2024, 11:20:26 am »
Hi
@Martin_fr: I can only speak for my own setup, which is Linux(fully updated), QT5, FPC trunk and Lazarus 3.0(with dialog-patch from zeljko). It came from FpcUpDeluxe without that package installed and the grey popups were killing me, I really missed the yellow one from 2.2.6. Then I read in this very thread about the TurboPowerIproDsgn-package and installed it.
Now the popups are working as before, _with_ scrollbars and all... Cool  8-)
So thank you for that, I'm a happy camper.
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 3.6 up until Jan 2024 from then on it's both above &: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 4.99

Martin_fr

  • Administrator
  • Hero Member
  • *
  • Posts: 10997
  • Debugger - SynEdit - and more
    • wiki
Re: FpDebug popup problem
« Reply #27 on: April 28, 2024, 12:52:29 pm »
Hi
@Martin_fr: I can only speak for my own setup, which is Linux(fully updated), QT5, FPC trunk and Lazarus 3.0(with dialog-patch from zeljko). It came from FpcUpDeluxe without that package installed and the grey popups were killing me, I really missed the yellow one from 2.2.6. Then I read in this very thread about the TurboPowerIproDsgn-package and installed it.
Now the popups are working as before, _with_ scrollbars and all... Cool  8-)
So thank you for that, I'm a happy camper.
Regards Benny

Yes TurboPowerIpProDSGN gives you the "good" hints. With Scrollbars, colors, links, ....

The absence of the package gives you "simple hints". I have in the past experienced them with grey background. But, I have now seen them with yellow background too. I don't know what causes the diff between those 2 simple kind of hints. (and what other diffs they may have).
But, the background color alone is apparently not enough to tell. That threw me off at the start of this issue, and that is why I did not recognize the problem was the absence of the package (presumingly, 44bx has yet to confirm that installing it, does fix it).

cdbc

  • Hero Member
  • *****
  • Posts: 2077
    • http://www.cdbc.dk
Re: FpDebug popup problem
« Reply #28 on: April 28, 2024, 01:10:55 pm »
Hi
Yes interesting to hear, if it fares as well on winders as on tux...
I'd believe so, as TurboPower was based in win32 IIRC, I remember a certain Julian M. Bucknall working for them  :D
Regards Benny
If it ain't broke, don't fix it ;)
PCLinuxOS(rolling release) 64bit -> KDE5 -> FPC 3.2.2 -> Lazarus 3.6 up until Jan 2024 from then on it's both above &: KDE5/QT5 -> FPC 3.3.1 -> Lazarus 4.99

440bx

  • Hero Member
  • *****
  • Posts: 5137
Re: FpDebug popup problem
« Reply #29 on: April 28, 2024, 02:37:46 pm »
That threw me off at the start of this issue, and that is why I did not recognize the problem was the absence of the package (presumingly, 44bx has yet to confirm that installing it, does fix it).
I confirmed the absence of the package causes the problem (at least it does in my installation.) see the message/reply #22 (https://forum.lazarus.freepascal.org/index.php/topic,67104.msg515816.html#msg515816) in this thread.
(FPC v3.0.4 and Lazarus 1.8.2) or (FPC v3.2.2 and Lazarus v3.2) on Windows 7 SP1 64bit.

 

TinyPortal © 2005-2018