FlightGear Qt launcher: Difference between revisions

Jump to navigation Jump to search
Line 108: Line 108:
{{FGCquote|1= Note that as the QtLauncher transitions into a full GUI to replace the PUI GUI, many of these issues will disappear, and new ones will appear. In any case, debugging a modern GUI is much harder than debugging the non-GUI parts. A basic knowledge of threading, locks, and racing is quite useful for understanding and catching these bugs.|2= {{cite web  | url    = http://sourceforge.net/p/flightgear/mailman/message/34431801/  | title  = <nowiki>Re: [Flightgear-devel] Debug build / crash on exit</nowiki>  | author = <nowiki>Edward d'Auvergne</nowiki>  | date  = Sep 4th, 2015  }}}}
{{FGCquote|1= Note that as the QtLauncher transitions into a full GUI to replace the PUI GUI, many of these issues will disappear, and new ones will appear. In any case, debugging a modern GUI is much harder than debugging the non-GUI parts. A basic knowledge of threading, locks, and racing is quite useful for understanding and catching these bugs.|2= {{cite web  | url    = http://sourceforge.net/p/flightgear/mailman/message/34431801/  | title  = <nowiki>Re: [Flightgear-devel] Debug build / crash on exit</nowiki>  | author = <nowiki>Edward d'Auvergne</nowiki>  | date  = Sep 4th, 2015  }}}}


{{FGCquote
|1= One concern I have though, from the discussions over the last year, is that the PUI->Qt migration plan is not a direct one-to-one migration. I.e. to have a main Qt window providing the main FlightGear window by containing a top menu bar followed by a QtWindow GL widget underneath, in which the FG main execution loop is run as a thread from within the Qt main loop. My impression was that the GUI will be a secondary window or dialog that you have to switch to. But one problem I see with this design is that all modern GUI toolkits (Qt, GTK, metro, Cacoa, Carbon, etc.) suffer from racing and segfaulting issues if the GUI main thread or main loop/event handler is not thread number 1.
|2= {{cite web
  | url    = http://sourceforge.net/p/flightgear/mailman/message/34536197/
  | title  = <nowiki>Re: [Flightgear-devel] GUI questions (again)</nowiki>
  | author = <nowiki>Edward d'Auvergne</nowiki>
  | date  = Oct 13th, 2015
  }}
}}
<references/>
<references/>


Navigation menu