Glance Information Bar

Glance v6.2.0.1 now available!
Updated for WoW Patch 6.2
Let me know if there are any problems related to the 6.2 patch. I performed a cursory test and everything appeared to work fine.

About Glance

Glance is a modular information bar with many modules provided by default. Glance has been built from the bottom up to allow developers to create their own data brokers. Each module can be enabled or disabled via the user interface, or the Glance Interface Options panel. So use what you like, turn off what you don't, and let me know what else you'd like to see. I encourage you to read through this somewhat lengthy description, to see just what Glance is capable of.

Too much to list here. I'm calling an audible and saying it works with the new patch. Blizzard made some huge code changes, and I expect you will find a few bugs, especially once the expansion is fully released. This update will fix most things and get Glance running again. I've closed all existing tickets, so open a new ticket for any problems you find.

I have noticed that toons with special characters in their name have had issues with saving addon data, my characters included. I can't do anything about that, it's a game glitch.

5.4.8.1r
[*] Bug fix for the previous release.

5.4.8.1

Options: Moved options into new panels, added font and font size, added ability to turn off frame repositioning on vehicle enter/exit. Added option to auto-hide the bar during pet battles and on vehicles.

5.4.7.6

Core: Added a slight shadow to button text to be more visible in resting and combat states. Fixed a bug when moving Minimap.
Armor: Included bag items in estimated repair cost.
Location: Small mod to allow display when the world map is up.
Memory: Added CPU tracking. Added ability to merge addons that have modules. Added percentages.
Mounts: Fixed bug where some unuseable mounts were being summoned.
Options: Added ability to load options on demand when going straight to the game interface addon options. Added option for shadow text.
XP: Changed display color to match resting state. Blue for using rested xp, purple when not rested.

5.4.7.5

Core: Fixed a bug that popped up when in a party with a member of the same realm. Set the bar to hide during pet battles.
Friends: Formatting changes and code redesign to shorten the tooltip and eliminate lua errors.
Pets: Fixed Dismiss Pet

Core: Added Titles module. Fixed a bug that was preventing new modules from displaying.
Armor: Added item upgrade data.
Friends: Fixed a bug where the class color was causing a concatenation error.
Memory: Added ability to detect and track addons loaded on demand.
Professions: Added warnings when new skill levels are available at the trainer.
Titles: New Module

5.4.7.2

Core: Option for Tooltips to scale with the bar. Fixed a bug with auto-hide when moving the bar to the bottom of the UI. Added Notes and Options listings for each module. Fixed a bug with cross-realm party stats. Re-coded addons to use less memory. Added bags module.
Armor: Updated iLevel colors per expansion.
Bags: New Module
DualSpec: Disabled until level 30 when dual weilding can be learned.
Emblems: Added weekly cap tracking on Valor and Conquest Points. Adjusted the total cap on Valor Points.
Memory: Renamed collect garbage to Recycle Memory
Mounts: Fixed bug with Ahn'Qiraj Battle tanks. Disabled until level 20 when apprentice riding can be learned.
Pets: Moved enable pet from options panel to shift-right-click menu.
Professions: Fixed a bug in which the display was not updated when learning new skill levels.

5.4.7.1

Core: Added Auto-Hide capability. Tooltips now scale with the bar.
Emblems: Added weekly cap tracking on Valor and Conquest Points. Adjusted the total cap on Valor Points.
Mounts: Updated to better distinguish mount types. Unuseable mounts colored in red, mounts that can't swim colored purple, favorite mounts colored blue. Sea mounts should now be called properly. Removed the options interface favorite selection and moved it to shift-right click on the module.
Professions: Fixed a bug in which the display was not updated when learning new skill levels.
Reputation: Fixed tooltip display for multiple tracking and friends to show percent or points remaining.

5.4.2.1

