Daily Usage Issues

Rider: Tool Window Arrangement State is shared between projects opened at the same time

Started by Der-Albert.com on 2,359 views

Hi,

This bothers me for a long time, but often thought it was my error ;).

I have normally my NCrunch Testing Window as Window.

Opening Two Projects (one of them has NCrunch enabled (A), the other has not (B))
[list=1]
  • open the NCrunch Tests Window in Project A
  • Click Rider Main Windows Project B to activate
  • NCrunch Test Windows automatic opens for Project B before the Project A NCrunch Windows
  • close the NCrunch Test Windows for Project B
  • Click Rider Main Windows Project A to activate
  • NCrunch Test Windows automatic closes for Project A
  • goto 1 ;)

  • The same behavior is also when the Tool Window is in ViewMode Dock, but then just docked.

    The Test Window is just an example, this is for all NCrunch Tool Windows.

    Edited

    And yes, sometimes i have more Projects Open, then it is even more like Whac-A-Mole
    Thanks for sharing this.

    We've been tracking cross-instance problems like this for a while now. Rider is a bit unique in that to have multiple sessions open at one time, you need to start one session and then open other sessions from that first session. This causes environment variables to propagate between sessions and can cause some very interesting behaviour as the instances end up with crosstalk.

    I think that we've managed to track down the issues that come from this within NCrunch itself, but we've still been getting some reports of them related to areas that NCrunch itself isn't directly responsible for. I've logged this with JB to see if they are able to check their side. It's a pretty annoying problem, and we've found it quite hard to reproduce ourselves.
    Jetbrains have responded here with the following:

    This is likely RIDER-116113, a known regression we are planning to fix soon.

    Additionally, please be aware that
    - Rider has a mode enabled by default that syncs the tool window states between opened solutions (unique among IntelliJ products)
    - This mode is known to be buggy
    - We are planning to rework it so it doesn't sync the tool windows in runtime, but only on solution opening (thus liquidating most of the known problems)
    - But what you see is most likely a bug we'll fix soon. For now, you may offer the users a workaround of disabling the flag Window → Layout Settings → Use the Same Layout for All Projects.
    Yes, it's only one Rider Instance at all.

    The Sync is ok for me and needed. Because otherwise I will be get lost if every Project has its custom Layout (which will happen over Time because I'm not clever enough to keep them consistent).

    And this is not a NCrunch Problem ... sorry for that.

    It's because NCrunch is the Only Window I pop out. Because I would like to "see" the results all the time, and it takes too much space in the height to see the problems, maybe I need just to change to a horizontal layout (just discovered this, because i search for it now). Will keep you updated.

    Edited

    Just an update, worked some days with the horizontal split. I can live with the that. Sorry for this "Bug" report.

    On the Plus side, the docked Test Windows does not steal my keystrokes anymore (like the DELETE/BACKSPACE Key in an Input Field). Before that, I had occasionally Dock and Undock the NCrunch Tool Windows (also with 5.10) to finish the input.

    Edited

    Der-Albert.com wrote:
    On the Plus side, the docked Test Windows does not steal my keystrokes anymore (like the DELETE/BACKSPACE Key in an Input Field). Before that, I had occasionally Dock and Undock the NCrunch Tool Windows (also with 5.10) to finish the input.


    I'd like to say that this is the result of our bug fixing, but I think credit here belongs with JB. The wormhole tech of theirs we are using to integrate our tool windows is becoming more stable :)
    Solved the Layout Problem by switching my Main Monitor to a 3:2 Aspect Ratio ;)

    Post a reply

    Log in to reply.