Recent

Author Topic: Why does the hints not show  (Read 2363 times)

jdp

  • Full Member
  • ***
  • Posts: 144
Why does the hints not show
« on: September 14, 2020, 11:23:19 am »
Hi.

I build an app and have some hints of componants. These hints work on Linux and Windows but on Mac it does not show.
Is there someting that I need to set for it to show up ?

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Why does the hints not show
« Reply #1 on: September 14, 2020, 01:54:35 pm »
Did you set the ShowHint property for the control to True?

zoltanleo

  • Sr. Member
  • ****
  • Posts: 486
Re: Why does the hints not show
« Reply #2 on: September 14, 2020, 04:54:59 pm »
Hmmm. I don't have any problems.

Catalina 10.15.6
FPC 3.3.31 Lazarus trunk rev.63728
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

jdp

  • Full Member
  • ***
  • Posts: 144
Re: Why does the hints not show
« Reply #3 on: September 14, 2020, 05:40:41 pm »
Yes all is set. I am developing on the Raspberry Pi and compiling the same app on Windows and on Linux and there it all works fine. But on Mac the hints do not want to show.

skalogryz

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2770
    • havefunsoft.com
Re: Why does the hints not show
« Reply #4 on: September 14, 2020, 10:19:51 pm »
But on Mac the hints do not want to show.
what's your Lazarus version?

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Why does the hints not show
« Reply #5 on: September 15, 2020, 01:58:09 am »
Hints work for me in macOS Mojave using both FPC trunk + Lazarus trunk and FPC 3.0.4 + Lazarus 2.0.6.

OP: can you provide source for a simple demo with non-working hints?

jdp

  • Full Member
  • ***
  • Posts: 144
Re: Why does the hints not show
« Reply #6 on: September 15, 2020, 11:06:59 pm »
I will have to make a little test app first. So should it show if the property is set? I don't have to do anything else? It works 100%on all the other OSs

zoltanleo

  • Sr. Member
  • ****
  • Posts: 486
Re: Why does the hints not show
« Reply #7 on: September 16, 2020, 12:21:22 am »
Hi jdp.

Have you tried running my test project I attached above?
Win10 LTSC x64/Deb 11 amd64(gtk2/qt5)/Darwin Cocoa (Monterey):
Lazarus x32/x64 2.3(trunk); FPC 3.3.1 (trunk), FireBird 3.0.10; IBX by TonyW

Sorry for my bad English, I'm using translator ;)

jdp

  • Full Member
  • ***
  • Posts: 144
Re: Why does the hints not show
« Reply #8 on: September 16, 2020, 06:41:46 pm »
Hi. Yes, it does show.

So why would an application that I develop on the Pi not show it when I compile it on the Mac? I also have an issue with a date picker. I can select the date but the mouse won't click it. If I hit enter then it is selected.

jdp

  • Full Member
  • ***
  • Posts: 144
Re: Why does the hints not show
« Reply #9 on: October 11, 2020, 11:47:38 pm »
Sorry for only coming back now I have been busy with other issues. I build a small sample on the Pi and compiled it on the Mac and it works, it does show the hints. But in my big project, that I can not share here, it does not work on the Mac but on all other platforms(Windows, Linux Mint and Ubuntu). Where can I start looking to figure out why this will be the case on Mac?

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Re: Why does the hints not show
« Reply #10 on: October 12, 2020, 12:52:53 am »
* What is your Lazarus version
* What is your FPC version?
* Are you compiling on a Mac? If not, on what operating system are you compiling the Mac version?
* Did hints ever work on the Mac while you were developing your big project?

VTwin

  • Hero Member
  • *****
  • Posts: 1215
  • Former Turbo Pascal 3 user
Re: Why does the hints not show
« Reply #11 on: October 12, 2020, 03:16:29 am »
I have no problems with several very large projects.
“Talk is cheap. Show me the code.” -Linus Torvalds

Free Pascal Compiler 3.2.2
macOS 12.1: Lazarus 2.2.6 (64 bit Cocoa M1)
Ubuntu 18.04.3: Lazarus 2.2.6 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.2.6 (64 bit on VBox)

 

TinyPortal © 2005-2018