ozanmakes / emacs-webkit-color-picker Goto Github PK
View Code? Open in Web Editor NEWColor picker widget using childframes (Emacs 26)
License: MIT License
Color picker widget using childframes (Emacs 26)
License: MIT License
On emacs 28.0.91 (built with Xwidget support)
Crash on calling the widget with C-c C-p
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
** (emacs:51507): ERROR **: 21:45:57.035: Unable to configure xdg-desktop-portal access in the WebKit sandbox: GApplication is required.
Fatal error 5: Trace/breakpoint trap
Backtrace:
emacs(+0x152cb2)[0x563067cc1cb2]
emacs(+0x49af3)[0x563067bb8af3]
emacs(+0x49fdd)[0x563067bb8fdd]
emacs(+0x15126d)[0x563067cc026d]
emacs(+0x15135f)[0x563067cc035f]
/lib/x86_64-linux-gnu/libpthread.so.0(+0x143c0)[0x7f0e8a9313c0]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(+0x58295)[0x7f0e9026b295]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log_default_handler+0xb9)[0x7f0e9026c319]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_logv+0x21c)[0x7f0e9026c55c]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_log+0x93)[0x7f0e9026c743]
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37(+0xbab209)[0x7f0e8d397209]
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37(+0xbac39b)[0x7f0e8d39839b]
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37(+0xa13b54)[0x7f0e8d1ffb54]
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37(+0xab2cb0)[0x7f0e8d29ecb0]
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37(+0xabb3b6)[0x7f0e8d2a73b6]
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37(+0xabb80c)[0x7f0e8d2a780c]
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37(+0xa7e62f)[0x7f0e8d26a62f]
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37(+0xa7eca0)[0x7f0e8d26aca0]
/lib/x86_64-linux-gnu/libwebkit2gtk-4.0.so.37(webkit_web_view_load_uri+0x1b7)[0x7f0e8d335e97]
emacs(+0x2218f5)[0x563067d908f5]
emacs(+0x1b74a3)[0x563067d264a3]
emacs(+0x1f62e4)[0x563067d652e4]
emacs(+0x1b7407)[0x563067d26407]
emacs(+0x1f62e4)[0x563067d652e4]
emacs(+0x1b7407)[0x563067d26407]
emacs(+0x1f62e4)[0x563067d652e4]
emacs(+0x1b7407)[0x563067d26407]
emacs(+0x1b3aa5)[0x563067d22aa5]
emacs(+0x1b74a3)[0x563067d264a3]
emacs(+0x1b7911)[0x563067d26911]
emacs(+0x1b50ba)[0x563067d240ba]
emacs(+0x1b74a3)[0x563067d264a3]
emacs(+0x1f62e4)[0x563067d652e4]
emacs(+0x1b7407)[0x563067d26407]
emacs(+0x1b758e)[0x563067d2658e]
emacs(+0x147f3d)[0x563067cb6f3d]
emacs(+0x1b6457)[0x563067d25457]
emacs(+0x13890a)[0x563067ca790a]
emacs(+0x1b6399)[0x563067d25399]
emacs(+0x1388a6)[0x563067ca78a6]
emacs(+0x13e250)[0x563067cad250]
...
Trace/breakpoint trap (core dumped)
I also tried with export WEBKIT_FORCE_SANDBOX=0 from the command line, this time it doesn't crash but the widget doesn't show up, here's the log :
Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
** (emacs:52294): WARNING **: 21:50:30.410: Error running javascript: about:blank:1:35: TypeError: null is not an object (evaluating 'document.querySelector('.picker').offsetWidth')
Hi, I have ported your js app to be used with eaf. Is it ok for you that it's included there? Since it is MIT licensed it should be OK license wise.
I'm getting the following error on osx (built with xwidgets support):
webkit-color-picker-show: Symbol’s value as variable is void: x-pointer-top-left-arrow
Is it because it's not running through xwindows I wonder?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.