Author Topic: Visio Online: getPosition returns (X, X) instead of (X, Y)  (Read 7528 times)

0 Members and 1 Guest are viewing this topic.

Nikolay

  • Hero Member
  • *****
  • Posts: 1073
    • UnmanagedVisio
Visio Online: getPosition returns (X, X) instead of (X, Y)
« on: July 10, 2020, 06:12:40 PM »
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
« Last Edit: July 10, 2020, 06:14:58 PM by Nikolay »

Visisthebest

  • Sr. Member
  • ****
  • Posts: 494
Re: Visio Online: getPosition returns (X, X) instead of (X, Y)
« Reply #1 on: July 11, 2020, 06:35:14 AM »
Following! :D
Visio 2021 Professional

Visisthebest

  • Sr. Member
  • ****
  • Posts: 494
Re: Visio Online: getPosition returns (X, X) instead of (X, Y)
« Reply #2 on: February 19, 2021, 10:14:23 AM »
Is this issue still not fixed?
Visio 2021 Professional

Nikolay

  • Hero Member
  • *****
  • Posts: 1073
    • UnmanagedVisio
Re: Visio Online: getPosition returns (X, X) instead of (X, Y)
« Reply #3 on: February 19, 2021, 10:40:56 AM »
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

  • Sr. Member
  • ****
  • Posts: 494
Re: Visio Online: getPosition returns (X, X) instead of (X, Y)
« Reply #4 on: February 20, 2021, 06:03:15 AM »
That is awfully slow for such a significant issue, MS needs to do better.
Visio 2021 Professional