One thing to check is that the window has focus -- in general on Windows, tooltips only display when a window has focus, and that seems to be true of the SDK as well. On Windows Vista and 7, the default "aero" user interface doesn't make it that easy to tell whether a window has focus.
I haven't provided tooltips on my plugins, so I don't have any long-term experience. I modified one to have tooltips on an "edit_field" and a "static_text", and the tooltip consistently appeared across about 6 invocations and lots of clicking around, changing window focus, etc. Not exactly strong evidence either way.
Vladimir Vinogradsky wrote:
I had an issue creating dynamic tooltips via LrView.bind
Did it ever work once? (I didnt realize Lr supported dynamic tooltips)
Vladimir Vinogradsky wrote:
statically assigned tooltips seem to work fine.
Thanks for the input - something screwy with me, my code, or my system, I guess...
Rob, it never worked. Tooltips only appear if the value is assigned statically when the view is initialized. Any attempt to bind a property resulted in tooltips never coming up. In a desperate attempt to research into this, I even assigned a transform function, which recorded its invocations in the log file. According to the log file, the transform function works fine, however the returned text string remained invisible - the tooltip never activates. Crazy stuff!
But wait, are you saying you can't make even static tooltips to show up?
PS: Anyway, I am going to report this to Adobe since I am running the latest version (3.3).
I dont think Lr SDK supports dynamic tooltips - does it? - I always assumed it does not: doesn't say one way or the other in "the guide" (does it?)
For me: static tooltips are sometimes displayed, and sometimes not. I really have not figured any rhyme nor reason to it - seems random...
More specifically, when they're not working they're not working, and when they are they are (i.e. the failure or correct functioning seems to persist for a while - never have caught it going from working to non-working or vice versa - its just something I notice from time to time: hey looky there the tooltips are working, or how about that: the tooltips aren't being displayed like they should...
I've done some further research on this. Dynamic tooltips definitely work on buttons. However, on viewFactory:picture controls they stop working once the bound property has been modified. The bug has been reported to Adobe.
As a data point for anyone else stumbling on this thread, I was having problems today with my dynamic tooltip on a push_button until
If I didn't follow those "rules", the tooltip would either fail to show, or stop showing. But, like Rob noted, the tootip behavior on push_buttons appears flaky -- I don't know if I stumbled on a recipe for success, or just got lucky.
BTW, I'm running on a Windows box with LR 3.6.