Addon Info.
Change Log
Archived (1)
Comments (27)
  Category: ToolTip
Addon Information
Works with WoTLK
Download Latest Version.
To add favorites please register for a free account. If you already have one you need to login. How do I install this? (FAQ)
Cirk's Portal Bug Reports Feature Requests
Author:
Version:
3.0.1
Date:
11-08-2008 03:14 PM
Size:
29.54 Kb
Downloads:
3,562
Favorites:
62
MD5:
Pictures
This is what the usual tooltip-on-the-cursor type of addon will give you when you mouse over a frame
Click to enlarge
This is what Mousetip's per-button tooltip assignments allow you to do, so that no matter where your
Click to enlarge
This is Mousetip's options window, which you can show at any time with the /mousetip slash command
Cirk's Mousetip   Popular!
What is Mousetip?
Mousetip is another show-the-tooltip-at-your-mouse-cursor type of addon (like TipBuddy, Tinytip, etc.) but written to have the features I particularly wanted from a tooltip addon:
  • It is a minimally intrusive as possible, and is written to work with the 2.0 (and now 3.0) clients from the ground up.
  • It introduces the concept of per-button tooltip positions, so that as you move your cursor over certain frames or buttons, Mousetip will actually place the tooltip in a settable location for that button, rather than keeping it on the cursor all the time (which is annoying when it gets in the way of what you are actually trying to look at!).
Feature-set wise, Mousetip is pretty lean compared to the likes of (say) TipBuddy:
  • Allows you to set the position of the tooltip either at the mouse cursor, or at a user placed anchor point.
  • Allows you to set an offset (horizontal and vertical) relative to the mouse
  • Allows you to change the scaling of the default game tooltips (and optionally of other tooltips that Mousetip knows about).
  • Allows showing a player's guild name in the tooltip (underneath the player name), and selecting the color that the guild names are shown in. (Also allows you to disable the showing of the guild name entirely if you don't like that feature of the default client).
  • Provides some simple tooltip coloring options for friendly, neutral, hostile, etc. targets. (I loved that feature in TipBuddy, so here it is again )
  • Allows setting the fade time for the tooltip.
  • Provides a simple target-of-target secondary tooltip that shows the appropriate target's name.
  • Allows you to show your standing (Neutral, Honored, etc.) with a faction next to their faction name


Per-button tooltip positions
For the per-button tooltip positioning, I've included only a few initial positions in Mousetip for the default WoW client's player, target, and party frames, and for the action buttons. However it is very easy to configure this for your own UI and tastes! For example, suppose you want to set Mousetip to show the tooltip to the right of your custom target frame. All you need to do for that is:
  1. Move the mouse cursor over the target frame.
  2. Do /mousetip set right.
Thats it! Well, actually there is a lot more that you can do if you really want to play around with it. See the full list of slash commands for more details.

Note that Mousetip will try and intelligently apply the per-button rules you give it, so that if you tell it (for example) that tooltips for the first party frame should be at the top-right of that frame, then Mousetip will apply that same position to all party frames (or at least all those that follow the usual naming rules).

Mousetip can also currently only set the tooltip position for a button or frame that would normally show the tooltip in the default bottom-right of your screen - it can't do anything about buttons or frames that set the tooltip location themselves (or that use their own custom tooltips).

Also, if you want to reset a particular button to use the cursor or use the default tooltip location (in the bottom right) just put the mouse over the button you want to change, and do /mousetip set cursor or /mousetip set default respectively. The default for frames that Mousetip doesn't know about is to use whatever you have set the default to in the options window (usually the normal bottom-right position of the default UI).


About the anchor point and alignment
Note that the anchor point and anchor alignment options will only be visible and changeable if either of the World tooltip position or the Default tooltip position are set to use the anchor. The anchor itself will also only be visible in this case, and only while the Mousetip options window is open.

The default location for the anchor is the bottom-right of your screen, near where the normal Blizzard default tooltip would appear. Look for a little red cross symbol.


