# Double click on pins (looking for opinion)

**URL:** <https://forum.xod.io/t/double-click-on-pins-looking-for-opinion/1875>\
**Category:** Uncategorized\
**Created:** [February 15, 2019, 6:05pm UTC](https://forum.xod.io/t/double-click-on-pins-looking-for-opinion/1875 "2019-02-15T18:05:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [February 15, 2019, 6:05pm UTC](https://forum.xod.io/t/double-click-on-pins-looking-for-opinion/1875/1 "2019-02-15T18:05:46Z")

</div>

I have opened an issue on this topic, but it goes beyond the patches in the browser output-main & input-main.

> <https://github.com/xodio/xod/issues/1687>

When you double click on any of these, an empty patch opens.

But the same happens if I double click on pin output-self, number, boolean, byte, etc … it will only open an empty patch.

In my opinion it should work like the constants, where the action is to change the values or the label in the inspector.

What do you think of this?

 ![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/9bc4a7415dc451445b0171ffb1fa8731ced1845f.png)

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [February 15, 2019, 11:53pm UTC](https://forum.xod.io/t/double-click-on-pins-looking-for-opinion/1875/2 "2019-02-15T23:53:44Z")

</div>

Here another example, the important data of the pin are in inspector (value, label, description), but when double clicking (sometimes by mistake) empty patches of content are opened…

![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/e754f6dcf3bc9a30cc9728d96bb0f155a659868d.png)

It also happens with buses, although here it does not happen to me so often 🙂  
 ![image](https://canada1.discourse-cdn.com/flex027/uploads/xod/original/1X/47fa615ed9ae5ea5898c60b4e15b4d0733898579.png)

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [February 17, 2019, 4:23am UTC](https://forum.xod.io/t/double-click-on-pins-looking-for-opinion/1875/3 "2019-02-17T04:23:46Z")

</div>

Maybe for a normal XOD user, it does not matter much, but in my case I do a lot of libraries a double click takes me out of the patch, and leads to that empty patch.

The change in constants made things much easier for me.

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [February 18, 2019, 8:35am UTC](https://forum.xod.io/t/double-click-on-pins-looking-for-opinion/1875/4 "2019-02-18T08:35:49Z")

</div>

Thanks for pointing to the problem.

I agree, the current behavior when a xoder double-clicks a terminal node is questionable. The terminals are special and thus are empty inside. Double-clicking such node should better focus Inspector… And while looking at your sketches, now I’m unsure should we focus the _label_ input or the bound _value_ input?

For constants, we focus the value. It’s the main attribute of a constant. But what’s the most “default” attribute for terminal nodes? Any ideas on how to choose between the label and value?

I don’t quite understand what behavior are you suggesting on double-clicking a terminal in the project browser? No-op?

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [February 18, 2019, 12:16pm UTC](https://forum.xod.io/t/double-click-on-pins-looking-for-opinion/1875/5 "2019-02-18T12:16:30Z")

</div>

> [@nkrkv](#):
>
> For constants, we focus the value. It’s the main attribute of a constant. But what’s the most “default” attribute for terminal nodes? Any ideas on how to choose between the label and value?

Hi, although the value is important, when making a new node or library when several pins are added, the important thing is the “label”

> [@nkrkv](#):
>
> I don’t quite understand what behavior are you suggesting on double-clicking a terminal in the project browser? No-op?

Although I thought about this, here it is different, a change does not matter much, a double click could show the help (H) or do nothing. It is not very important.

thanks for answering

---

<div class="post-metadata">

**Author:** ![cesars](https://avatars.discourse-cdn.com/v4/letter/c/f05b48/32.png) [@cesars](https://forum.xod.io/u/cesars)\
**Post date:** [February 18, 2019, 12:27pm UTC](https://forum.xod.io/t/double-click-on-pins-looking-for-opinion/1875/6 "2019-02-18T12:27:58Z")

</div>

The label would be valid for everything, pins, buses and output self. The latter do not have a preset value

---

<div class="post-metadata">

**Author:** ![nkrkv](https://yyz1.discourse-cdn.com/flex027/user_avatar/forum.xod.io/nkrkv/32/8_2.png) [@nkrkv](https://forum.xod.io/u/nkrkv)\
**Post date:** [February 22, 2019, 12:02pm UTC](https://forum.xod.io/t/double-click-on-pins-looking-for-opinion/1875/7 "2019-02-22T12:02:22Z")

</div>

Makes sense, will do it.
