Board index FlightGear Support Hardware

Undocking Windows

Joysticks, pedals, monitors.

Undocking Windows

Postby KevinBerry » Mon Apr 19, 2021 7:12 pm

Is there a way to undock windows so that I can for example keep the control panel view open outside the main FlightGear window. I have one large monitor with plenty of room for this without using multiple physical monitors.
Thank you!
KevinBerry
 
Posts: 3
Joined: Mon Apr 19, 2021 7:03 pm

Re: Undocking Windows

Postby KevinBerry » Tue Apr 20, 2021 4:09 am

It would be nice to undock a window, but I discovered my Cessna 172 I'm flying has an option to display the flight panel in a web browser window, which is really nice. To do this, just start FlighGear with the command line parameter of --httpd=8080. I'm guessing this works with all or some other planes too.

With Linux, I just put the line below in a text file named "fly", and marked the file executable. Then I just type "./fly &" at a command prompt, and after FlighGear starts, I choose "Panel in a Browser" under the Cessna 172 menu, and the control panel opens in a separate web browser window.

./FlightGear-2020.3.8-x86_64.AppImage --httpd=8080
KevinBerry
 
Posts: 3
Joined: Mon Apr 19, 2021 7:03 pm

Re: Undocking Windows

Postby wkitty42 » Tue Apr 20, 2021 6:53 pm

FWIW: the windows are not "docked"... they live completely inside the current interface... in the future, though, having multiple windows will most likely be a thing... then you can, for instance, have multiple views of your craft...
"You get more air close to the ground," said Angalo. "I read that in a book. You get lots of air low down, and not much when you go up."
"Why not?" said Gurder.
"Dunno. It's frightened of heights, I guess."
User avatar
wkitty42
 
Posts: 9148
Joined: Fri Feb 20, 2015 4:46 pm
Location: central NC, USA
Callsign: wk42
Version: git next
OS: Kubuntu 20.04

Re: Undocking Windows

Postby Hooray » Tue Apr 20, 2021 7:19 pm

FlightGear does support multiple windows - however, the current GUI cannot make use of that feature.

The Canvas system could relatively easily support placements in separate Windows, and that is in fact something that was originally planned.
Furthermore, there's currently ongoing work to implement/improve CompositeViewer support, which is basically about multi-window/multi-viewer setups:

https://wiki.flightgear.org/CompositeViewer_Support
Image

Again, in its current form, this does not include support for the GUI (PUI) - however, a dedicated Canvas placement for "pop-out" windows is indeed a recurring feature request: https://wiki.flightgear.org/Canvas_Popout_Windows

In particular, that would also mean that Canvas based avionics (like the FG1000) could not just be shown inside the cockpit or in Canvas GUI dialogs, but also inside dedicated OSG windows, e.g. to display such avionics on dedicated screens, possibly even using a dedicated GPU:

https://wiki.flightgear.org/FG1000
Image

If in doubt, please file a proper feature request here: https://sourceforge.net/p/flightgear/codetickets/
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU

Re: Undocking Windows

Postby KevinBerry » Tue Apr 20, 2021 10:44 pm

Hoorey and Wkitty42, thank you both for the update! This is all good to know, and I'm sure others will appreciate the links and informaton on this topic.
KevinBerry
 
Posts: 3
Joined: Mon Apr 19, 2021 7:03 pm

Re: Undocking Windows

Postby Hooray » Wed Apr 21, 2021 10:23 am

As has been said, Phi/mongoose and FGQCanvas would be other options to display /some/ FlightGear stuff in separate windows.
Please don't send support requests by PM, instead post your questions on the forum so that all users can contribute and benefit
Thanks & all the best,
Hooray
Help write next month's newsletter !
pui2canvas | MapStructure | Canvas Development | Programming resources
Hooray
 
Posts: 12707
Joined: Tue Mar 25, 2008 9:40 am
Pronouns: THOU


Return to Hardware

Who is online

Users browsing this forum: No registered users and 4 guests