v2 Beta #828
Replies: 67 comments 391 replies
-
Nice job on the beta release! Love the new website. 😄 Testing right now the beta. The default options are fine! Found some things to iron out though. The
Here is the wails doctor result:
Otherwise, looks nice. Keep up the great work! 💯 |
Beta Was this translation helpful? Give feedback.
-
Had a go at getting a v2 app off the ground after seeing the Reddit post. Great job, it was quick and easy to get a functional app going. However, it seems as though the API doesn't have feature parity with v1, obviously this is beta, but I couldn't find options for (eg) Tray menus. Am I looking in the wrong place, and if not, is it planned to bring these missing features to v2, or is v2 intended to be a less feature rich, but streamlined version? |
Beta Was this translation helpful? Give feedback.
-
Hi,
(v2.0.0-beta.3) |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
v2 beta 3 had an issue with Vite (possibly other bundlers too) where Vite recompiling would trigger a reload of the webview, which would result in the requests to the Updated to beta4 to get the timing bug fix, it seems to be much worse now. The previously described issue was intermittent, but now it is consistently getting Is it possible for the webview window to use this localhost url instead when running in dev mode? If I recall correctly, Electron has similar issues trying to serve static files in dev, and so in dev mode it will usually serve the localhost server to the chromium window instead, and reserve the file protocol for production/build |
Beta Was this translation helpful? Give feedback.
-
I tried Which looks like only the runtime loader is embedded and users still need to download/install the run-time. How can I embed the runtime in a way that nothing needs to be downloaded nor installed? I think that should be possible as well: WebView2 Runtime can be distributed in two modes.
See: https://docs.microsoft.com/en-us/microsoft-edge/webview2/concepts/distribution It would be nice to have an option to embed the fixed runtime version too. With this, we get a single, zero-dependency, zero-installation binary. |
Beta Was this translation helpful? Give feedback.
-
Beta Was this translation helpful? Give feedback.
-
I'm loving this project ♥ So I'm trying to get key events on frontend
and the keys don't fire the event on frontend Also There is a way to fire those keyboard event ? Another thing is, when I set MinWidth and MinHeight at main.go don't work unless I set MaxWidth and MaxHeight err := wails.Run(&options.App{
Title: "zipPDV",
Width: 1000,
Height: 650,
DisableResize: false,
Fullscreen: false,
Frameless: false,
MinWidth: 1000,
MinHeight: 650,
MaxWidth: 0, /* 2560 */
MaxHeight: 0, /* 1440 */
StartHidden: false,
HideWindowOnClose: false,
RGBA: &options.RGBA{R: 52, G: 73, B: 94, A: 255},
Assets: assets,
Logger: nil,
LogLevel: logger.DEBUG,
OnStartup: app.Startup,
OnDomReady: app.DomReady,
OnShutdown: app.Shutdown,
Bind: []interface{}{
app,
},
Windows: &windows.Options{
WebviewIsTransparent: false,
WindowIsTranslucent: false,
DisableWindowIcon: false,
},
}) But I have added |
Beta Was this translation helpful? Give feedback.
-
I'm using a Windows VM on macOS and mostly edit everything on the Mac. Which seems to render the I am not certain if there can be anything done about this, besides waiting for the macOS version or editing everything on the VM. |
Beta Was this translation helpful? Give feedback.
-
Compiled the latest HEAD version and wanted to use Not sure what this should tell me or what's going on. |
Beta Was this translation helpful? Give feedback.
-
Since Beta-4 i get the following error when building or using wails dev:
I've also tried using the latest master, but i can't figure out whats wrong..i've already wiped the go cache, but this didn't help It seems to be a problem of fasthttp websocket and/or fiber: |
Beta Was this translation helpful? Give feedback.
-
Updating to beta-5 works, running my toy project gives: ...projects\nlpp-registration> wails dev
Wails CLI v2.0.0-beta.5
Updating go.mod to use Wails 'v2.0.0-beta.5'
Executing: go mod tidy
Executing: wails generate module
Building application for development...
No Install command. Skipping.
No Build command. Skipping.
Generating bundle assets: Done.
Compiling application: # github.com/wailsapp/wails/v2/internal/frontend/desktop/windows
C:\Users\robby\go\pkg\mod\github.com\wailsapp\wails\v2@v2.0.0-beta.5\internal\frontend\desktop\windows\frontend.go:305:16: settings.PutAreBrowserAcceleratorKeysEnabled undefined (type *edge.ICoreWebView2Settings has no field or method PutAreBrowserAcceleratorKeysEnabled)
Build error - continuing to run current version
exit status 2
Watching (sub)/directory: D:\develop\go\wails-projects\nlpp-registration
Using Dev Server URL: http://localhost:34115
Using reload debounce setting of 100 milliseconds |
Beta Was this translation helpful? Give feedback.
-
in beta-v5 and beta-v7 |
Beta Was this translation helpful? Give feedback.
-
in beta-v5 and beta-v7 |
Beta Was this translation helpful? Give feedback.
-
Hmm... just kicked in. |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
How can I run a Wails application from a debugger? Is there a way I could run it from something like GoLand? I think it will be important to support debugging for bigger applications. |
Beta Was this translation helpful? Give feedback.
-
Hi Lea, when approximately Linux will be available for testing? |
Beta Was this translation helpful? Give feedback.
-
wails version: v2.0.0-beta.28 I compiled a EXE to run on windows 2012 R2. In your winc, it used "GetDpiForSystem" to get system dpi. but it only supports version above win10. |
Beta Was this translation helpful? Give feedback.
-
Hello, |
Beta Was this translation helpful? Give feedback.
-
First test on Linux. It seems to work fine. Examples with svelte and vanilla build and are working. However...
|
Beta Was this translation helpful? Give feedback.
-
Apologies if this is documented someplace but I cannot find it if it is..... for Mac OS, where does the menu item name come from for the |
Beta Was this translation helpful? Give feedback.
-
Hi, testing on Linux (Archlinux and then Ubuntu 20.04) with latest v2 master func (b *App) domReady(ctx context.Context) {
// Add your action here
log.Println("domReady")
}
|
Beta Was this translation helpful? Give feedback.
-
Hey there! Does anybody know where to get good example of wails V2 app code? I started yesterday and I can't figure out save dialogs on Macos for the life of me, the concept of context is what can't wrap my head around, where do I get it on Js side of things? |
Beta Was this translation helpful? Give feedback.
-
Hi, is It possible to obfuscate Golang part code with tools like Garble before building process? |
Beta Was this translation helpful? Give feedback.
-
When I use runtime.EventsOn() in frontend, an error occurred. The message 'Uncaught ReferenceError: OnMultiple is not defined at EventsOn (runtime.js:44:5)' showed in Console. |
Beta Was this translation helpful? Give feedback.
-
Is there a way to change the deployed WebView2 Chromium configuration in |
Beta Was this translation helpful? Give feedback.
-
Hi, On the GO side it can be solved, but on the WebView side I'm fighting with the corpo. proxies. The current solution is a different network for the devices running Wails apps. I tried to hack some sort of baked in proxy settings on linux, but I'm not there jet. :) How do you guys feel about this, is it possible to plan a proxy setting for the Webview in the future? GTK has functions for this: https://webkitgtk.org/reference/webkit2gtk/stable/WebKitNetworkProxySettings.html |
Beta Was this translation helpful? Give feedback.
-
I want to resize the frameless window which has a custom titlebar, but it doesn't work when I hover on the window border. OS: archlinux |
Beta Was this translation helpful? Give feedback.
-
Good day! |
Beta Was this translation helpful? Give feedback.
-
This is the discussions board for v2 beta.
Beta Was this translation helpful? Give feedback.
All reactions