Mousetip's slash commands
Mousetip supports the following slash commands:
/mousetip help shows this list of slash commands.
/mousetip shows and hides the Mousetip options window.
/mousetip on enables Mousetip.
/mousetip off disables Mousetip.
/mousetip set <position> sets where the tooltip will show for the frame or button that the mouse is currently hovering over.
/mousetip set as <frame> indicates that tooltips for the frame or button that the mouse is currently hovering over should instead appear as if they were tooltips for the named frame.
/mousetip set <frame> <position> sets where the tooltip will show for the named frame.
/mousetip set <frame1> as <frame2> indicates that tooltips for the named frame1 should instead appear as if they were tooltips for the named frame2.
/mousetip setparent indicates that tooltips for the frame or button that the mouse is currently hovering over should instead appear as if they were tooltips for the frame's parent.
/mousetip id tells you the name of the frame or button the mouse cursor is currently hovering over, and the name of its parent frame as well.
/mousetip id <frame> tells you the correctly capitalized name of the given frame, and the name of its parent frame as well.
/mousetip reset tooltip resets the world and default tooltip position, alignment, anchor, and scaling.
/mousetip reset colors resets the colors that Mousetip uses.
/mousetip reset anchors resets the per-button tooltip anchors that you have entered.
/mousetip reset all resets all of the tooltip, colors, and anchors.
/mousetip list lists all the buttons and frames that Mousetip has been told to keep per-button settings for.
/mousetip status shows the current status of Mousetip.

Enjoy!
-- Cirk
  Change Log - Cirk's Mousetip
3.0.1
  • Fix issue that arises when logging in on a newly created character or after reinstalling WoW due to client messages arriving in unexpected order.
  • Changed version string to v3.0.1.
3.0.0
  • Added the option to show your characters standing next to each recognized faction in the tooltip.
  • Added default location for the FocusFrame
  • Added a scaling control suppression feature (needed by Targetz)
  • Bug fix for some tooltip alignment cases that weren't being handled correctly
  • Various changes for version 3.0 compatibility
  • Changed version string to v3.0.0.
2.3.0
  • Mousetip will save the itemref tooltip location on a per character basis to replace Blizzard's new mechanism for this (which is a bit broken).
  • Added hooking of the ValidateFramePosition function so we can restore scaling while it calculates frame positions (since it doesn't do this itself)
  • Save border color as well as background color when Mousetip changes those parameters for a tooltip.
  • Added use of an anchorTime field to the tooltip to allow Mousetip to identify when a tooltip is shown long after it is anchored and compensate for the normal lack of fading in this case (e.g., corpses).
  • Made Mousetip a little more robust to bad data passed to tooltip handlers from other addons.
  • Provide a Mousetip.SetTooltipColorForUnit function to allow other addons to have their tooltip colors updated based on a specific unit the same way that Mousetip normally does itself (now used by Targetz for example).
  • The /mousetip list command now shows all its entries in alphabetical order of the button names.
  • Miscellaneous code cleanups and rearranging (all functions contained in the Mousetip global now).
2.2.0
  • Modified logout code to only update settings if the player had actually logged in properly (fixes a bug in losing user settings)
  • Avoid calling scaling code in other (known) addons when they haven't fully initialized yet.
2.1.0
  • First release on Wowinterface.com
  Archived Versions - Cirk's Mousetip
File Name
Version
Size
Author
Date
3.0.0
30kB
Cirk
10-13-2008 12:56 PM
  Comments - Cirk's Mousetip
Post A Reply
Author Comments Comment Options
Old 11-11-2008, 06:01 AM  
sirdizarm
A Murloc Raider
 
sirdizarm's Avatar

Forum posts: 4
File comments: 2
Uploads: 0
TY so much!!!!!!!!
sirdizarm is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-31-2008, 06:48 PM  
Cirk
A Cobalt Mageweaver
 
Cirk's Avatar
Interface Author - Click to view interfaces

Forum posts: 220
File comments: 78
Uploads: 20
Quote:
Originally posted by septikron
I've noticed that the tooltip sometimes 'sticks' to the cursor long after I'm no longer hovering over a corpse. In particular, 'skinnable' corpses seem to remain on the curosr until I mouse over something else.
Yeah septikron, this is basically because Mousetip has to "fake" the fadeout of the tooltip (since Blizzard didn't give us a function to set the delay and fade and without that we'd be stuck with 1 second delay and then a 1 second fadem which is fine for an anchored tooltip, but annoying on the cursor). In particular, as you've noted, there are some cases (on corpses most commonly, but also when players move off the cursor before it gets an update) where all the tricks I've put in place to handle this stuff still can't quite identify.

Interestingly too, I've noticed that sometimes Blizzard's own tooltip code has the same problem (e.g., if I blow away the cache, use no addons, and then login and mouse over a player corpse quickly, the tooltip comes up and stays up).

One day I'll figure out a bullet-proof solution (or Blizz will add controllable fade timing to the tooltip ) but for now its just a (hopefully small) annoyance.

-- Cirk
__________________
Cirk's Addons
Cirk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-30-2008, 11:07 AM  
septikron
A Kobold Labourer

Forum posts: 0
File comments: 1
Uploads: 0
I've noticed that the tooltip sometimes 'sticks' to the cursor long after I'm no longer hovering over a corpse. In particular, 'skinnable' corpses seem to remain on the curosr until I mouse over something else.

Great tooltip, though. /thumbsup
septikron is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-23-2008, 05:04 PM  
Cirk
A Cobalt Mageweaver
 
Cirk's Avatar
Interface Author - Click to view interfaces

Forum posts: 220
File comments: 78
Uploads: 20
Quote:
Originally posted by Vilkku
Am I missing something, or is there no way to change the position of the actionbar tooltip?
Hi Vikku. If you aren't using the default Blizzard frames, you'll probably need to set the alignment position for the various action buttons yourself, which is easily done.
  1. Move your mouse over one of the action buttons
  2. Type /mousetip set topright (or topleft or whatever place you'd like the tooltip to be relative to that button)
  3. Check all your action buttons to see if some of them still need to be changed. For example, the default Blizzard action buttons have 5 different "flavors" (i.e., button names) and Mousetip has default settings for each of them. This is actually a good thing since you may want different tooltip positions for each type anyway.

Hope that helps
-- Cirk
__________________
Cirk's Addons
Cirk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-23-2008, 11:00 AM  
Vilkku
A Deviate Faerie Dragon
 
Vilkku's Avatar
Interface Author - Click to view interfaces

Forum posts: 13
File comments: 6
Uploads: 3
Am I missing something, or is there no way to change the position of the actionbar tooltip? For me it goes to the default place. Otherwise I love the different anchors for party frames =D
Vilkku is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 10-13-2008, 01:17 PM  
Cirk
A Cobalt Mageweaver
 
Cirk's Avatar
Interface Author - Click to view interfaces

Forum posts: 220
File comments: 78
Uploads: 20
Mousetip 3.0.0 available

Ready for the 3.0.2 patch - note that this will not work with 2.4.3 or earlier!
__________________
Cirk's Addons
Cirk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 12-08-2007, 11:38 AM  
Lomir
A Kobold Labourer

Forum posts: 0
File comments: 10
Uploads: 0
Possible Bug?

Its seem sometimes when I login the scale for the tooltips are at 100% and I have to change it then put it back to what I had it for it to stay the scale I want them.. Or if I login to the game and they are the correct scale (85% is what I have mine set yo) then if I go into an instance or BG they go back to 100% scale and I have to mess w/ the scale again to fix it. Can you help plz?
Lomir is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-27-2007, 07:08 PM  
Cirk
A Cobalt Mageweaver
 
Cirk's Avatar
Interface Author - Click to view interfaces

Forum posts: 220
File comments: 78
Uploads: 20
Quote:
Originally posted by AllenR
When it tried the code you give me, it gives me an error saying "Could not find Player, or it is not a valid frame"
Thanks AllenR - you've found a bug in the code in the processing of user commands (and therefore win a prize, well, ok, maybe not, but thankyou anyway)! I'll update Mousetip with a fix as soon as I get back home (sometime in the next few days I hope).

In the meantime you can fix your own version if you'd like by editing Mousetip.lua (with Notepad or equivalent text editor) and change line 561 from:
for param, remain in string.gmatch(text, "(%w+) +(.*)") do
to:
for param, remain in string.gmatch(text, "([^%s]+)%s+(.*)") do
where I've highlighted the actual part of the line that has to be changed.

Cheers
-- Cirk
__________________
Cirk's Addons
Cirk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-25-2007, 05:29 PM  
AllenR
A Murloc Raider

Forum posts: 4
File comments: 3
Uploads: 0
Quote:
Originally posted by Cirk
Buttons or frames won't matter to Mousetip - it treats them the same.

Looking in the current (2.3.8a) XPerl code (I'm at work and can't run WoW test this), the correct name of the player frame should be simply XPerl_Player, not XPerl_PlayerFrame. Can you confirm that when you do /mousetip set XPerl_Player right (pick your own alignment) what Mousetip does? Thanks!

-- Cirk
When it tried the code you give me, it gives me an error saying "Could not find Player, or it is not a valid frame"
AllenR is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-25-2007, 04:08 AM  
Zargon440
A Kobold Labourer

Forum posts: 0
File comments: 3
Uploads: 0
Firstly, i want to say I love your tooltip addon.


I do have 1 request, is there any chance you could add an option to hide tooltips in combat? That would really make my day!
Zargon440 is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-20-2007, 09:52 PM  
Cirk
A Cobalt Mageweaver
 
Cirk's Avatar
Interface Author - Click to view interfaces

Forum posts: 220
File comments: 78
Uploads: 20
Quote:
Originally posted by AllenR
I tried some of the things you suggested but couldn't get to work. A couple things I've noticed that I'll note though are this;

X-Perl's frames aren't ID'd as frames. They're ID'd as buttons.

And

When I did have Mousetip look up the ID of the frame, it was listed down as XPerl_PlayerFrame. And when I tried to set the tooltip to stick to the frame, it gave me an error that when it named the frame, it called it only "PlayerFrame" and not "XPerl_PlayerFrame." Maybe it's some kind of issue where Mousetip can't read underscores correctly? I'm not sure.
Buttons or frames won't matter to Mousetip - it treats them the same.

Looking in the current (2.3.8a) XPerl code (I'm at work and can't run WoW test this), the correct name of the player frame should be simply XPerl_Player, not XPerl_PlayerFrame. Can you confirm that when you do /mousetip set XPerl_Player right (pick your own alignment) what Mousetip does? Thanks!

-- Cirk
__________________
Cirk's Addons
Cirk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-20-2007, 07:56 PM  
AllenR
A Murloc Raider

Forum posts: 4
File comments: 3
Uploads: 0
I tried some of the things you suggested but couldn't get to work. A couple things I've noticed that I'll note though are this;

X-Perl's frames aren't ID'd as frames. They're ID'd as buttons.

And

When I did have Mousetip look up the ID of the frame, it was listed down as XPerl_PlayerFrame. And when I tried to set the tooltip to stick to the frame, it gave me an error that when it named the frame, it called it only "PlayerFrame" and not "XPerl_PlayerFrame." Maybe it's some kind of issue where Mousetip can't read underscores correctly? I'm not sure.
AllenR is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-20-2007, 04:05 AM  
Cirk
A Cobalt Mageweaver
 
Cirk's Avatar
Interface Author - Click to view interfaces

Forum posts: 220
File comments: 78
Uploads: 20
Quote:
Originally posted by AllenR
1. It doesn't work correctly with the X-Perl frames. When you hover over a character frame, the tooltip doesn't appear on the cursor. It stays where it does on the default UI.

2. Even though I set the frame to fade out to 0%, it still fades out when you hover over ore viens, herbs and quest items to pick up off the ground.
I've not used X-Perl AllenR, so there are two possibilities there: (i) that you just need to setup the positions for the various X-Perl frames (via the /mousetip set slash commands - see the example in the description), or (ii) that X-Perl doesn't use the default tooltip anchor mechanism but instead uses its own, and Mousetip can't reposition those (although I have plans to add that feature when I have time).

In regards to the second point, unfortunately for world objects (mailboxes, corpses, ore veins, etc.) the fade operation is handled directly by the client engine, and doesn't go via the LUA libraries, meaning that Mousetip can't intercept it to change the fade times. (Ideally Blizz will give us control of this, but they haven't yet - I'll add it to the current suggestions list).

Cheers
-- Cirk
__________________
Cirk's Addons
Cirk is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-19-2007, 04:56 PM  
AllenR
A Murloc Raider

Forum posts: 4
File comments: 3
Uploads: 0
2 small bugs to report.

1. It doesn't work correctly with the X-Perl frames. When you hover over a character frame, the tooltip doesn't appear on the cursor. It stays where it does on the default UI.

2. Even though I set the frame to fade out to 0%, it still fades out when you hover over ore viens, herbs and quest items to pick up off the ground.
AllenR is offline Report comment to moderator   Edit/Delete Message Reply With Quote
Old 11-14-2007, 02:17 PM  
rakkarage
A Kobold Labourer

Forum posts: 1
File comments: 20
Uploads: 0
ghost tips

it seems the only time the tooltips remain is when the corpse is skinnable... maybe this was a feature

Last edited by rakkarage : 11-17-2007 at 02:41 PM.
rakkarage is online now Report comment to moderator   Edit/Delete Message Reply With Quote
Post A Reply



Category Jump:



The Network:
EQInterface | EQ2Interface | LoTROInterface | MMOUI | War.MMOUI | WoWInterface | VGInterface | Allakhazam | Thottbot | Wowhead | Zam


MMOInterface.com Copyright ©2008
World of Warcraft is a registered Trademark of Blizzard Entertainment.
vBulletin - Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.