Re: Input Devices window crashing on the 'next' branch?
Israel Emmanuel <[email protected]> Wed, 3 Jun 2026 18:11:15 +0000
| Newsgroups | gmane.games.flightgear.devel |
|---|---|
| Message-ID | <BYAPR02MB4534C2AC3EB2087D10AFD068A4132@BYAPR02MB4534.namprd02.prod.outlook.com> |
Because of rendering changes on next, several of the dialog boxes are very, very broken. I haven't seen this issue with the Input Devices menu (at least not on the screen, might be in the console logs), but that dialog has not worked for me lately either. If you'd like to take a crack at making it work in next (people have been doing this for other dialogs as well), I'm sure that would be appreciated, otherwise there isn't much you can do. ________________________________ From: Gerard Krol <[email protected]> Sent: Wednesday, June 3, 2026 10:47 AM To: [email protected] <[email protected]> Subject: [Flightgear-devel] Input Devices window crashing on the 'next' branch? Hi all, I'm trying to run the 'next' branch, but even with a clean ~/.fgfs opening the Input Devices window just opens up a tiny thing in the middle of the screen, and it prints this error: 77.53 [ALRT]:nasal Nasal runtime error: No member 'items' on type 'nil' 77.53 [ALRT]:nasal at /home/gkrol/projects/flightgear-next/dnc-managed/install/flightgear/fgdata/Nasal/canvas/gui/widgets/List.nas, line 232 77.53 [ALRT]:nasal called from: /home/gkrol/projects/flightgear-next/dnc-managed/install/flightgear/fgdata/Nasal/canvas/gui/widgets/List.nas, line 166 77.53 [ALRT]:nasal called from: /home/gkrol/projects/flightgear-next/dnc-managed/install/flightgear/fgdata/Nasal/gui/XMLDialog.nas, line 1006 77.53 [ALRT]:nasal called from: /home/gkrol/projects/flightgear-next/dnc-managed/install/flightgear/fgdata/Nasal/gui/XMLDialog.nas, line 329 77.53 [ALRT]:nasal called from: /home/gkrol/projects/flightgear-next/dnc-managed/install/flightgear/fgdata/Nasal/gui/XMLDialog.nas, line 992 (I've actually improved the error message a bit, previously it just mentioned "No such member: items'") This is the code: # @description Return a vector containing all items of this list # @return vector[canvas.gui.widgets.ListItem] Vector containing all items of this list getItems: func() { return me._scrollLayout.items(); }, No immediate problems jump out, _scrollLayout seems to be created in the constructor. I do see some recent changes related to input devices in the git log though. Is this a known problem? Using FlightGear without a joystick/pedals is not going to be fun. Regards, Gerard _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel _______________________________________________ Flightgear-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/flightgear-devel