Core: Fixed a bug in the button swap functions between the left side of the bar to the right side.
Armor: Fixed a bug when the toon is a guild master. Fixed a bug in the party stats where data was not being sent or received between party members of different realms.
Dungeons: Set to disabled by default
Emblems: Fixed bug displaying categories, replaced text with emblem icon in the display.
Framerate: Fixed a bug in the party stats where data was not being sent or received between party members of different realms.
Friends: Minor changes to colors, bug fix for Real-ID friends.
Gold: Added realm to the tooltip as gold counts will not travel cross realm.
Guild: Minor changes to colors.
Latency: Fixed a bug in the party stats where data was not being sent or received between party members of different realms.
Location: Added the ability to toggle Zone, SubZone, and Coordinates independently. Added speed.
Options: Added module information in the module pane.
Professions: Replaced the profession name with the profession icon in the display.
Reputation: Updated the tooltip to display Friends (Tillers & Anglers). Added the capability to track multiple reputations at once. (In the tooltip)
Tol Barad: Set to disabled by default
WinterGrasp: Set to disabled by default
XP: Fixed a bug in the party stats where data was not being sent or received between party members of different realms.

Bug fix for Friends when RealID Friends are online but not in-game. Bug fix for Armor tooltip crashing and not displaying item level correctly. Added new color option for the bar for when you enter a rest area.

5.0.5.1

Bug fixes for patch 5.0.5 Mists of Pandaria. Bug fix for Friends and Guild caused by the new class. Bug fix for Armor if your are a guildmaster. Updated data on Professions and Dungeons. Updated max level for XP, Updated Pets to include pet level, if it can battle, sorted pets by category and fixed a bug on summon. Updated mounts to include alphabetical listing for those who have a million mounts. Turned off Garbage Collection by default in the Memory module. Added Tabard to DualSpec.

5.0.4.2

Fixed a bug in the button system that affected moving, enabling/disabling modules. This should no longer be an issue. Added the ability to delete old characters or factions from the Gold module. Added the ability to change the color and transparency of the bar, bar-in-combat, and bar border. Combined the modules in the WoW addon screen for ease of use.

5.0.4.1

Fixed bugs in Armor, DualSpec, FrameRate, Latency, Pets, and XP modules due to overwhelming API changes made in patch 5.0.4.

4.3.4.1

Completely rewritten. New buttons, updated features. Check the description for a full list. Bar is now modular. Module options available on right-click. Gold now displays gph/character/account. Multiple Emblems can be tracked. Added guild repair to Armor. Added points remaining option to Reputation. Option to shorten names on Wintergrasp/Tol Barad. Mounts/Pets are now icons. Added DualSpec (switch specs/track stance/equipment set). Added Dungeon eligibility (what dungeons/raids you can do at what level).

4.0.6.8

Another bug fix for gold tooltip (gold per session/gold per hour). Fixed player and target frame positions when entering/exiting instances.

Fixed an issue with the battleground timers resetting world map coordinates when the map is displayed. Added an option to turn off garbage collection at login. Fixed time played message display to properly hide the server response when Glance requests the data.

4.0.6.5

Bug fix for an addon conflict which was preventing the options panel from showing.

4.0.6.4

Added clock tooltip for local/server time and date with a right click to switch the display, added memory as a button, memory tooltip updates realtime (5 sec) with up/down arrows, added latency tooltip with local/server and ul/dl speed, increased dropdown menu font size, added option to scale the size of bar and font, added memory click to force garbage collection, added fps tooltip to show min/max/avg, upgraded xp tooltip. xp now shows xp per hour, time to level, kills/quests/gathering to level based on an average. xp/armor/lag/fps now shows data from your party if they have Glance.

Maybe I'm just not finding it... but I would like to just see gold on the server... or at least how to remove characters from the list since it's showing names of toons that do not exist anymore from server transfers/name changes. Can someone tell me if its possible to remove them and how to do so?

