Right-clicking a tab, Reload current document, can load the wrong file!

Report issues, odd behaviors or submit a detailed bug report.
Post Reply
inspector71
Posts: 114
Joined: 22 Sep 2017 07:59

Right-clicking a tab, Reload current document, can load the wrong file!

Post by inspector71 » 12 Jul 2018 08:26

Hi

This is a bit of a tricky one to describe. Especially since it kinda involves a teeny bit of laziness!

If I have two tabs open, and I want to access the right-click menu for the inactive tab, in many programs when I hover over the inactive tab and right-click, the inactive tab then becomes active and the right-click menu context is set to that tab.

If I then hit "Reload current document" current document should be loaded in the now-active tab.

Instead, we have a rather weird problem:

The inactive tab's file is loaded in the active tab!

I guess the simplest way to solve this is to ensure whichever tab is under the cursor gets selected when users right-click. I think that's common behaviour on many platforms and in many apps but perhaps RJTE uses a different set of UX components I've not frequently used and / or lack some common defaults.

Please let me know if I can help. I'd add a demo but it would probably require video which can be a little fiddly. Nonetheless, if that is needed and would help, I'd try to sort it out for you.

Thanks!

Post Reply