Comments (17)
==> wxwidgets: stable 3.2.2.1 (bottled), HEAD
Thanks @rtgoodwin; I can confirm that it works with wxwidgets 3.2.2.1 and wxwidgets 3.2.1, so I may do a macOS specific release in a day or two. Unfortunately going with the newer wxwidgets version has some other issues that need to be addressed. I plan on having a version for you to test in a day or two and it would be great to have your feedback on this, as I plan to make this release before the end of the month.
from zerobranestudio.
Looks like it. It's not the kind of thing that would bother me per se, but I imagine it could get quite annoying :)
@rtgoodwin, it looks like this effect only happens using dark mode; without it things look correct. I'm still trying to find what may be causing this, but it looks like it's an old issue in wxwidgets, so I'm less reluctant to release a fix for Sonoma.
from zerobranestudio.
@rtgoodwin, thank you for the report. Just to confirm, (1) you were not able to run the app from the current master branch on M1 under Sonoma beta, but (2) you were able to run it with lua53, luasocket and wxlua installed?
Can you try running bin/lua src/main.lua
and report anything in the output back? Has it ever started before on that macOS version. I've tested the master branch on Ventura without any issues, so am curious if this is related to the new macOS version or something else.
from zerobranestudio.
@rtgoodwin, I can confirm the issue, but there doesn't seem to be anything I can do (or at least nothing obvious), as the application works on Ventura, but not on the current beta of Sonoma. I also tested on a much simpler application using wxlua with the same result, so it doesn't seem to be directly related to the IDE code.
I submitted a report to Apple and will continue to investigate, but I'd wait for the the next beta or the release version to see if the issue still persists. I'll update the ticket if I get any additional information on this.
Just to confirm on the second question: are you saying it worked for you with wxlua from brew? If it did, what version of wxwidgets/wxlua was that?
from zerobranestudio.
To the first question:
❯ bin/lua src/main.lua
zsh: segmentation fault bin/lua src/main.lua
With brew lua it seems to run fine (how I used it) but does throw the error you see below when exiting:
❯ lua -v
Lua 5.4.6 Copyright (C) 1994-2023 Lua.org, PUC-Rio
❯ lua src/main.lua
./src/osx/carbon/clipbrd.cpp(64): assert ""m_open"" failed in Flush(): clipboard not open
Collecting stack trace information, please wait...zsh: trace trap lua src/main.lua
To the second, unless I'm forgetting something, this is from brew list | grep wx
:
==> wxlua: stable 3.2.0.2 (bottled), HEAD
Lua bindings for wxWidgets cross-platform GUI toolkit
https://github.com/pkulchenko/wxlua
/opt/homebrew/Cellar/wxlua/3.2.0.2 (128 files, 19.3MB) *
Poured from bottle on 2023-08-24 at 21:09:52
License: LGPL-2.0-or-later with WxWindows-exception-3.1
==> Dependencies
Build: cmake ✔
Required: lua ✔, wxwidgets ✔
==> Options
--HEAD
Install HEAD version
==> wxwidgets: stable 3.2.2.1 (bottled), HEAD
Cross-platform C++ GUI toolkit
https://www.wxwidgets.org
/opt/homebrew/Cellar/wxwidgets/3.2.2.1_1 (834 files, 25.2MB) *
Poured from bottle on 2023-08-24 at 16:42:38
License: LGPL-2.0-or-later with WxWindows-exception-3.1
==> Dependencies
Build: pkg-config ✔
Required: jpeg-turbo ✔, libpng ✔, libtiff ✔, pcre2 ✔
==> Options
--HEAD
Install HEAD version
from zerobranestudio.
Fantastic! Glad to hopefully have helped and not made more work :)
from zerobranestudio.
@rtgoodwin, yes, it did help; thank you! I opened a wxwidgets ticket, but it looks like they don't have resources to work on it. I'll try to bisect it to see if I can find where it broke, but given the large number of commits between 3.1.4 when it worked and 3.2.0 when it appears to have broken it may take a while.
Do you see the same issue with the "original" text displayed when you try to edit a file name in the project tree or a watch expression in the watch panel?
from zerobranestudio.
Looks like it. It's not the kind of thing that would bother me per se, but I imagine it could get quite annoying :)
Ran the same brew lua src/main.lua
:
from zerobranestudio.
Right; that's the same effect that I see. I'll continue checking if I can find the commit that introduced it.
from zerobranestudio.
I'm having the same issue with the 2.0 release
$ cd /Applications/ZeroBraneStudio.app/Contents/ZeroBraneStudio/
$ ./bin/lua src/main.lua
zsh: segmentation fault ./bin/lua src/main.lua
Same with lua installed from brew, same with wxlua. Not sure what else to try...
from zerobranestudio.
@jfchevrette, also on Sonoma beta or a different version? There hasn't been a fix yet, as there is an issue with the wxwidgets version where the crash appears to be fixed (see my previous comment), but I plan to provide a macos binary that at least addresses the crash soon.
from zerobranestudio.
@jfchevrette, also on Sonoma beta or a different version? There hasn't been a fix yet, as there is an issue with the wxwidgets version where the crash appears to be fixed (see my previous comment), but I plan to provide a macos binary that at least addresses the crash soon.
yes I'm on the latest Sonoma beta. I tried to install the latest wxwidgets using brew but that didn't do it. I must have missed something. No rush, I will wait for an updated binary. Thanks for the fantastic work on ZeroBrane Studio 😄
from zerobranestudio.
@rtgoodwin, @jfchevrette, should be fixed now in the wx321 branch. Please check and confirm and I'll merge it.
Also, let me know if you notice any (visual) issues with that build (other than the tree issue with the dark mode I noted above that I don't have a fix for). Thank you!
from zerobranestudio.
@rtgoodwin, @jfchevrette, should be fixed now in the wx321 branch. Please check and confirm and I'll merge it.
I was able to launch the app with ./bin/lua src/main.lua
on branch wx321
. I did not test beyond that though. Thanks!
from zerobranestudio.
Yes, that's what I'd like to confirm. Thank you!
from zerobranestudio.
So sorry, I didn't get this notification at all. It sounds like you nailed it, so will report back only if it's an issue. Thank you!! :)
Edit: Not an issue, launches beautifully, so many thanks!!
from zerobranestudio.
@rtgoodwin, sounds good; thank you for confirming and for the original report!
from zerobranestudio.
Related Issues (20)
- Ask for Help, assign custom Shortcut on toolbar button
- Can't close the "Find" bar after opening it. HOT 1
- There is a problem with autocomplete HOT 4
- remote console multi variables access bug HOT 2
- How using keys switch focus to output console and to the editor window? HOT 2
- analyzer is not updated, when project is changed HOT 9
- [Request] Teal Support HOT 15
- staticanalyzer.luacheck options ignores option exclude_files HOT 1
- Build a release version of ZeroBraneStudio using wxLua/wxWidgets 3.2 HOT 5
- F-Req: msys2 install package for zerobrane
- ARM support on Linux? HOT 6
- Build broken because of scintillua HOT 2
- Flatpak patches
- table.move, string.pack, string.unpack are not syntax colored correctly... HOT 1
- Highlighted button background color barely visible on white theme
- Search - Find in files. wxLua Runtime Error when specify file path HOT 2
- Live coding in Love2D broken HOT 7
- The search box should accept Ctrl+A to select all text... HOT 1
- Windows: ZeroBrane built-in lua interpreters perform unavoidable command line file globbing HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from zerobranestudio.