Create New Device - Device rename buglet?

Posted on
Sun Feb 24, 2019 9:41 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Create New Device - Device rename buglet?

This isn't a show stopper but ... :)

I f I create a new device via the New... dialogue, it is given a default name e.g. new device 4.

In my plugin, I check if the name starts with new device and if so and the user option is set to auto rename, I update the device name and do a dev.replaceOnServer() to update the name.

The name gets updated in the device listed in the Indigo devices pane. However, the name isn't updated in the Create New Device window.
When you close that dialogue and then open the Edit... dialogue the updated name is correctly shown.

Posted on
Sun Feb 24, 2019 9:55 am
FlyingDiver offline
User avatar
Posts: 7189
Joined: Jun 07, 2014
Location: Southwest Florida, USA

Re: Create New Device - Device rename buglet?

It does that on all my plugins as well.

joe (aka FlyingDiver)
my plugins: http://forums.indigodomo.com/viewforum.php?f=177

Posted on
Sun Feb 24, 2019 10:04 am
autolog offline
Posts: 3988
Joined: Sep 10, 2013
Location: West Sussex, UK [GMT aka UTC]

Re: Create New Device - Device rename buglet?

I have just discovered that It also does it on the Edit... dialogue (Edit Device) if the user elects to auto-rename having not previously done so. :)

Posted on
Sun Feb 24, 2019 1:24 pm
matt (support) offline
Site Admin
User avatar
Posts: 21411
Joined: Jan 27, 2003
Location: Texas

Re: Create New Device - Device rename buglet?

Thanks for the bug report. I know why this is happening (device UI is editing a snapshot of the device and doesn't get pushed live updates from the server), so we'll see if there is an easy way to get better updating working.

Image

Page 1 of 1

Who is online

Users browsing this forum: No registered users and 1 guest