showloc=n not working

Issue #32 resolved
Former user created an issue

Useing RLV 2.7.4.1

If you open the mini location bar showloc=n correctly closes it, however this simply moves the current location to the main menu bar, where it is not hidden.

If prior to the showloc=n command you had open and then closed the moni location bar, the location will be displayed in the main menu bar and the command does not hide it.

In addition if navigation and favourites bar is open, the current location is no hidden by the showloc=n command.

Comments (9)

  1. Marine Kelley repo owner
    • changed status to open

    Thanks for the reporting the issue. However I did all that I could, including looking deep into the code, I cannot for the life of me reproduce this bug following the steps you wrote. Does it also do that on RLV 2.7.3.3 ?

  2. Alan Glover

    Also seen with someone else (who I've pointed directly to Marine). I can't repro it myself solidly though - still trying.

    During my attempts to repro so far I have seen the region name not get obscured when it should have done once, so there's something going wrong, but I couldn't repeat it.

    At the risk of distracting from the real bug, I also discovered a couple of holes that should be plugged in time during my attempts to find a solid repro. While showloc is unrestricted open About Land and Place Profile (the latter by clicking on the "i" in the location data) when showloc is then restricted both these remain open and continue to show the region name. Maybe both should be closed if they're on screen when showloc=n is applied.

    I'll keep trying for a solid repro...

  3. Alan Glover

    Trying to repro on a different computer. No progress yet on the main bug here, however now About Land "loses focus" (ie the land is deselected) when showloc=n is applied, so ignore what I said about that before. Place Profile is still a loophole though.

  4. Alan Glover

    Another minor loophole - on the Region/Estate window (available from Place Profile and others), the Covenant and Region tabs show the region name and this isn't hidden or closed when showloc=n takes effect, however it cannot be opened after showloc=n is in effect

  5. Alan Glover

    At last... a solid repro :-)

    2.7.4.1 - if World -> Show -> Co-ordinates is on then showloc works as expected. If World -> Show -> Co-ordinates is turned off then showloc=n does not hide anything on the top displays (although other functionality like intercepting the return from llGetRegionName() for hud hovertext does work)

    Someone else please check and confirm this too...

  6. Alan Glover

    I just got the person who originally brought this problem to my attention to try the World > Show > Coordinates switch and they also see the same behaviour

  7. Marine Kelley repo owner
    • removed assignee
    • changed status to resolved

    Thanks all for the repro ! After a few hours of debugging, I could finally fix this "little" bug. It was due to the fact that the location info was refreshed every cycle only when the coordinates were shown. A few fixes here and there, and now the bug is fixed in 2.7.4.2.

    Please note that the bug and the fix had nothing to do with https://bitbucket.org/marinekelley/rlv/issue/23/showloc-n-doesnt-hide-the-sim-x-y-z , the bug was alive before and was not impacted by the fix to that other issue.

    About Chorazin's comment #4, yes I am aware that the Region/Estate window is not impacted by @showloc, except when trying to actually bring it up. As a result, it does not close when @showloc is issued but won't show up again after being closed. I did it this way because Region/Estate is a work window, the user could be doing something (returning stuff for example, or changing access) right when the command is issued, and that could create problems. That's why I don't want to change that, even if it does look like a minor loophole.

  8. Log in to comment