tauri icon indicating copy to clipboard operation
tauri copied to clipboard

refactor: webview as child for WebviewWindow, enhance resizing closes #6322

Open lucasfernog opened this issue 1 year ago • 4 comments

Doesn't work 100% yet :(

lucasfernog avatar Feb 06 '24 16:02 lucasfernog

I've been getting help from @FabianLars to get this to work but no luck yet.

The example from https://github.com/tauri-apps/tauri/issues/6322#issuecomment-1872491965 also has a window.request_redraw() but I don't think that helps.

lucasfernog avatar Feb 06 '24 16:02 lucasfernog

I'm not super happy with it either, at least with how it currently is implemented and how less of an effect it has on a multiwebview app, but I disagree that it should be handled on the user side. Without anything on our side resizing on windows is really horrible and basically unusable for multiwebview windows.

Maybe have it opt-in as a compromise?

FabianLars avatar Feb 09 '24 09:02 FabianLars

No need for an option, let's roll with it and see if there is any negative feedback down the road.

amrbashir avatar Feb 12 '24 14:02 amrbashir

@FabianLars @amrbashir can you check what else we can do on Windows to enhance this?

lucasfernog avatar Feb 18 '24 13:02 lucasfernog

Probably needs a better approach.

lucasfernog avatar Mar 06 '24 16:03 lucasfernog