hi, using glance from today on. before i have had these kind of information displayed with bazooka and several ldb-brokers. nice, one addon with a conf "for all"...
... mh ... not at all

here are my suggestions:

- modules:
-- bag space (see free/total bag space)

- conf enhacements
-- switch for clock 12/24h display [coming from germany and i cant' get it with this am/pm ]
-- background texture and coloring, even so for border [i changed it myself in .lua to 'nothing']
-- switch display for 'gold this session' and 'gold per hour' [i don't see a need for this]

- tooltip enhacements
-- 'guild' show online members, level, location, notes [get rid of clicks to see who is on]
-- 'friends' show online friends, char, level, location, notes [see above]
-- 'emblems' show the emblems of all chars - similar to 'gold' [who can afford some for mats?]

what do you think?
of course these ideas are not new, there all taken from the ldb-brokers i used before.

I really don't like all modules behaving as separate addons. At least they should be next to each other in the addon management list: e.g. not Reputation, but Glance: Reputation or someting like that. But even like that I don't like such a small addon taking so much space in the addon list.

This is great work! I've played with it briefly and it's already nudged me towards getting rid of all my brokers

I was wondering if you plan on changing it's current method of display in the future? Currently, all the module are displayed on the bar but I was curious if you plan on changing it so that they become free floating blocks (like SLDT)?

Regardless, great work! Trying to figure out how to incorporate your addon into my UI

Thanks for the terrific addon, I like this one a lot! I'm having some troubles with it though and am wondering if you could help. It works great until I try and organize the modules, sometimes I'll try and slide them to one side and they will all end up being underneath each other, or the fps one won't move at all, and I'll get error messages saying that one is dependent upon the other, like the dual spec is dependent on the location or something, it gets kinda frustrating. Then sometimes I'll get them exactly how I want them, and relog back in and it will just say loading forever in the middle of the bar until I start deselecting and selecting modules. I really want to continue to use this addon, but this issue is making it difficult too, any help you could offer would be great, thanks!

Hey, I love the addon, but just one thing I noticed: since MOP the addon won't consistently summon a proper water mount, because the command it looks for it is "turtle" and there are now a bunch of Pandaren ground mounts that have the word "turtle" in the name. I don't have one yet, but I assume it also doesn't summon the water strider? Anyway, so whenever I'm in water I have a 1 in 13 chance of actually summoning my sea turtle. I tried changing the lines in Mounts.lua and Mounts3.lua saying "turtle" to "sea turtle" or "Sea Turtle" but that just made it so now I have 0 mounts under the swimming mounts section. My temporary fix is to just uncheck all the dragon turtle mounts so that I can't mount them at all, but I'd like to see them randomly pop up as normal ground mounts, and not pop up as swimming mounts.

@Phanx: It's a good point. When I wrote this over two and a half years ago I had no idea what a data broker was, and honestly, had I known about Titan Panel I wouldn't have written it. Had I understood LibDataBroker at the time I wouldn't have created my own methods and re-invented the wheel. And really, no one seems interested in writing modules for it so maybe I'll just scrap that part of the description all together. Thanks for the input.

I love this addon, but every time I log a character in, Glance says there was a duplicate entry for button order and resets the order of the modules to the default order and default side. Any idea what's causing this, and how to fix it?

@airwg Sorry I took so long to get back to you. The problem you are experiencing is a fix for a bug several versions ago. It should only happen once. I suspect perhaps that your SavedVariables folder may be set to ReadOnly. Go into your World of Warcraft folder and go to \WTF\Account\[YOURACCOUNTNAME]\SavedVariables and delete the Glance.lua file. That will take care of the saved profile. Also delete the \WTF\Account\[YOURACCOUNTNAME]\[REALM]\[TOON]\SavedVariables\Glance.lua file. It's a pain, but this will force Glance to recreate the settings using the proper order, and it shouldn't give you problems after. If you still have issues, let me know and I'll figure out something else for you.