go-flutter-desktop / go-flutter

Flutter on Windows, MacOS and Linux - based on Flutter Embedding, Go and GLFW.
https://hover.build/
BSD 3-Clause "New" or "Revised" License
5.84k stars 286 forks source link

[Flutter 3] There is no hot-reload in Hover v0.47.0 #666

Closed mdpe-ir closed 2 years ago

mdpe-ir commented 2 years ago

Console:

hover run

hover: Using engine from cache
hover: Cleaning the build directory
hover: âš  The go-flutter project tries to stay compatible with the beta channel of Flutter.
hover: âš      It's advised to use the beta channel: `flutter channel beta`
hover: Bundling flutter app

💪 Building with sound null safety 💪

hover: Compiling 'go-flutter' and plugins
hover: Successfully compiled executable binary for linux
hover: Build finished, starting app...
hover: Running dashboard_plus in debug_unopt mode
flutter: The Dart VM service is listening on http://127.0.0.1:50300/
go-flutter: no method handler registered for method 'selectSingleEntryHistory' on channel 'flutter/navigation'
go-flutter: no method handler registered for method 'routeInformationUpdated' on channel 'flutter/navigation'
flutter: DataTable2 built: 4ms

And that's it. When I click r or something like that nothing happens.

hover version Hover v0.47.0

hover doctor

hover: Hover version v0.47.0 running on linux
hover: Sharing packaging tools
hover: darwin-bundle is supported
hover: darwin-dmg is supported
hover: To package darwin-pkg these tools are required: mkbom,xar
hover: Install bomutils from your package manager or from https://github.com/hogliux/bomutils
hover: Install xar from your package manager or from https://github.com/mackyle/xar
hover: To still package darwin-pkg without the required tools installed you need to run hover with the `--docker` flag.
hover: To package linux-appimage these tools are required: appimagetool
hover: Install appimagetool from your package manager or from https://github.com/AppImage/AppImageKit#appimagetool-usage
hover: To still package linux-appimage without the required tools installed you need to run hover with the `--docker` flag.
hover: linux-deb is supported
hover: To package linux-pkg these tools are required: makepkg
hover: You need to be on Arch Linux or another distro that uses pacman as package manager to use this. Installing makepkg on other distros is hard and dangerous.
hover: To still package linux-pkg without the required tools installed you need to run hover with the `--docker` flag.
hover: To package linux-rpm these tools are required: rpmbuild
hover: You need to be on Red Hat Linux or another distro that uses rpm as package manager to use this. Installing rpmbuild on other distros is hard and dangerous.
hover: To still package linux-rpm without the required tools installed you need to run hover with the `--docker` flag.
hover: To package linux-snap these tools are required: snapcraft
hover: Install snapd from your package manager or from https://snapcraft.io/docs/installing-snapd
hover: To still package linux-snap without the required tools installed you need to run hover with the `--docker` flag.
hover: To package windows-msi these tools are required: wixl
hover: Install msitools from your package manager or from https://wiki.gnome.org/msitools/
hover: To still package windows-msi without the required tools installed you need to run hover with the `--docker` flag.
hover: 
hover: Sharing flutter version
Flutter 3.0.5 • channel stable • https://github.com/flutter/flutter.git
Framework • revision f1875d570e (5 days ago) • 2022-07-13 11:24:16 -0700
Engine • revision e85ea0e79c
Tools • Dart 2.17.6 • DevTools 2.12.2
hover: Flutter engine commit: https://github.com/flutter/engine/commit/e85ea0e79c6d894c120cda4ee8ee10fe6745e187
hover: âš  The go-flutter project tries to stay compatible with the beta channel of Flutter.
hover: âš      It's advised to use the beta channel: `flutter channel beta`
hover: Finding out the C compiler version
gcc (Debian 11.3.0-4) 11.3.0
Copyright (C) 2021 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

hover: Sharing the content of go.mod
module: dashboard/go

go 1.18

require (
    github.com/go-flutter-desktop/go-flutter v0.52.1
    github.com/go-flutter-desktop/plugins/path_provider v0.4.0
    github.com/go-flutter-desktop/plugins/url_launcher v0.1.3
    github.com/pkg/errors v0.9.1
)

require (
    github.com/Xuanwo/go-locale v1.1.0 // indirect
    github.com/adrg/xdg v0.2.1 // indirect
    github.com/go-gl/gl v0.0.0-20211210172815-726fda9656d6 // indirect
    github.com/go-gl/glfw/v3.3/glfw v0.0.0-20220712193148-63cf1f4ef61f // indirect
    golang.org/x/sys v0.0.0-20211023085530-d6a326fbbf70 // indirect
    golang.org/x/text v0.3.7 // indirect
)
hover: Sharing the content of hover.yaml
application-name: ""
executable-name: ""
package-name: ""
organization-name: com.dashboardplus
license: ""
target: lib/main_desktop.dart
branch: ""
cache-path: ""
opengl: ""
engine-version: ""
hover: Sharing the content of go/cmd
go/cmd/main.go  go/cmd/options.go

This is similar to https://github.com/go-flutter-desktop/go-flutter/issues/410

pchampio commented 2 years ago

On my older flutter version I see: image

(Hover v0.47.0)

mdpe-ir commented 2 years ago

So the problem is from Flutter 3.0.5?

mdpe-ir commented 2 years ago

On my older flutter version I see ...

What is your flutter version?

pchampio commented 2 years ago

On my older flutter version I see ...

What is your flutter version?

Flutter 2.8.0-3.3.pre • channel beta • https://github.com/flutter/flutter.git
Framework • revision 262b70ece1 (8 months ago) • 2021-12-01 13:00:48 -0800
Engine • revision 06a7363b0c
Tools • Dart 2.15.0 (build 2.15.0-268.18.beta)
pchampio commented 2 years ago

:smiling_imp: fixed in the latest hover version.

Run GO111MODULE=on go install github.com/go-flutter-desktop/hover@latest to update hover