-
Notifications
You must be signed in to change notification settings - Fork 177
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Start Smokeview window on active monitor #1825
Comments
Ir is raining, ill take a look.
…On Wed, Mar 6, 2024, 5:01 PM Randy McDermott ***@***.***> wrote:
Not sure if this is possible to control, but now that my "main" monitor is
a laptop and usually pushed off to the side, I have to go hunt for my
Smokeview window whenever I launch a case from a terminal on another
monitor. Wonder if it is possible to start Smokeview on the monitor where
the terminal is located? Not urgent--rainy day enhancement request.
—
Reply to this email directly, view it on GitHub
<#1825>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC6UCRWMP4NNI4LISLS6BA3YW6G2VAVCNFSM6AAAAABEJ3NI4GVHI2DSMVQWIX3LMV43ASLTON2WKOZSGE3TENJRGEYTIMI>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
don't know how to control which monitor to display a window at startup but I can control the screen coordinates where a window is placed. on a PC with a multi-montitor setup the screen coordinates of all monitors are merged into one large virtual montitor so I can place a window anywhere within this space. more specifically I added -x0 and -y0 command line parameters to specify the smokeview window coordinates used to place the window at startup.
|
OK, I'll play with this once the test version is available. This is a step in the right direction. Thanks for the efforts. The point in the long run is to first figure out which display Smokeview is being launched from (an explorer on Windows or a terminal on linux/macOS), determine the extents of that monitor, and then set the x0 and y0 for smv startup dynamically. If I set my x0 and y0 to be my middle monitor at my desk, then it will not show up when I am just using my laptop at home, or else I'd have to have two versions (aliases) of Smokeview. |
yes, if -x0 -y0 works for multi monitors, you'll need to have 2 aliases.
don't see a way to determine which monitor a command shell resides in when
you launch smokeview
…On Thu, Mar 7, 2024 at 9:49 AM Randy McDermott ***@***.***> wrote:
OK, I'll play with this once the test version is available. This is a step
in the right direction. Thanks for the efforts. The point in the long run
is to first figure out which display Smokeview is being launched from (an
explorer on Windows or a terminal on linux/macOS), determine the extents of
that monitor, and then set the x0 and y0 for smv startup dynamically. If I
set my x0 and y0 to be my middle monitor at my desk, then it will not show
up when I am just using my laptop at home, or else I'd have to have two
versions (aliases) of Smokeview.
—
Reply to this email directly, view it on GitHub
<#1825 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC6UCRWUUIJBXTFGJXO5TFLYXB465AVCNFSM6AAAAABEJ3NI4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSOBTGY3DMNZSGE>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Glenn Forney
|
when you have time, let's use the show screen option to see what smokeview thinks theupper left and lower right coordinates of all your monitors are. I might be able to do something dynamically that would work for your two use cases |
This works! Thanks |
Actually, just testing this some more... when you open a dialog the window shows up in the original position, not relative to the new origin. For example, right-click >> Motion/View/Render, and the dialog shows up on the original monitor. |
I'll take a look
…On Fri, Mar 15, 2024 at 2:59 PM Randy McDermott ***@***.***> wrote:
Actually, just testing this some more... when you open a dialog the window
shows up in the original position, not relative to the new origin. For
example, right-click >> Motion/View/Render, and the dialog shows up on the
original monitor.
—
Reply to this email directly, view it on GitHub
<#1825 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AC6UCRRRWJ2XNR3FM6CUK5DYYNAJ3AVCNFSM6AAAAABEJ3NI4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMBQGI3TIOJWHA>
.
You are receiving this because you commented.Message ID:
***@***.***>
--
Glenn Forney
|
Not sure if this is possible to control, but now that my "main" monitor is a laptop and usually pushed off to the side, I have to go hunt for my Smokeview window whenever I launch a case from a terminal on another monitor. Wonder if it is possible to start Smokeview on the monitor where the terminal is located? Not urgent--rainy day enhancement request.
The text was updated successfully, but these errors were encountered: