Download
(31Kb)
Download
Updated: 08-16-09 06:21 PM
Pictures
File Info
Updated:08-16-09 06:21 PM
Created:unknown
Downloads:10,825
Favorites:69
MD5:

Cirk's Mousetip  Popular! (More than 5000 hits)

Version: 3.2.1
by: Cirk [More]

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

3.2.1
  • Made code more robust to attempted use on tooltip enabled frames without names, such as Elkano's BuffBars (thanks Vilkku)
  • Additional robustness changes for bad calling parameters and minor debug code cleanup
  • Fixed minor bug in order of names reported when using /mousetip set <frame1> as <frame2> option
  • Changed version string to 3.2.1.

3.2.0
  • Fixed a minor bug in the confirmation message shown when setting a frame to use another frame as its anchor.
  • Changed version string to 3.2.0.

3.1.0
  • Fixed a bug where /mousetip id would error if the hovered-over frame had no name.
  • Added an entry for Blizzard's interface options screen that shows a list of the slash commands, tidied up the help text, removed the normal addon "loaded" announcement in chat.
  • Changed version string to 3.1.0.

3.0.2
  • Greatly improved unit identification and handling - no more stuck tooltips!
  • Show tapped status before dead status (i.e., for on corpses)
  • Improved code efficiency for coloring unit names
  • Fixed bug where mouseover target's target's health wasn't being updated
  • Improved recognition of when the tooltip is no longer still valid
  • Fixed unexpected fadeout problem
  • Added a workaround for the problem of not recognizing frames that pretend to be the world frame but aren't (e.g., minimap zoom buttons)
  • Changed version string to 3.0.2
  • Reduced background color update delays to 0.2 second
  • Removed checking for UPDATE_MOUSEOVER_UNIT (this is now implicit with unit updates).

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
Post A Reply Comment Options
Unread 01-21-09, 06:07 AM  
Cirk
A Cobalt Mageweaver
 
Cirk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 226
File comments: 97
Uploads: 11
Originally posted by Potter
Riddle me this dear sir..
...
Hi Potter - mousetip already has the ability to show the target of your tooltip (mouseover) target, although it only shows the name of the mouseover target in the second tooltip. Are you asking for the target tooltip to have more than just the name, or ?
__________________
Cirk's Addons
Report comment to moderator  
Reply With Quote
Unread 01-20-09, 04:51 PM  
Potter
A Kobold Labourer

Forum posts: 1
File comments: 186
Uploads: 0
Riddle me this dear sir..

How much of an operation would it be to add the functionality of..

http://wowui.worldofwar.net/?p=mod&m=1383

Into Mousetip?

It was an addon called SimpleMouseoverTarget..that met it's demise with 3.0.8 & Brodick hasn't been active on it in a loooooong time..

I see most other tooltip addons show target of target..but the whole point of the one above was to show the target of anything I moused over
Report comment to moderator  
Reply With Quote
Unread 12-15-08, 04:00 PM  
vpr
A Theradrim Guardian

Forum posts: 65
File comments: 272
Uploads: 0
Re: Mousetip v3.0.2 - fix for the stuck tooltip...

Originally posted by Cirk
Septikron got me thinking again about the stuck tooltip problems, and so I did a lot more digging and experimenting with some of the things that changed in the 3.0 patch, and, well, end result is I think I've finally got it nailed in 3.0.2.

Its not all perfect - there's another "bug" in the Blizzard default logic that can result in the tooltip's unit name color being wrong, where it shows up as the default gold color for a brief moment (maybe less than half a second). Near as I can figure, that happens with the default Blizzard code too! One day maybe they'll change some internal mechanism and we can fix this one too, but it shouldn't appear too often at any rate, and its only momentary when it does, so hopefully no-one will even notice

Enjoy!
-- Cirk
Don't suppose it'd be possible for you to release just the positioning code as a separate addon?

I really like the idea of smart positioning, but I have another ToolTip that I really enjoy using. I'd love to be able to use your smart position mixed w/ the other tooltip.
Report comment to moderator  
Reply With Quote
Unread 12-15-08, 07:11 AM  
Cirk
A Cobalt Mageweaver
 
Cirk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 226
File comments: 97
Uploads: 11
Mousetip v3.0.2 - fix for the stuck tooltip...

Septikron got me thinking again about the stuck tooltip problems, and so I did a lot more digging and experimenting with some of the things that changed in the 3.0 patch, and, well, end result is I think I've finally got it nailed in 3.0.2.

Its not all perfect - there's another "bug" in the Blizzard default logic that can result in the tooltip's unit name color being wrong, where it shows up as the default gold color for a brief moment (maybe less than half a second). Near as I can figure, that happens with the default Blizzard code too! One day maybe they'll change some internal mechanism and we can fix this one too, but it shouldn't appear too often at any rate, and its only momentary when it does, so hopefully no-one will even notice

Enjoy!
-- Cirk
__________________
Cirk's Addons
Report comment to moderator  
Reply With Quote
Unread 11-11-08, 05:01 AM  
sirdizarm
A Murloc Raider
 
sirdizarm's Avatar

Forum posts: 6
File comments: 2
Uploads: 0
TY so much!!!!!!!!
Report comment to moderator  
Reply With Quote
Unread 10-31-08, 04:48 PM  
Cirk
A Cobalt Mageweaver
 
Cirk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 226
File comments: 97
Uploads: 11
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
Report comment to moderator  
Reply With Quote
Unread 10-30-08, 09:07 AM  
septikron
A Defias Bandit

Forum posts: 3
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
Report comment to moderator  
Reply With Quote
Unread 10-23-08, 03:04 PM  
Cirk
A Cobalt Mageweaver
 
Cirk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 226
File comments: 97
Uploads: 11
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
Report comment to moderator  
Reply With Quote
Unread 10-23-08, 09:00 AM  
Vilkku
An Aku'mai Servant
 
Vilkku's Avatar
AddOn Author - Click to view AddOns

Forum posts: 35
File comments: 77
Uploads: 4
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
Report comment to moderator  
Reply With Quote
Unread 10-13-08, 11:17 AM  
Cirk
A Cobalt Mageweaver
 
Cirk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 226
File comments: 97
Uploads: 11
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
Report comment to moderator  
Reply With Quote
Unread 12-08-07, 10:38 AM  
Lomir
A Kobold Labourer

Forum posts: 0
File comments: 20
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?
Report comment to moderator  
Reply With Quote
Unread 11-27-07, 06:08 PM  
Cirk
A Cobalt Mageweaver
 
Cirk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 226
File comments: 97
Uploads: 11
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
Report comment to moderator  
Reply With Quote
Unread 11-25-07, 04:29 PM  
AllenR
A Murloc Raider

Forum posts: 4
File comments: 3
Uploads: 0
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"
Report comment to moderator  
Reply With Quote
Unread 11-25-07, 03:08 AM  
Zargon440
A Kobold Labourer

Forum posts: 0
File comments: 4
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!
Report comment to moderator  
Reply With Quote
Unread 11-20-07, 08:52 PM  
Cirk
A Cobalt Mageweaver
 
Cirk's Avatar
AddOn Author - Click to view AddOns

Forum posts: 226
File comments: 97
Uploads: 11
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
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: