News:

BB code in posts seems to be working again!
I haven't turned on every single tag, so please let me know if there are any that are used/needed but not activated.

Main Menu

Useless events firing in Visio 2013?

Started by THartl, August 20, 2013, 08:13:17 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

THartl

Hello Visio guys,

i was just wondering if anyone else is also noticing the Events firing in Visio 2013, where definitely no Events should be fired.
Example:

- When i change a page, i got hundreds and hundreds QueueMarkerEvents which are defined in my EventXFMod cell. First i thought this might be a problem of our addin, but even with a fresh and naked Visio 2013 i can see this Events being fired with the Event Monitoring tool of the SDK.
- Also, when i save a *.vsd file under *.vsdx Format i have an enourmous amount of shapes this EventXFMod QME's fired.

The SDK says "An event cell that is evaluated when a shape's position or orientation on the page is transformed ("XF")." But why has any of this shapes Parameters changed just because i Change the page in my visio document (or when i try to save the document)?

Needless to say, that this Events are not fired when we do the same in Visio 2010, 2007 or 2003.

Of course, this makes an addin, which listen to this Events pretty unusable under Visio 2013. This is why we recommend our customers to NOT use the new Visio 2013. But i really want to know, why it behaves like this and what i can do to prevent this.

Any ideas?

Edit: These Events are only fired once, when i switch page. Once this has happened and i Change to other page and back, they are not fired anymore. On the other Hand, closing the document and doing the same, they are fired again (once).

Edit 2: I have upload a test file for you to see to skydrive:
https://skydrive.live.com/redir?resid=3F3F6B9B35F5DA1A!147&authkey=!AKy_LkSrxU4vygs
When you open the file you will be on page "EG". When you open the Visio 2013 Event Monitor and then Switch to page "OG1" you can see that every shape on this page is firing this Event.

Browser ID: smf (possibly_robot)
Templates: 4: index (default), Display (default), GenericControls (default), GenericControls (default).
Sub templates: 6: init, html_above, body_above, main, body_below, html_below.
Language files: 4: index+Modifications.english (default), Post.english (default), Editor.english (default), Drafts.english (default).
Style sheets: 4: index.css, attachments.css, jquery.sceditor.css, responsive.css.
Hooks called: 133 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1047KB.
Tokens: post-login.
Cache hits: 13: 0.00125s for 26,767 bytes (show)
Cache misses: 2: (show)
Queries used: 16.

[Show Queries]