All Questions
366
questions with no upvoted or accepted answers
9
votes
0
answers
2k
views
HTML input autocomplete not working in Electron
I'm building some SocketIO-related app with Electron and React.
The user needs to fill in an address to connect to:
<form autoComplete="on" onSubmit={this.onAddressSubmit}>
<label ...
5
votes
0
answers
286
views
Electron app doesnt launch after modefing app.asar on macOS
So l am trying to modify an electron application. Firstly, I extracted app.asar into a folder then modefed an html file and launched the program. And it worked, my html was applyed to this application....
4
votes
0
answers
431
views
FATAL:gpu_data_manager_impl_private.cc(448)] GPU process isn't usable. Goodbye
Trying to setup Electron on my computer, to setup .exe files for my HTML/CSS/JS projects
I'm currently developing on Windows and got this:
[3088:0525/235414.074:ERROR:gpu_process_host.cc(991)] GPU ...
4
votes
1
answer
6k
views
Tauri Not allowed to load local resource
I've been using electron for GUI interface development, recently I came across Tauri as electron alternative and coming to realize that the same code works on electron but not Tauri where:
<video ...
4
votes
0
answers
415
views
Electron Multi-monitor bug with vibrancy/transparency on MacOS Big Sur
I've noticed what appears to be a bug with the vibrancy effects in Electron, running on MacOS Big Sur...
Here's what my window looks like when it first loads:
Here's what it looks like if I drag it ...
4
votes
0
answers
372
views
Use CSS framework through npm in Electron application
I have installed bulma through npm in my electron project as a dependency. However, I am forced to do something like this:
<link rel="stylesheet" type="text/css" href="node_modules/bulma/css/bulma....
4
votes
1
answer
1k
views
Is it possible to build a standalone HTML5 App *without* bundling a browser?
Solutions such as Electron require bundling an entire browser with the resulting .app build, which causes it to have several gigabytes even for a single hello world app. Most users already have Chrome ...
4
votes
0
answers
1k
views
How to convert electron app into web app?
I developed an Electron application few weeks ago with the framework AngularJS (used to make the client side). I would like to convert this desktop application to a classic Web App.
4
votes
0
answers
2k
views
What is the proper way to load JavaScript scripts in Atom Shell?
This probably a completely stupid question but I just started working with Atom shell.
I have an index.html with a login form. I boostrap the jquery form validation in the document ready like so:
$...
3
votes
0
answers
1k
views
Electron App Loses Shadow When Set To Transparent
I'm trying to create a window with rounded corners using Electron. I've managed to achieve this by setting the BrowserWindow setting transparent to true, and then creating a div the size of the body ...
3
votes
0
answers
92
views
Is it possible to set the target of an anchor tag to a webview tag?
I want to open some links in my HTML in the background. I would like to open them in a hidden webview tag. I have tried to name the webview tag like so
<webview id="bgview" name="background-view" &...
3
votes
1
answer
494
views
How to execute script code in nested html files?
My script code is not being called when I load the nested HTML in my electron app and I cannot figure out why.
<div id="leftsidebar">
</div>
<div id="rightsidebar">
&...
3
votes
0
answers
354
views
Screenshot from hidden html video element
I am trying to take a screenshot of a hidden element using canvas, but the image source is empty.
Here is my screenshot function:
function getScreenshot(videoEl) {
const canvas = document....
3
votes
0
answers
2k
views
Require and import not working for modules in Electron
I'm trying to build a desktop app for the first time, using the Electron framework, and I'm trying to use the Trilogy module. However, several errors keep popping out.
Basically, the main idea of my ...
3
votes
0
answers
1k
views
Electron focus() not working in webview
Im trying to set the focus on an element in the webview after it loses his focus
<webview src="http://www.example.com/" id="target-view" preload="js/hooker.js" autosize minwidth="100%" minheight="...