Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Rider: Tool Window Arrangement State is shared between projects opened at the same time
Der-Albert.com
#1 Posted : Wednesday, October 2, 2024 8:27:57 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 209

Thanks: 11 times
Was thanked: 55 time(s) in 51 post(s)
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))

  1. open the NCrunch Tests Window in Project A
  2. Click Rider Main Windows Project B to activate
  3. NCrunch Test Windows automatic opens for Project B before the Project A NCrunch Windows
  4. close the NCrunch Test Windows for Project B
  5. Click Rider Main Windows Project A to activate
  6. NCrunch Test Windows automatic closes for Project A
  7. 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.
Der-Albert.com
#2 Posted : Wednesday, October 2, 2024 8:35:46 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 209

Thanks: 11 times
Was thanked: 55 time(s) in 51 post(s)
And yes, sometimes i have more Projects Open, then it is even more like Whac-A-Mole
Remco
#3 Posted : Wednesday, October 2, 2024 11:31:45 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
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.
Remco
#4 Posted : Thursday, October 3, 2024 11:55:29 AM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
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.
Der-Albert.com
#5 Posted : Thursday, October 3, 2024 12:25:57 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 209

Thanks: 11 times
Was thanked: 55 time(s) in 51 post(s)
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.
1 user thanked Der-Albert.com for this useful post.
Remco on 10/3/2024(UTC)
Der-Albert.com
#6 Posted : Monday, October 7, 2024 2:13:29 PM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 209

Thanks: 11 times
Was thanked: 55 time(s) in 51 post(s)
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.
Remco
#7 Posted : Monday, October 7, 2024 11:12:49 PM(UTC)
Rank: NCrunch Developer

Groups: Administrators
Joined: 4/16/2011(UTC)
Posts: 7,161

Thanks: 964 times
Was thanked: 1296 time(s) in 1202 post(s)
Der-Albert.com;17651 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 :)
Der-Albert.com
#8 Posted : Thursday, October 17, 2024 9:47:08 AM(UTC)
Rank: Advanced Member

Groups: Registered
Joined: 5/17/2011(UTC)
Posts: 209

Thanks: 11 times
Was thanked: 55 time(s) in 51 post(s)
Solved the Layout Problem by switching my Main Monitor to a 3:2 Aspect Ratio ;)
1 user thanked Der-Albert.com for this useful post.
Remco on 10/17/2024(UTC)
Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

YAF | YAF © 2003-2011, Yet Another Forum.NET
This page was generated in 0.061 seconds.
Trial NCrunch
Take NCrunch for a spin
Do your fingers a favour and supercharge your testing workflow
Free Download