Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: Toolbar Tooltip text has first character replaced #23

Open
ghost opened this issue Mar 8, 2021 · 3 comments
Open

bug: Toolbar Tooltip text has first character replaced #23

ghost opened this issue Mar 8, 2021 · 3 comments

Comments

@ghost
Copy link

ghost commented Mar 8, 2021

RECREATE:
Enter Toolbar Editor dialog. Add Button. Set Tooltip text. Press OK. Press F5 to compile/run. App starts. Hover mouse over toolbar button. Tooltip displayed. First character is one that was not entered in designer. Subsequent characters are all those entered in designer EXCEPT the first. Example: 'New' becomes 'xew', 'Open' becomes 'xpen', etc, where 'x' is some some semi-consistent character (meaning that it was some foreign character the first time I saw it, but it is currently 'H').
ERROR:
Tooltip text displayed consists of all text entered except first character, which is replaced by a character that was not entered.
EXPECTED:
Tooltip text displayed consists of all text entered.
WORKAROUND:
Enter one sacrificial character first, followed by desired text; tooltip displayed will be readable but have one unexpected character in front.
VERSION:
2.1.8
en-us
Win7 on VBox 6 on Linux Mint 20.1
SAMPLE:
https://github.com/ssepan2/FreeBASICForm
OPINION:
Possible character-array indexing issue (0 vs 1 index for first position).
Or related to discussion in your forum (https://www.planetsquires.com/protect/forum/index.php?topic=4511.0). I see WinBDE's INI setting pointing to english.lang, but I wonder if being in "Program Files" ("PROGRA~1") is tripping it up.

@PaulSquires
Copy link
Owner

Unable to duplicate this issue at this time even after using your FreeBASICFrom test project. I will leave this issue open and see I can eventually reproduce it on my hardware. I have tested using Windows 10 creating both 32 and 64 exe's.

@ghost
Copy link
Author

ghost commented Mar 20, 2021

I think it was one of the other (closed) issues that mentioned a problem with tooltips, and the discussion got around to localization, and a specific language file not being found. So I wondered if this one could be caused by my putting the program in "Program Files" (issue/tip #20 ), which could be why you haven't seen it yourself.

("Microsoft, why couldn't you just have called it 'Programs'; we aready knew you put 'Files' in there...")

@ghost
Copy link
Author

ghost commented Mar 20, 2021

Moved app folder into 'c:\Programs', touched up .INI file to find compilers, able to compile/run OK, but the 1st character of the tooltip is still appearing out of nowhere. So, not a 'Program Files' issue (#20) that I can tell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant