Recent

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

jdp

  • Full Member
  • ***
  • Posts: 116
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: 1016
  • 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?
o Lazarus v2.1.0 r63871, FPC v3.3.1 r47164, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 20.04 (Parallels VM)

zoltanleo

  • Sr. Member
  • ****
  • Posts: 265
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 10 amd64/Darwin Cocoa:
Lazarus x32/x64 2.1(r.63554); FPC 3.3.1 (r.45871), FireBird 3.0.6

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

jdp

  • Full Member
  • ***
  • Posts: 116
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: 2520
    • 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?
Patron Cocoa Widgetset development https://www.patreon.com/skalogryz

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1016
  • 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?
o Lazarus v2.1.0 r63871, FPC v3.3.1 r47164, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 20.04 (Parallels VM)

jdp

  • Full Member
  • ***
  • Posts: 116
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: 265
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 10 amd64/Darwin Cocoa:
Lazarus x32/x64 2.1(r.63554); FPC 3.3.1 (r.45871), FireBird 3.0.6

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

jdp

  • Full Member
  • ***
  • Posts: 116
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: 116
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: 1016
  • 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?
o Lazarus v2.1.0 r63871, FPC v3.3.1 r47164, macOS 10.14.6 (with sup update), Xcode 11.3.1
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.1 amd64 (VMware Fusion VM)
o FPC 3.0.4, FreeBSD 12.2-STABLE r365646 amd64
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 20.04 (Parallels VM)

VTwin

  • Hero Member
  • *****
  • Posts: 936
  • 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.0
macOS 10.13.6: Lazarus 2.0.10 (64 bit Cocoa)
Ubuntu 18.04.3: Lazarus 2.0.10 (64 bit on VBox)
Windows 7 Pro SP1: Lazarus 2.0.10 (64 bit on VBox)

 

TinyPortal © 2005-2018