bugDenemo - Bugs: bug #31789, tool-tip info in .command file...

 
 

bug #31789: tool-tip info in .command file useless?

Submitted by:  Nils Gey <steele>
Submitted on:  Sun 05 Dec 2010 01:34:31 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Item Group: NoneStatus: None
Privacy: PublicAssigned to: None
Open/Closed: Open

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 05 Dec 2010 07:10:37 PM UTC, comment #1:

I don't see the same behavior:
If I remove the <tooltip> field from ScoreComment then the command disappears from the Score menu (this is because, sadly, the tooltip field is (ab)used as the end-of-fields marker in the parsing, shocking I know, but true).
If I remove just the contents of the tooltip, the command returns but its tooltip is the default no-tooltip one.
There is redundancy here, essentially because tooltips originate in commands in the menu hierarchy and are only copied to the .commands file on saving the command set. What happens in other circumstances (e.g. re-writing the original command in the menu) is obscure - the original idea was that the tooltip should be editable by the user too.
If possible the .commands file should be treated as an internal datastructure, created by the save command set command.

Richard Shann <rshann>
Project Administrator
Sun 05 Dec 2010 01:34:31 AM UTC, original submission:

The tool-tip in .command seems to be useless.

Check the tooltip with rightclick on a menu-item and choose "Help". This bug report also covers the keybindings-window where the tooltip/help is shown, too.

If the tag is removed completely from the .command file, no matter if from a built-in command or scheme command, the tooltip is still there.

If you change the tooltip:
a) For a built-in, nothing changes. The original help is shown.
b) For a scheme command you will get the error "Script not found", but the script works nevertheless AND you get the original tooltip, too.

It should be checked internally what the tooltip in .command is good for or if it can be just removed. From an outer point of view its just useless redundancy.

Nils Gey <steele>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by rshann (Posted a comment)
  • -unavailable- added by steele (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup