* popup hints in plugins
- JP Ford
- Diamond
- Posts: 86
- Joined: 16 Feb 2020 14:11
- Family Historian: V6.2
- Location: Yorkshire, UK
- Contact:
popup hints in plugins
Is there any way to disable the tooltips (popup hints) that appear in some plugins?
Under PlayOnlinux, they are sometimes not quite right, sometimes appearing as just black blobs. Even when they appear correctly, they can be quite annoying, flashing frequently and causing the focus on the main plugin interface to get lost. I've posted video screencap of this behavior at this link: https://youtu.be/5_IKorHBs9Q
Under PlayOnlinux, they are sometimes not quite right, sometimes appearing as just black blobs. Even when they appear correctly, they can be quite annoying, flashing frequently and causing the focus on the main plugin interface to get lost. I've posted video screencap of this behavior at this link: https://youtu.be/5_IKorHBs9Q
Researching SORRELL and SORELLE families and associated lines.
https://sorrellnotes.us
https://sorrellnotes.us
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: popup hints in plugins
Sorry, there is no easy way to disable those tooltips as they are built into the coding of each GUI control.
It would need a rewrite of those parts of the Plugin script and provide an on/off toggle option.
That is the first time as far as I know that anyone using WINE, Crossover, POM or POL have had a problem with tooltips.
It is such a basic feature of Windows that it is surprising it is not well supported.
OR is it only the Plugin Lua GUI implementation of them that is causing the problem, and elsewhere they work OK?
It would need a rewrite of those parts of the Plugin script and provide an on/off toggle option.
That is the first time as far as I know that anyone using WINE, Crossover, POM or POL have had a problem with tooltips.
It is such a basic feature of Windows that it is surprising it is not well supported.
OR is it only the Plugin Lua GUI implementation of them that is causing the problem, and elsewhere they work OK?
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- JP Ford
- Diamond
- Posts: 86
- Joined: 16 Feb 2020 14:11
- Family Historian: V6.2
- Location: Yorkshire, UK
- Contact:
Re: popup hints in plugins
Graphics generally are not an issue in POL and tooltips in other Windoze-based apps seems to work fine in POL (although you can usually disable them which I tend to do). So, in my case, this behavior is restricted to the FH plugin and doesn't happen in other windows apps.
In both Change Any Fact and the Search and Replace plugin, when you first start up the plugin, they appear blacked out. After about 90 seconds, they clear up, but they are rarely static, they always blink, unless you manage to get the pointer in just the right place and take your hand off the mouse. In order to use any field in the plugins, I have to click in the field and then move my pointer away from the interface, else they just take over.
Could a fix be as simple as me editing the plugin source and deleting some commonly re-occurring string of code?
In both Change Any Fact and the Search and Replace plugin, when you first start up the plugin, they appear blacked out. After about 90 seconds, they clear up, but they are rarely static, they always blink, unless you manage to get the pointer in just the right place and take your hand off the mouse. In order to use any field in the plugins, I have to click in the field and then move my pointer away from the interface, else they just take over.
Could a fix be as simple as me editing the plugin source and deleting some commonly re-occurring string of code?
Researching SORRELL and SORELLE families and associated lines.
https://sorrellnotes.us
https://sorrellnotes.us
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: popup hints in plugins
Most Windows tooltips popup in a rectangular box, whereas my Plugins choose a balloon style tooltip popup.
It might be worth trying to change my Plugins to the rectangular style, which is a very simple edit.
Change iup_gui.Balloon = "YES" to iup_gui.Balloon = NO" usually near line number 3100.
Otherwise, to remove all tooltips will require a smart global edit to delete all the Tip= settings.
They have the following format variants:
Tip="Progress Message"
Tip="Stop Progress Button",
Tip=tblButton.Tip,
Tip=strTip or "?",
setToolTip(self)
setToolTip(self,lblSeekText)
where text in "quotes" may contain any characters including commas.
Also, replace "Tip" with "Txy"
It might be worth trying to change my Plugins to the rectangular style, which is a very simple edit.
Change iup_gui.Balloon = "YES" to iup_gui.Balloon = NO" usually near line number 3100.
Otherwise, to remove all tooltips will require a smart global edit to delete all the Tip= settings.
They have the following format variants:
Tip="Progress Message"
Tip="Stop Progress Button",
Tip=tblButton.Tip,
Tip=strTip or "?",
setToolTip(self)
setToolTip(self,lblSeekText)
where text in "quotes" may contain any characters including commas.
Also, replace "Tip" with "Txy"
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- JP Ford
- Diamond
- Posts: 86
- Joined: 16 Feb 2020 14:11
- Family Historian: V6.2
- Location: Yorkshire, UK
- Contact:
Re: popup hints in plugins
Okay, I'll give those a shot today starting from least to most drastic. A little confused about one aspect of your response:
I understand 1) Disable the balloons AND 2) smart global edit to delete all the Tip="..." entries.
But the last one threw me... 3) replace "Tip" with "Txy" ????
Is this another alternative or part of option #1? I'm assuming it can't be part of option #2 since I would have deleted all the "Tip=" entries
I understand 1) Disable the balloons AND 2) smart global edit to delete all the Tip="..." entries.
But the last one threw me... 3) replace "Tip" with "Txy" ????
Is this another alternative or part of option #1? I'm assuming it can't be part of option #2 since I would have deleted all the "Tip=" entries
Researching SORRELL and SORELLE families and associated lines.
https://sorrellnotes.us
https://sorrellnotes.us
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: popup hints in plugins
Sorry, I could have made that a bit clearer. It is all part of option #2.
After deleting all the Tip=... cases, then replace each "Tip" by "Txy" including the "quotes".
The Tip=... cases have no "quotes" around the word Tip but in the repacement case they do.
The deletions must remove everything I have shown in bold including whatever text is in "quotes" and the trailing comma, and everything shown in (parentheses), etc. That is why I called it a smart edit. It needs wildcards for the parts in "quotes" and in (parentheses).
The replacements must retain the " quotes " characters and just change Tip to Txy.
For correct syntax, the "Txy" must exist in place of "Tip" but since there is no Txy attribute it has no effect except not invoke the Tip attribute.
After deleting all the Tip=... cases, then replace each "Tip" by "Txy" including the "quotes".
The Tip=... cases have no "quotes" around the word Tip but in the repacement case they do.
The deletions must remove everything I have shown in bold including whatever text is in "quotes" and the trailing comma, and everything shown in (parentheses), etc. That is why I called it a smart edit. It needs wildcards for the parts in "quotes" and in (parentheses).
The replacements must retain the " quotes " characters and just change Tip to Txy.
For correct syntax, the "Txy" must exist in place of "Tip" but since there is no Txy attribute it has no effect except not invoke the Tip attribute.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- JP Ford
- Diamond
- Posts: 86
- Joined: 16 Feb 2020 14:11
- Family Historian: V6.2
- Location: Yorkshire, UK
- Contact:
Re: popup hints in plugins
Okay, using one of your bold examples example then,
Tip="Progress Message" would be replaced with:
"Txy"=""
OR is it
"Txy"= sans the string quotes??
Tip="Progress Message" would be replaced with:
"Txy"=""
OR is it
"Txy"= sans the string quotes??
Researching SORRELL and SORELLE families and associated lines.
https://sorrellnotes.us
https://sorrellnotes.us
- JP Ford
- Diamond
- Posts: 86
- Joined: 16 Feb 2020 14:11
- Family Historian: V6.2
- Location: Yorkshire, UK
- Contact:
Re: popup hints in plugins
So, here's an interesting outcome; the first option, change to iup_gui.Balloon = "NO", has zero effect on the Search and Replace plugin. That surprised me, as it would appear to be a global function. However, the behavior and the popup form is unchanged from the video I posted; I double checked that there are no other Search and Replace plugins and that my edit was correct. All appears right, but outcome is 'nada'.
Took a look at the plugin data folder and see ../Plugin Data/Search and Replace.dat - changed ["Balloon"]="Yes", on line 5 to ["Balloon"]="No", and all is well. No more flashing hints.
Made similar edit to ../Plugin Data/Change Any Fact.dat with same results. Made no changes to the actual plugin lua file. I assume this .DAT file is written at installation (and would therefore be overwritten on update) , so I will have to make the change again if/when the plugins are updated.
Thanks again, Mike. Will follow this trail with other problematic plugins!!
Took a look at the plugin data folder and see ../Plugin Data/Search and Replace.dat - changed ["Balloon"]="Yes", on line 5 to ["Balloon"]="No", and all is well. No more flashing hints.
Made similar edit to ../Plugin Data/Change Any Fact.dat with same results. Made no changes to the actual plugin lua file. I assume this .DAT file is written at installation (and would therefore be overwritten on update) , so I will have to make the change again if/when the plugins are updated.
Thanks again, Mike. Will follow this trail with other problematic plugins!!
Researching SORRELL and SORELLE families and associated lines.
https://sorrellnotes.us
https://sorrellnotes.us
- tatewise
- Megastar
- Posts: 27088
- Joined: 25 May 2010 11:00
- Family Historian: V7
- Location: Torbay, Devon, UK
- Contact:
Re: popup hints in plugins
OK, that is good. Maybe in my haste, the script change was not enough, but you are correct that the .dat file is a sticky memory of settings and adjusting the Balloon setting there is a good technique.
Mike Tate ~ researching the Tate and Scott family history ~ tatewise ancestry
- JP Ford
- Diamond
- Posts: 86
- Joined: 16 Feb 2020 14:11
- Family Historian: V6.2
- Location: Yorkshire, UK
- Contact:
Re: popup hints in plugins
Thanks for your patience and responsiveness, Mike. It is very much appreciated!!
Researching SORRELL and SORELLE families and associated lines.
https://sorrellnotes.us
https://sorrellnotes.us