Hmm, Google has just told me that GTK2 doesn't support Wayland so forget my suggestion to try it! I'll have to figure out how to move Golly to GTK3.
You're building Golly with GTK3? Our build docs say to use GTK2 so I'm wondering if that explains the problems with the Prefs dialog and the Help window. Are you able to rebuild wxGTK (and thus Golly) with GTK2? You'd probably need to install the GTK2 libs via "sudo apt-get install libgtk2.0-dev" or however wayland does it, and then run wxGTK's "../configure --with-gtk=2 etc...". I'd like to move to GTK3 but when I've tried that on my Mint 20 system I end up with a Golly that won't even start up...
All other dialogs work fine. There's a remaining issue: The Help subwindows cannot display under wayland. This seems to be a compatible issue with GTK3+wayland, and I can't find a good way to solve that.
There are quite a few modal dialogs in Golly: Set Generation, Set Base Step, Set Rule in the Control menu, and Name Layer, Set Layer Colors in the Layer menu. Do you see any problems with those dialogs?
Thanks for the question. To be honest these fixes are all done by copilot with GPT-5.4-xhigh, and I just tested it to see if the desired behavior is achieved. These are the two issues that troubled me for a long time, and I happened to decide to get it fixed by myself, with the help of the coding agents. I am not a professional programmer. (I know some coding, though, but not familiar with the C gui, GTK, etc.). I tried my best to keep the code change narrow, and make sure that I don't break anything...
Hi! Much thanks for making those GTK improvements to Golly. I'm happy to include the fix for the dark-theme colors but I have a question about the changes to the Prefs dialog. In wxprefs.cpp I see that you have deleted most of the calls to SetFocus and SetSelection(ALL_TEXT). Were those calls causing problems with GTK? Or is it considered non standard on Linux to automatically select editable text in a modal dialog?
Fix GTK dark-theme file tree colors and Preferences dialog handling
Better detection and reporting of errors in the table/tree data in a .rule file.
the geturl command can optionally unzip a downloaded zip file
tidied up some out-of-date Python installation docs
the getfiles command now returns nil if the given directory doesn't exist
added download.lua and documented recent changes
I tried running for about 6 hours but I couldn't reproduce the failure. Is it possible that the bug is caused by bad hardware? Can you try running a tool like memtest86+ for several hours, and see if it finds any errors? I think there are two reasons to suspect this: The invalid address 0x4000000000 happens to be a null pointer with a single bit flipped. This looks like a symptom of faulty memory, rather than a typical memory error like use-after-free. When you ran the unoptimized binary, the error...
hashlife segfaulted
implemented a geturl function so Lua scripts can download a file from a given URL
added disable-arttango to the configure options for building wxWidgets on macOS (avoids ugly icons in file panel)
removed the AGL framework from makefile-mac (no longer needed)
Merge branch 'master' of ssh://git.code.sf.net/p/golly/code into master
fixed problem on Windows when opening clipboard data containing a local @RULE
fixed rule parser not allowing hensel format rules without a slash
updated Golly version to 5.0
minor improvements to help for bounded grids
updated Golly version to 5.0b1
increased the maximum grid size in the LtL algo to 1 billion cells
Added Add Folder and Remove Folder commands to the File menu.
deleted RuleTableToTree.cpp and removed related build steps from makefiles
fixed problem with tool bar buttons on Linux (need to be bigger to avoid clipping some bitmaps)
reverted button changes (wxBORDER_NONE is not good on Windows and very bad on Linux)
cosmetic improvements to toolbar buttons (still a work in progress)
That means there is no known .rule file for the rule specified in your clipboard. If you tell us what that rule is then we might be able to help. Or post the clipboard data here.
safeopenclip.lua rule download fails
documented recent changes
similar faster scrolling in gui-common code
faster scrolling when using arrow keys
Made random fill use C++11's Mersenne Twister for random fill, rather
webGolly: added Stop If Dead option to the Control menu
webGolly: added Show XY State option to the View menu
added support for @NAMES to webGolly
Not possible at this stage, and I'm struggling to see why it would be all that useful.
Can a script be run repeatedly while Golly is idle?
minor doc changes as suggested by DEK
documented recent changes
use a simpler way to check for RuleLoader algo
fixed problem with @RULE offset on Windows
added support for @RULE data in a .rle file
fixed crash due to RuleLoader changes
RuleLoader algo no longer tries to load a .table/tree file
dropped support for .table/tree/colors/icons files and removed Convert Old Rules command from Control menu
updated ToDo.html
added names and colors to Worm-shared.rule
Added a Show XY State option to the View menu.
added -/+ buttons to the help window for changing the text size
fixed cosmetic problems with edit bar on macOS
fixed cosmetic problems with edit bar on Windows
fixed cosmetic problems in edit bar on Linux
Added support for @NAMES in a .rule file.
Added a Stop If Dead option to the Control menu.
updated Golly version and copyright date
added new application icon
updated Lua to version 5.4.8
improved the directory icons in the macOS app
prevent Reset being called via keyboard shortcut while mouse is drawing or selecting cells
Fixed a problem with the About dialog in the macOS app.
Fixed a couple of cosmetic problems with state boxes in the macOS app.
fix parsing issue for non-totalistic rules with just one of survival or birth specified
Android Golly: updated version, copyright date, changes
android Golly: updated Gradle version and AGP dependency
Fix for Android 15
Fix for Android 15
Fix for Android 15
Pass -lglfw to the C compiler for the web wasm build
Pass -lglfw to the C compiler for the web wasm build
updated release date to October (need to do a new Mac release that avoids crashing due to icon bug)
fix crash when freeing icons
fix compiler warning on Linux gcc 13.2.0
updated changes.html to mention fix for crash on Silicon Macs
build macOS app using wxOSX 3.2.6 to avoid cursor problems in Help window on Sonoma
iPad Golly: updated Changes
iPad Golly: removed some deprecated methods that are no longer needed
iPad Golly: fixed cosmetic problem in Settings tab
iPad Golly: Warning calls will no longer freeze the app
iPad Golly: updated version to 1.5
iPad Golly: rule files are now displayed alphabetically
iPad Golly: fixed freezes in SaveViewController
iPad Golly: removed viewDidUnload methods (never called)
iPad Golly: force Light mode
fixed typo in QuickLife help
iPad Golly: app does not use any non-exempt encryption
iPad Golly: fixed issue with launch screen
iPad Golly: updated build version to 1.4
iPad Golly: force pale gray for RuleLoader status bar (has to be done after GetPrefs)