pydm icon indicating copy to clipboard operation
pydm copied to clipboard

PyDMRelatedDisplay - Bring to Front when New Window already exists

Open hhslepicka opened this issue 3 years ago • 5 comments

Describe the bug When using the Related Display button and the Open in New Window option is checked, a new window is always created when clicking the button.

Expected behavior When clicking the button, if the window still exists, bring it to the front.

hhslepicka avatar Jul 14 '20 18:07 hhslepicka

I disagree with this being a bug. I want the ability to open up multiple instances of the same display, and use it frequently.

--Matt

On Jul 14, 2020, at 11:10, Hugo Slepicka [email protected] wrote:

 Describe the bug When using the Related Display button and the Open in New Window option is checked, a new window is always created when clicking the button.

Expected behavior When clicking the button, if the window still exists, bring it to the front.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.

mattgibbs avatar Jul 14 '20 18:07 mattgibbs

Why would you open multiple times the same screen with the absolute same information?

hhslepicka avatar Jul 14 '20 19:07 hhslepicka

Could it be an option or a dialog that pops up asking if you really want a new window when one is already there?

klauer avatar Jul 31 '20 22:07 klauer

I am okay with adding an option (bringExistingToFront) or some other name that makes sense... and default it to False to keep existing behavior.

hhslepicka avatar Jul 31 '20 22:07 hhslepicka

Adding to this old issue - I would like to have the option. In EDM it's the 'Dups Allowed' checkbox that is unchecked by default.

Like Matt, I often open multiple instances of the same display, especially when it's a template that I use for many devices and I want to display some of them side by side.

slactasha avatar Sep 09 '21 20:09 slactasha