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

Visio Online: getPosition returns (X, X) instead of (X, Y)

Started by Nikolay, July 10, 2020, 11:12:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Nikolay

Just wondering if anybody is using Visio Online JavaScript API?

Today faced an odd issue: if I call "page.view.getPosition", it is supposed to return (X, Y) coordinates.
But it actually returns doubled X! Like (X, X). Seriously?

Guys, this is already a bit embarrassing IMHO
Or maybe I am missing something?

Created GitHub issue:
https://github.com/OfficeDev/office-js/issues/1275

Visisthebest

Visio 2021 Professional

Visisthebest

Visio 2021 Professional

Nikolay

I have not checked, but the GitHub issue seems to be still open. One doesn't simply walk into Mordor replace one character, one needs a multi-level review and approval process, I guess ;D

Visisthebest

That is awfully slow for such a significant issue, MS needs to do better.
Visio 2021 Professional

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: 220 (show)
Files included: 34 - 1306KB. (show)
Memory used: 1095KB.
Tokens: post-login.
Cache hits: 13: 0.00173s for 26,724 bytes (show)
Cache misses: 3: (show)
Queries used: 18.

[Show Queries]