Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

tooltips: Now you see 'em, now you don't...

LEGEND ,
Jan 05, 2011 Jan 05, 2011

Can't figure out why sometimes the tooltips display and other times not at all.

Anybody else?

Rob

TOPICS
SDK
3.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 06, 2011 Jan 06, 2011

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 06, 2011 Jan 06, 2011

Thanks John, but even when the window has focus I often do not see the tooltips. Are they 100% for you?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 06, 2011 Jan 06, 2011

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 06, 2011 Jan 06, 2011

Just tried again on a push button, and it worked, but last time I tried what I thought was the same thing it did not work.

I'm a bit befuddled...

Thanks for checking John,

Rob

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 08, 2011 Jan 08, 2011

I had an issue creating dynamic tooltips via LrView.bind, statically assigned tooltips seem to work fine.

Has anyone been able to create tooltips using bound properties?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 08, 2011 Jan 08, 2011

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...

R

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 08, 2011 Jan 08, 2011

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).

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 08, 2011 Jan 08, 2011

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...

Rob

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Participant ,
Jan 18, 2011 Jan 18, 2011

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Jan 18, 2011 Jan 18, 2011

Vladimir,

Thanks for the update.

Rob

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 22, 2012 Mar 22, 2012
LATEST

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

  1. I made sure the button was "visible" at view creation, and
  2. the button remained "visible" (but perhaps disabled) for the life of the view.

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.

-Don

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines