Bug? Version 8.50 - F7 "Rename to" is missing

LucaMs

Expert
Licensed User
Longtime User
It should be there. It appears at the bottom of the tab.
I know but it was missing.

After changing the name of a variable manually (yesterday), opening now that project... "rename to" is there" šŸ˜®

If I remember correctly, after noticing its absence using that project, I had created a new project just to look for it and I had confirmation that it wasn't there.
 

LucaMs

Expert
Licensed User
Longtime User
1595925877538.png


Opening a previous version of that project.
 

LucaMs

Expert
Licensed User
Longtime User
What happens when you click F7 on a variable?
What I wrote: "Rename to" is missing. But testing again...

B4X:
Sub Class_Globals
    Private ws As WebSocket
    Private Const TEXTMSG_MAXSIZE As Int = 262144
    Public RemoteIP As String

It is missing only if I press F7 on the ws variable, on the constant and RemoteIP "Rename to" appears.
 

LucaMs

Expert
Licensed User
Longtime User
What I wrote: "Rename to" is missing. But testing again...

B4X:
Sub Class_Globals
    Private ws As WebSocket
    Private Const TEXTMSG_MAXSIZE As Int = 262144
    Public RemoteIP As String

It is missing only if I press F7 on the ws variable, on the constant and RemoteIP "Rename to" appears.
it is not caused by the websocket type (I tried to create a new variable of this type and with this the problem does not arise).

After, just for test, I duplicated that line ("Private ws...") using CTRL+D, changed the ws name to ws2 (to have two websocket variables) and again only if I press on ws "Rename to" does not appear.
 

LucaMs

Expert
Licensed User
Longtime User
Last test.

Changed ws to ws1 manually (everywhere), pressed F7 on ws1 and "Rename to" now is shown.

So... I think we cannot know what happens and we can forget it; it is just a very strange exception.
 
Top