Zhorn Software
Would you like to react to this message? Create an account in a few clicks or log in to continue.

Go down
avatar
LaurentG
Posts : 26
Join date : 2020-01-16

Strange behaviour of network received notes. Is it a bug ? Empty Strange behaviour of network received notes. Is it a bug ?

Fri Dec 04, 2020 8:23 pm
I'm now using the Sticky.exe tool (see here https://www.zhornsoftware.co.uk/stickies/tools.html) to create stickies from within other applications and scripts.

This tool actually sends (via network) notes to designed target host.
The "normal" way is then to send the note to 127.0.0.1, ie.  the machine on which the command is executed. And it works.

But if the note is rather sent to the actual IP address of the same machine (eg. 192.168.1.xxx), it works too but result is different.

In the first case, parameters specified in Settings/Network in Receiving paragraph are NOT applied, and the note is not created with the "on Top" set
While in the second case, these parameters are applied, and the note is created "on Top"

Why these two different behaviours ? Is it a bug ?

Pls notice that in both cases, the created note "knows" it comes from network, since its "Source" attribute is set (while it is not for "local" notes)
Admin
Admin
Admin
Posts : 277
Join date : 2018-03-30
Location : London
http://www.zhornsoftware.co.uk

Strange behaviour of network received notes. Is it a bug ? Empty Re: Strange behaviour of network received notes. Is it a bug ?

Sun Dec 13, 2020 12:58 pm
That's "by design" behaviour.

If you use the loopback interface (127.0.0.1) then Stickies will treat the note like one created within the app.  The note can only have been created from the same machine, so it's a local operation.

However a note coming in over the NIC address might have come from the local machine, yes, but it also may have come from some other computer.  In that case Stickies treats it like an incoming network note from someone else, which means it gets set on-top so that the user catches sight of a new message.

Tom
avatar
LaurentG
Posts : 26
Join date : 2020-01-16

Strange behaviour of network received notes. Is it a bug ? Empty Re: Strange behaviour of network received notes. Is it a bug ?

Sun Dec 13, 2020 8:08 pm
OK, thanks. Clear.
Sponsored content

Strange behaviour of network received notes. Is it a bug ? Empty Re: Strange behaviour of network received notes. Is it a bug ?

Back to top
Permissions in this forum:
You can reply to topics in this forum