Skip to content

go-flutter simpleDemo issues on stable #101

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
bootstraponline opened this issue Apr 1, 2019 · 10 comments
Closed

go-flutter simpleDemo issues on stable #101

bootstraponline opened this issue Apr 1, 2019 · 10 comments
Labels
bug Something isn't working

Comments

@bootstraponline
Copy link

Flutter version

Flutter 1.2.1 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 8661d8aecd (6 weeks ago) • 2019-02-14 19:19:53 -0800
Engine • revision 3757390fa4
Tools • Dart 2.1.2 (build 2.1.2-dev.0.0 0a7dcf17eb)

Steps to Reproduce

  1. ~/code/go-flutter/example/simpleDemo$ go build main.go
  2. ~/code/go-flutter/example/simpleDemo$ ./main

image

I ran the simpleDemo with flutter stable on macOS 10.14.4. Clicking on the button doesn't increase the button count. Clicking into the textfields doesn't allow text input.

image

Does go-flutter only work with the beta version of flutter?

@bootstraponline
Copy link
Author

bootstraponline commented Apr 1, 2019

The stocks app has warnings:

~/code/go-flutter/example/stocks$ ./main
go-flutter: ApplicationWindowDimension is deprecated, use WindowInitialDimensions(x, y).
[ERROR:flutter/shell/platform/embedder/embedder_surface_gl.cc(89)] Could not create a resource context for async texture uploads. Expect degraded performance. Set a valid make_resource_current callback on FlutterOpenGLRendererConfig.
[ERROR:flutter/shell/platform/embedder/embedder_surface_gl.cc(89)] Could not create a resource context for async texture uploads. Expect degraded performance. Set a valid make_resource_current callback on FlutterOpenGLRendererConfig.
flutter: Observatory listening on http://127.0.0.1:50300/
go-flutter: no method handler registered for method 'SystemChrome.setSystemUIOverlayStyle' on channel 'flutter/platform'
go-flutter: no method handler registered for method 'SystemSound.play' on channel 'flutter/platform'
go-flutter: failed to pop route after escape key press: failed to decode envelope: unexpected end of JSON input
go-flutter: no method handler registered for method 'HapticFeedback.vibrate' on channel 'flutter/platform'

I can click into a stock, however clicking the back button doesn't return to the main screen. After pressing esc, I land on the main screen however the only widget responsive to clicks are the stocks. portfolios, the plus button, and the hamburger menu don't respond to clicks.

When I click and hold on a stock, the wrong stock is selected. After clicking and holding on AAIT, AAME is purchased (two stocks down). AAOI is even further off, that purchases AAOJ
image

The sample from https://github.com/google/flutter-desktop-embedding works as expected. Button clicks increase the counter. Text input is functional.
image

@bootstraponline bootstraponline changed the title go-flutter simpleDemo broken on stable go-flutter simpleDemo issues on stable Apr 1, 2019
@pchampio
Copy link
Member

pchampio commented Apr 1, 2019

There are two issues:

I ran the simpleDemo with flutter stable on macOS 10.14.4. Clicking on the button doesn't increase the button count. Clicking into the textfields doesn't allow text input.

  • In the simpleDemo, a demo plugin is registered: manualInputPlugin. This plugin blocks the main thread. Until a number is typed in the console, the simpleDemo will not update its view.
    @GeertJohan should we handle the getNumber function in a goroutine?

When I click and hold on a stock, the wrong stock is selected. After clicking and holding on AAIT, AAME is purchased (two stocks down). AAOI is even further off, that purchases AAOJ


Does go-flutter only work with the beta version of flutter?

Development and Testing are made on the beta channel, but go-flutter should work with the stable channel.

@GeertJohan
Copy link
Member

The manualInputPlugin shouldn't block the main thread anymore, as method calls are now handled concurrently from the main thread, so the blocking wait for input is in a different goroutine and different thread.

Concerning examples: I'd like to move both examples into their own repository and keep them maintained. Thoughts @Drakirus?

There can be breaking differences between stable and beta channels of flutter. It's best to stick with the beta channel for go-flutter for now.

@pchampio
Copy link
Member

pchampio commented Apr 1, 2019

After pulling the repo, the manualInputPlugin isn't blocking the main thread, and the first issue described disappear.
@bootstraponline can you please try to update go-flutter to the latest revision, and tell us if the issue persists. (Using the both flutter's stable and beta channels).

As for the examples, moving them in their own repo is a good idea.

@bootstraponline
Copy link
Author

I pulled master and tried both the stable/beta channel. Pushing the plus button doesn't do anything.

@stuartmorgan-g
Copy link

I haven't looked at the code, but the click behaviors described here sound like the kinds of things that happen when the scaling for drawing and the scaling for mouse input don't match, FWIW.

pchampio pushed a commit that referenced this issue Apr 2, 2019
Misuse of pixel ratio when handling mouse click's coordinate
@pchampio
Copy link
Member

pchampio commented Apr 2, 2019

@stuartmorgan thanks for the help!
@bootstraponline can you try the fix/ScreenScalingMouseEvent branch ?

@GeertJohan
Copy link
Member

GeertJohan commented Apr 2, 2019

Auch, yes the scaling is applied twice.
The fix/ScreenScalingMouseEvent branch is bugged as well, the calculation that remains is wrong.

float64(widthPx / width) vs float64(widthPx) / float64(width)

@GeertJohan GeertJohan reopened this Apr 2, 2019
@GeertJohan
Copy link
Member

I've pushed a fix to master, it has no regressions on desktops where pixel to screencoordinates ratio == 1, which is most of the cases. But I cannot test if the fix properly works for you, @bootstraponline, so I'll leave this issue open until we have confirmation.

@GeertJohan GeertJohan added the bug Something isn't working label Apr 2, 2019
@bootstraponline
Copy link
Author

It works!! Thanks for fixing.

image

zephylac pushed a commit to zephylac/go-flutter that referenced this issue Jun 6, 2019
Support Chinese URL (go-flutter-desktop#48)

Fixes go-flutter-desktop#48

Support MacShortcuts

Support quick cursor move

Clarification of the purpose explanation. go-flutter-desktop#54

Fixes go-flutter-desktop#54, confusing README

Update README.md

Fix regression caused by go-flutter-desktop#47

Feature/keyboard layout support (go-flutter-desktop#57)

* Support different layout

* Exported struct, user can use it in main

* Renaming function (matchin new format)

* Added default value for shortcuts

* Removed local import (testing)

* Added keyboard config

* Check for optionnal keyboard

* Fixed renaming

* Fixed regression

* new example for keyboard

* Added explaination

Now only send boolean

Changed to boolean parameter & fixed textSelection

Fixed some issue, added backspace wordTravellerKEy support

wordTravellerKEy added (alt for MacOS, Ctrl for others)

Update BUG.md (go-flutter-desktop#69)

Removes the "task list" from the template.

Add gl_proc_resolver to resolve GL procs within the GLFW context (go-flutter-desktop#71)

Fix two race conditions and a type conversion mistake (go-flutter-desktop#70)

GLFW callbacks: Obtaining the index of the engine using the window userPointer

Engine Args: main_path and packages_path should be set null

Assert that EngineOpenGL was created using NewEngineOpenGL (go-flutter-desktop#73)

Update LICENSE

Calculate pixel_ratio based on users' display (go-flutter-desktop#75)

Update release mode flag

Example: User defined Pixel Ratio

Moved project (go-flutter-desktop#76)

Rename a bunch of things:
- import path github.com/Drakirus/go-flutter-desktop-embedder > github.com/go-flutter-desktop/go-flutter
- package path go-flutter/flutter > go-flutter/embedder
- package name flutter > embedder
- package name gutter > flutter
- embedder.EngineOpenGL > embedder.FlutterEngine
- identifier flutterOGL > flutterEngine
- formatted embedder.embedder_helper.c

README.md: Package rename, change to introduction

Fix Linux control issue

Fixes go-flutter-desktop#79: cgo identifiers conflict

README.md: Add version compatibility information

Deprecate OptionWindowInitializer, add WindowIcon

Update embedder definitions (go-flutter-desktop#81)

updated stocks demo so it work with flutter 1.2.1

Update README.md (go-flutter-desktop#85)

* Update README.md
fixes cd path

Add go.mod

Fix go.mod

Add codecs and a plugin structure, rework the system plugins.

chore: align method receivers

Add debugging values in dpi calculation

README.md: Add godoc and go report card badge

plugin: Add tests

plugin: Add json method codec tests

plugin: Add first method channel tests

chore: Make lint and vet happier and fix spelling mistakes.

chore: Improve identifiers

.github: Update and simplify the issue template

.github: Add template for plugin issues

fixes: gitter link in README.md

chore: adds link to plugins repo

godoc: Handle doc 'MissingPluginException'

Add sane defaults for assets and icudtl

Remove forced pixelratio

Oops, debugging leftover..

Resolve executable path for flutter_assets an icudtl.dat

internal/execpath: cleanup

Improve engine result handling

Add support for sync method handlers

Remove hover desktop setup from example

go.mod: Add test dependencies

Remove duplicate pixels to screencoordinates calculation

Fixes go-flutter-desktop#101

.github: Add example template

Fix broken tests, now using ResponseSender.

README.md: Restructure and simpler getting started

Remove examples

Fix panic and remove glfw dependency from embedder

chore: cleanup and deprecation warnings

Upgrade embedder.h, implement mouse hovering, cleanup glfw cursor handling

embedder: Add README.md

embedder/README.md: cleanup and typo's

Cleanup PointerPhaseNone

Cleanup debug remnant

README.md: Add mouse-over to supported features

Fix go-flutter-desktop#113: Don't double-add event of pointerPhase

embedder: upgrade embedder.h to flutter/engine for v1.5.4-hotfix.2 (52c7a1e849a170be4b2b2fe34142ca2c0a6fea1f)

Implement pointer scrolling.

Fixes go-flutter-desktop#6

Add initial implementation for system navigator pop event (go-flutter-desktop#142)

Unexport PopBehaviorKind

chore: Remove relic of the past

Add WindowMode Option for bordreless and borderless fullscreen windows. (go-flutter-desktop#144)

Add window dimension limits (go-flutter-desktop#145)

* Add window dimensions limits

Add renovate.json

Update github.com/go-gl/glfw commit hash to e6da0ac

pull origin

Revert "pull origin"

This reverts commit 7f1705a.

feature: support for RawKeyboard events

Uses the the RawKeyEventDataLinux for every platform.
RawKeyEventDataLinux is the only Flutter implementation that support the
GLFW Toolkit, the events data is sended as it is, no translation is made
in go-flutter, everything is handled by the Flutter framework.

Update README.md

translate glfw.Repeat to glfw.Press to match other shell's keyevents

fix comment

Removed debug

Removed debug

Renamed var (coded = ☁️ or 😴

New way to handle keyboard

New way to handle keyboard shortcut bind

Fixed masking issue

Fixed masking
zephylac pushed a commit to zephylac/go-flutter that referenced this issue Jun 6, 2019
Support Chinese URL (go-flutter-desktop#48)

Fixes go-flutter-desktop#48

Support MacShortcuts

Support quick cursor move

Clarification of the purpose explanation. go-flutter-desktop#54

Fixes go-flutter-desktop#54, confusing README

Update README.md

Fix regression caused by go-flutter-desktop#47

Feature/keyboard layout support (go-flutter-desktop#57)

* Support different layout

* Exported struct, user can use it in main

* Renaming function (matchin new format)

* Added default value for shortcuts

* Removed local import (testing)

* Added keyboard config

* Check for optionnal keyboard

* Fixed renaming

* Fixed regression

* new example for keyboard

* Added explaination

Now only send boolean

Changed to boolean parameter & fixed textSelection

Fixed some issue, added backspace wordTravellerKEy support

wordTravellerKEy added (alt for MacOS, Ctrl for others)

Update BUG.md (go-flutter-desktop#69)

Removes the "task list" from the template.

Add gl_proc_resolver to resolve GL procs within the GLFW context (go-flutter-desktop#71)

Fix two race conditions and a type conversion mistake (go-flutter-desktop#70)

GLFW callbacks: Obtaining the index of the engine using the window userPointer

Engine Args: main_path and packages_path should be set null

Assert that EngineOpenGL was created using NewEngineOpenGL (go-flutter-desktop#73)

Update LICENSE

Calculate pixel_ratio based on users' display (go-flutter-desktop#75)

Update release mode flag

Example: User defined Pixel Ratio

Moved project (go-flutter-desktop#76)

Rename a bunch of things:
- import path github.com/Drakirus/go-flutter-desktop-embedder > github.com/go-flutter-desktop/go-flutter
- package path go-flutter/flutter > go-flutter/embedder
- package name flutter > embedder
- package name gutter > flutter
- embedder.EngineOpenGL > embedder.FlutterEngine
- identifier flutterOGL > flutterEngine
- formatted embedder.embedder_helper.c

README.md: Package rename, change to introduction

Fix Linux control issue

Fixes go-flutter-desktop#79: cgo identifiers conflict

README.md: Add version compatibility information

Deprecate OptionWindowInitializer, add WindowIcon

Update embedder definitions (go-flutter-desktop#81)

updated stocks demo so it work with flutter 1.2.1

Update README.md (go-flutter-desktop#85)

* Update README.md
fixes cd path

Add go.mod

Fix go.mod

Add codecs and a plugin structure, rework the system plugins.

chore: align method receivers

Add debugging values in dpi calculation

README.md: Add godoc and go report card badge

plugin: Add tests

plugin: Add json method codec tests

plugin: Add first method channel tests

chore: Make lint and vet happier and fix spelling mistakes.

chore: Improve identifiers

.github: Update and simplify the issue template

.github: Add template for plugin issues

fixes: gitter link in README.md

chore: adds link to plugins repo

godoc: Handle doc 'MissingPluginException'

Add sane defaults for assets and icudtl

Remove forced pixelratio

Oops, debugging leftover..

Resolve executable path for flutter_assets an icudtl.dat

internal/execpath: cleanup

Improve engine result handling

Add support for sync method handlers

Remove hover desktop setup from example

go.mod: Add test dependencies

Remove duplicate pixels to screencoordinates calculation

Fixes go-flutter-desktop#101

.github: Add example template

Fix broken tests, now using ResponseSender.

README.md: Restructure and simpler getting started

Remove examples

Fix panic and remove glfw dependency from embedder

chore: cleanup and deprecation warnings

Upgrade embedder.h, implement mouse hovering, cleanup glfw cursor handling

embedder: Add README.md

embedder/README.md: cleanup and typo's

Cleanup PointerPhaseNone

Cleanup debug remnant

README.md: Add mouse-over to supported features

Fix go-flutter-desktop#113: Don't double-add event of pointerPhase

embedder: upgrade embedder.h to flutter/engine for v1.5.4-hotfix.2 (52c7a1e849a170be4b2b2fe34142ca2c0a6fea1f)

Implement pointer scrolling.

Fixes go-flutter-desktop#6

Add initial implementation for system navigator pop event (go-flutter-desktop#142)

Unexport PopBehaviorKind

chore: Remove relic of the past

Add WindowMode Option for bordreless and borderless fullscreen windows. (go-flutter-desktop#144)

Add window dimension limits (go-flutter-desktop#145)

* Add window dimensions limits

Add renovate.json

Update github.com/go-gl/glfw commit hash to e6da0ac

pull origin

Revert "pull origin"

This reverts commit 7f1705a.

feature: support for RawKeyboard events

Uses the the RawKeyEventDataLinux for every platform.
RawKeyEventDataLinux is the only Flutter implementation that support the
GLFW Toolkit, the events data is sended as it is, no translation is made
in go-flutter, everything is handled by the Flutter framework.

Update README.md

translate glfw.Repeat to glfw.Press to match other shell's keyevents

fix comment

Removed debug

Removed debug

Renamed var (coded = ☁️ or 😴

New way to handle keyboard

New way to handle keyboard shortcut bind

Fixed masking issue

Fixed masking
zephylac pushed a commit to zephylac/go-flutter that referenced this issue Jun 11, 2019
Support Chinese URL (go-flutter-desktop#48)

Fixes go-flutter-desktop#48

Support MacShortcuts

Support quick cursor move

Clarification of the purpose explanation. go-flutter-desktop#54

Fixes go-flutter-desktop#54, confusing README

Update README.md

Fix regression caused by go-flutter-desktop#47

Feature/keyboard layout support (go-flutter-desktop#57)

* Support different layout

* Exported struct, user can use it in main

* Renaming function (matchin new format)

* Added default value for shortcuts

* Removed local import (testing)

* Added keyboard config

* Check for optionnal keyboard

* Fixed renaming

* Fixed regression

* new example for keyboard

* Added explaination

Now only send boolean

Changed to boolean parameter & fixed textSelection

Fixed some issue, added backspace wordTravellerKEy support

wordTravellerKEy added (alt for MacOS, Ctrl for others)

Update BUG.md (go-flutter-desktop#69)

Removes the "task list" from the template.

Add gl_proc_resolver to resolve GL procs within the GLFW context (go-flutter-desktop#71)

Fix two race conditions and a type conversion mistake (go-flutter-desktop#70)

GLFW callbacks: Obtaining the index of the engine using the window userPointer

Engine Args: main_path and packages_path should be set null

Assert that EngineOpenGL was created using NewEngineOpenGL (go-flutter-desktop#73)

Update LICENSE

Calculate pixel_ratio based on users' display (go-flutter-desktop#75)

Update release mode flag

Example: User defined Pixel Ratio

Moved project (go-flutter-desktop#76)

Rename a bunch of things:
- import path github.com/Drakirus/go-flutter-desktop-embedder > github.com/go-flutter-desktop/go-flutter
- package path go-flutter/flutter > go-flutter/embedder
- package name flutter > embedder
- package name gutter > flutter
- embedder.EngineOpenGL > embedder.FlutterEngine
- identifier flutterOGL > flutterEngine
- formatted embedder.embedder_helper.c

README.md: Package rename, change to introduction

Fix Linux control issue

Fixes go-flutter-desktop#79: cgo identifiers conflict

README.md: Add version compatibility information

Deprecate OptionWindowInitializer, add WindowIcon

Update embedder definitions (go-flutter-desktop#81)

updated stocks demo so it work with flutter 1.2.1

Update README.md (go-flutter-desktop#85)

* Update README.md
fixes cd path

Add go.mod

Fix go.mod

Add codecs and a plugin structure, rework the system plugins.

chore: align method receivers

Add debugging values in dpi calculation

README.md: Add godoc and go report card badge

plugin: Add tests

plugin: Add json method codec tests

plugin: Add first method channel tests

chore: Make lint and vet happier and fix spelling mistakes.

chore: Improve identifiers

.github: Update and simplify the issue template

.github: Add template for plugin issues

fixes: gitter link in README.md

chore: adds link to plugins repo

godoc: Handle doc 'MissingPluginException'

Add sane defaults for assets and icudtl

Remove forced pixelratio

Oops, debugging leftover..

Resolve executable path for flutter_assets an icudtl.dat

internal/execpath: cleanup

Improve engine result handling

Add support for sync method handlers

Remove hover desktop setup from example

go.mod: Add test dependencies

Remove duplicate pixels to screencoordinates calculation

Fixes go-flutter-desktop#101

.github: Add example template

Fix broken tests, now using ResponseSender.

README.md: Restructure and simpler getting started

Remove examples

Fix panic and remove glfw dependency from embedder

chore: cleanup and deprecation warnings

Upgrade embedder.h, implement mouse hovering, cleanup glfw cursor handling

embedder: Add README.md

embedder/README.md: cleanup and typo's

Cleanup PointerPhaseNone

Cleanup debug remnant

README.md: Add mouse-over to supported features

Fix go-flutter-desktop#113: Don't double-add event of pointerPhase

embedder: upgrade embedder.h to flutter/engine for v1.5.4-hotfix.2 (52c7a1e849a170be4b2b2fe34142ca2c0a6fea1f)

Implement pointer scrolling.

Fixes go-flutter-desktop#6

Add initial implementation for system navigator pop event (go-flutter-desktop#142)

Unexport PopBehaviorKind

chore: Remove relic of the past

Add WindowMode Option for bordreless and borderless fullscreen windows. (go-flutter-desktop#144)

Add window dimension limits (go-flutter-desktop#145)

* Add window dimensions limits

Add renovate.json

Update github.com/go-gl/glfw commit hash to e6da0ac

pull origin

Revert "pull origin"

This reverts commit 7f1705a.

feature: support for RawKeyboard events

Uses the the RawKeyEventDataLinux for every platform.
RawKeyEventDataLinux is the only Flutter implementation that support the
GLFW Toolkit, the events data is sended as it is, no translation is made
in go-flutter, everything is handled by the Flutter framework.

Update README.md

translate glfw.Repeat to glfw.Press to match other shell's keyevents

fix comment

Removed debug

Removed debug

Renamed var (coded = ☁️ or 😴

New way to handle keyboard

New way to handle keyboard shortcut bind

Fixed masking issue

Fixed masking
zephylac pushed a commit to zephylac/go-flutter that referenced this issue Jun 11, 2019
Support Chinese URL (go-flutter-desktop#48)

Fixes go-flutter-desktop#48

Support MacShortcuts

Support quick cursor move

Clarification of the purpose explanation. go-flutter-desktop#54

Fixes go-flutter-desktop#54, confusing README

Update README.md

Fix regression caused by go-flutter-desktop#47

Feature/keyboard layout support (go-flutter-desktop#57)

* Support different layout

* Exported struct, user can use it in main

* Renaming function (matchin new format)

* Added default value for shortcuts

* Removed local import (testing)

* Added keyboard config

* Check for optionnal keyboard

* Fixed renaming

* Fixed regression

* new example for keyboard

* Added explaination

Now only send boolean

Changed to boolean parameter & fixed textSelection

Fixed some issue, added backspace wordTravellerKEy support

wordTravellerKEy added (alt for MacOS, Ctrl for others)

Update BUG.md (go-flutter-desktop#69)

Removes the "task list" from the template.

Add gl_proc_resolver to resolve GL procs within the GLFW context (go-flutter-desktop#71)

Fix two race conditions and a type conversion mistake (go-flutter-desktop#70)

GLFW callbacks: Obtaining the index of the engine using the window userPointer

Engine Args: main_path and packages_path should be set null

Assert that EngineOpenGL was created using NewEngineOpenGL (go-flutter-desktop#73)

Update LICENSE

Calculate pixel_ratio based on users' display (go-flutter-desktop#75)

Update release mode flag

Example: User defined Pixel Ratio

Moved project (go-flutter-desktop#76)

Rename a bunch of things:
- import path github.com/Drakirus/go-flutter-desktop-embedder > github.com/go-flutter-desktop/go-flutter
- package path go-flutter/flutter > go-flutter/embedder
- package name flutter > embedder
- package name gutter > flutter
- embedder.EngineOpenGL > embedder.FlutterEngine
- identifier flutterOGL > flutterEngine
- formatted embedder.embedder_helper.c

README.md: Package rename, change to introduction

Fix Linux control issue

Fixes go-flutter-desktop#79: cgo identifiers conflict

README.md: Add version compatibility information

Deprecate OptionWindowInitializer, add WindowIcon

Update embedder definitions (go-flutter-desktop#81)

updated stocks demo so it work with flutter 1.2.1

Update README.md (go-flutter-desktop#85)

* Update README.md
fixes cd path

Add go.mod

Fix go.mod

Add codecs and a plugin structure, rework the system plugins.

chore: align method receivers

Add debugging values in dpi calculation

README.md: Add godoc and go report card badge

plugin: Add tests

plugin: Add json method codec tests

plugin: Add first method channel tests

chore: Make lint and vet happier and fix spelling mistakes.

chore: Improve identifiers

.github: Update and simplify the issue template

.github: Add template for plugin issues

fixes: gitter link in README.md

chore: adds link to plugins repo

godoc: Handle doc 'MissingPluginException'

Add sane defaults for assets and icudtl

Remove forced pixelratio

Oops, debugging leftover..

Resolve executable path for flutter_assets an icudtl.dat

internal/execpath: cleanup

Improve engine result handling

Add support for sync method handlers

Remove hover desktop setup from example

go.mod: Add test dependencies

Remove duplicate pixels to screencoordinates calculation

Fixes go-flutter-desktop#101

.github: Add example template

Fix broken tests, now using ResponseSender.

README.md: Restructure and simpler getting started

Remove examples

Fix panic and remove glfw dependency from embedder

chore: cleanup and deprecation warnings

Upgrade embedder.h, implement mouse hovering, cleanup glfw cursor handling

embedder: Add README.md

embedder/README.md: cleanup and typo's

Cleanup PointerPhaseNone

Cleanup debug remnant

README.md: Add mouse-over to supported features

Fix go-flutter-desktop#113: Don't double-add event of pointerPhase

embedder: upgrade embedder.h to flutter/engine for v1.5.4-hotfix.2 (52c7a1e849a170be4b2b2fe34142ca2c0a6fea1f)

Implement pointer scrolling.

Fixes go-flutter-desktop#6

Add initial implementation for system navigator pop event (go-flutter-desktop#142)

Unexport PopBehaviorKind

chore: Remove relic of the past

Add WindowMode Option for bordreless and borderless fullscreen windows. (go-flutter-desktop#144)

Add window dimension limits (go-flutter-desktop#145)

* Add window dimensions limits

Add renovate.json

Update github.com/go-gl/glfw commit hash to e6da0ac

pull origin

Revert "pull origin"

This reverts commit 7f1705a.

feature: support for RawKeyboard events

Uses the the RawKeyEventDataLinux for every platform.
RawKeyEventDataLinux is the only Flutter implementation that support the
GLFW Toolkit, the events data is sended as it is, no translation is made
in go-flutter, everything is handled by the Flutter framework.

Update README.md

translate glfw.Repeat to glfw.Press to match other shell's keyevents

fix comment

Removed debug

Removed debug

Renamed var (coded = ☁️ or 😴

New way to handle keyboard

New way to handle keyboard shortcut bind

Fixed masking issue

Fixed masking
zephylac pushed a commit to zephylac/go-flutter that referenced this issue Jun 11, 2019
Support Chinese URL (go-flutter-desktop#48)

Fixes go-flutter-desktop#48

Support MacShortcuts

Support quick cursor move

Clarification of the purpose explanation. go-flutter-desktop#54

Fixes go-flutter-desktop#54, confusing README

Update README.md

Fix regression caused by go-flutter-desktop#47

Feature/keyboard layout support (go-flutter-desktop#57)

* Support different layout

* Exported struct, user can use it in main

* Renaming function (matchin new format)

* Added default value for shortcuts

* Removed local import (testing)

* Added keyboard config

* Check for optionnal keyboard

* Fixed renaming

* Fixed regression

* new example for keyboard

* Added explaination

Now only send boolean

Changed to boolean parameter & fixed textSelection

Fixed some issue, added backspace wordTravellerKEy support

wordTravellerKEy added (alt for MacOS, Ctrl for others)

Update BUG.md (go-flutter-desktop#69)

Removes the "task list" from the template.

Add gl_proc_resolver to resolve GL procs within the GLFW context (go-flutter-desktop#71)

Fix two race conditions and a type conversion mistake (go-flutter-desktop#70)

GLFW callbacks: Obtaining the index of the engine using the window userPointer

Engine Args: main_path and packages_path should be set null

Assert that EngineOpenGL was created using NewEngineOpenGL (go-flutter-desktop#73)

Update LICENSE

Calculate pixel_ratio based on users' display (go-flutter-desktop#75)

Update release mode flag

Example: User defined Pixel Ratio

Moved project (go-flutter-desktop#76)

Rename a bunch of things:
- import path github.com/Drakirus/go-flutter-desktop-embedder > github.com/go-flutter-desktop/go-flutter
- package path go-flutter/flutter > go-flutter/embedder
- package name flutter > embedder
- package name gutter > flutter
- embedder.EngineOpenGL > embedder.FlutterEngine
- identifier flutterOGL > flutterEngine
- formatted embedder.embedder_helper.c

README.md: Package rename, change to introduction

Fix Linux control issue

Fixes go-flutter-desktop#79: cgo identifiers conflict

README.md: Add version compatibility information

Deprecate OptionWindowInitializer, add WindowIcon

Update embedder definitions (go-flutter-desktop#81)

updated stocks demo so it work with flutter 1.2.1

Update README.md (go-flutter-desktop#85)

* Update README.md
fixes cd path

Add go.mod

Fix go.mod

Add codecs and a plugin structure, rework the system plugins.

chore: align method receivers

Add debugging values in dpi calculation

README.md: Add godoc and go report card badge

plugin: Add tests

plugin: Add json method codec tests

plugin: Add first method channel tests

chore: Make lint and vet happier and fix spelling mistakes.

chore: Improve identifiers

.github: Update and simplify the issue template

.github: Add template for plugin issues

fixes: gitter link in README.md

chore: adds link to plugins repo

godoc: Handle doc 'MissingPluginException'

Add sane defaults for assets and icudtl

Remove forced pixelratio

Oops, debugging leftover..

Resolve executable path for flutter_assets an icudtl.dat

internal/execpath: cleanup

Improve engine result handling

Add support for sync method handlers

Remove hover desktop setup from example

go.mod: Add test dependencies

Remove duplicate pixels to screencoordinates calculation

Fixes go-flutter-desktop#101

.github: Add example template

Fix broken tests, now using ResponseSender.

README.md: Restructure and simpler getting started

Remove examples

Fix panic and remove glfw dependency from embedder

chore: cleanup and deprecation warnings

Upgrade embedder.h, implement mouse hovering, cleanup glfw cursor handling

embedder: Add README.md

embedder/README.md: cleanup and typo's

Cleanup PointerPhaseNone

Cleanup debug remnant

README.md: Add mouse-over to supported features

Fix go-flutter-desktop#113: Don't double-add event of pointerPhase

embedder: upgrade embedder.h to flutter/engine for v1.5.4-hotfix.2 (52c7a1e849a170be4b2b2fe34142ca2c0a6fea1f)

Implement pointer scrolling.

Fixes go-flutter-desktop#6

Add initial implementation for system navigator pop event (go-flutter-desktop#142)

Unexport PopBehaviorKind

chore: Remove relic of the past

Add WindowMode Option for bordreless and borderless fullscreen windows. (go-flutter-desktop#144)

Add window dimension limits (go-flutter-desktop#145)

* Add window dimensions limits

Add renovate.json

Update github.com/go-gl/glfw commit hash to e6da0ac

pull origin

Revert "pull origin"

This reverts commit 7f1705a.

feature: support for RawKeyboard events

Uses the the RawKeyEventDataLinux for every platform.
RawKeyEventDataLinux is the only Flutter implementation that support the
GLFW Toolkit, the events data is sended as it is, no translation is made
in go-flutter, everything is handled by the Flutter framework.

Update README.md

translate glfw.Repeat to glfw.Press to match other shell's keyevents

fix comment

Removed debug

Removed debug

Renamed var (coded = ☁️ or 😴

New way to handle keyboard

New way to handle keyboard shortcut bind

Fixed masking issue

Fixed masking
zephylac pushed a commit to zephylac/go-flutter that referenced this issue Jun 17, 2019
Support Chinese URL (go-flutter-desktop#48)

Fixes go-flutter-desktop#48

Support MacShortcuts

Support quick cursor move

Clarification of the purpose explanation. go-flutter-desktop#54

Fixes go-flutter-desktop#54, confusing README

Update README.md

Fix regression caused by go-flutter-desktop#47

Feature/keyboard layout support (go-flutter-desktop#57)

* Support different layout

* Exported struct, user can use it in main

* Renaming function (matchin new format)

* Added default value for shortcuts

* Removed local import (testing)

* Added keyboard config

* Check for optionnal keyboard

* Fixed renaming

* Fixed regression

* new example for keyboard

* Added explaination

Now only send boolean

Changed to boolean parameter & fixed textSelection

Fixed some issue, added backspace wordTravellerKEy support

wordTravellerKEy added (alt for MacOS, Ctrl for others)

Update BUG.md (go-flutter-desktop#69)

Removes the "task list" from the template.

Add gl_proc_resolver to resolve GL procs within the GLFW context (go-flutter-desktop#71)

Fix two race conditions and a type conversion mistake (go-flutter-desktop#70)

GLFW callbacks: Obtaining the index of the engine using the window userPointer

Engine Args: main_path and packages_path should be set null

Assert that EngineOpenGL was created using NewEngineOpenGL (go-flutter-desktop#73)

Update LICENSE

Calculate pixel_ratio based on users' display (go-flutter-desktop#75)

Update release mode flag

Example: User defined Pixel Ratio

Moved project (go-flutter-desktop#76)

Rename a bunch of things:
- import path github.com/Drakirus/go-flutter-desktop-embedder > github.com/go-flutter-desktop/go-flutter
- package path go-flutter/flutter > go-flutter/embedder
- package name flutter > embedder
- package name gutter > flutter
- embedder.EngineOpenGL > embedder.FlutterEngine
- identifier flutterOGL > flutterEngine
- formatted embedder.embedder_helper.c

README.md: Package rename, change to introduction

Fix Linux control issue

Fixes go-flutter-desktop#79: cgo identifiers conflict

README.md: Add version compatibility information

Deprecate OptionWindowInitializer, add WindowIcon

Update embedder definitions (go-flutter-desktop#81)

updated stocks demo so it work with flutter 1.2.1

Update README.md (go-flutter-desktop#85)

* Update README.md
fixes cd path

Add go.mod

Fix go.mod

Add codecs and a plugin structure, rework the system plugins.

chore: align method receivers

Add debugging values in dpi calculation

README.md: Add godoc and go report card badge

plugin: Add tests

plugin: Add json method codec tests

plugin: Add first method channel tests

chore: Make lint and vet happier and fix spelling mistakes.

chore: Improve identifiers

.github: Update and simplify the issue template

.github: Add template for plugin issues

fixes: gitter link in README.md

chore: adds link to plugins repo

godoc: Handle doc 'MissingPluginException'

Add sane defaults for assets and icudtl

Remove forced pixelratio

Oops, debugging leftover..

Resolve executable path for flutter_assets an icudtl.dat

internal/execpath: cleanup

Improve engine result handling

Add support for sync method handlers

Remove hover desktop setup from example

go.mod: Add test dependencies

Remove duplicate pixels to screencoordinates calculation

Fixes go-flutter-desktop#101

.github: Add example template

Fix broken tests, now using ResponseSender.

README.md: Restructure and simpler getting started

Remove examples

Fix panic and remove glfw dependency from embedder

chore: cleanup and deprecation warnings

Upgrade embedder.h, implement mouse hovering, cleanup glfw cursor handling

embedder: Add README.md

embedder/README.md: cleanup and typo's

Cleanup PointerPhaseNone

Cleanup debug remnant

README.md: Add mouse-over to supported features

Fix go-flutter-desktop#113: Don't double-add event of pointerPhase

embedder: upgrade embedder.h to flutter/engine for v1.5.4-hotfix.2 (52c7a1e849a170be4b2b2fe34142ca2c0a6fea1f)

Implement pointer scrolling.

Fixes go-flutter-desktop#6

Add initial implementation for system navigator pop event (go-flutter-desktop#142)

Unexport PopBehaviorKind

chore: Remove relic of the past

Add WindowMode Option for bordreless and borderless fullscreen windows. (go-flutter-desktop#144)

Add window dimension limits (go-flutter-desktop#145)

* Add window dimensions limits

Add renovate.json

Update github.com/go-gl/glfw commit hash to e6da0ac

pull origin

Revert "pull origin"

This reverts commit 7f1705a.

feature: support for RawKeyboard events

Uses the the RawKeyEventDataLinux for every platform.
RawKeyEventDataLinux is the only Flutter implementation that support the
GLFW Toolkit, the events data is sended as it is, no translation is made
in go-flutter, everything is handled by the Flutter framework.

Update README.md

translate glfw.Repeat to glfw.Press to match other shell's keyevents

fix comment

Removed debug

Removed debug

Renamed var (coded = ☁️ or 😴

New way to handle keyboard

New way to handle keyboard shortcut bind

Fixed masking issue

Fixed masking
zephylac pushed a commit to zephylac/go-flutter that referenced this issue Jul 3, 2019
Support Chinese URL (go-flutter-desktop#48)

Fixes go-flutter-desktop#48

Support MacShortcuts

Support quick cursor move

Clarification of the purpose explanation. go-flutter-desktop#54

Fixes go-flutter-desktop#54, confusing README

Update README.md

Fix regression caused by go-flutter-desktop#47

Feature/keyboard layout support (go-flutter-desktop#57)

* Support different layout

* Exported struct, user can use it in main

* Renaming function (matchin new format)

* Added default value for shortcuts

* Removed local import (testing)

* Added keyboard config

* Check for optionnal keyboard

* Fixed renaming

* Fixed regression

* new example for keyboard

* Added explaination

Now only send boolean

Changed to boolean parameter & fixed textSelection

Fixed some issue, added backspace wordTravellerKEy support

wordTravellerKEy added (alt for MacOS, Ctrl for others)

Update BUG.md (go-flutter-desktop#69)

Removes the "task list" from the template.

Add gl_proc_resolver to resolve GL procs within the GLFW context (go-flutter-desktop#71)

Fix two race conditions and a type conversion mistake (go-flutter-desktop#70)

GLFW callbacks: Obtaining the index of the engine using the window userPointer

Engine Args: main_path and packages_path should be set null

Assert that EngineOpenGL was created using NewEngineOpenGL (go-flutter-desktop#73)

Update LICENSE

Calculate pixel_ratio based on users' display (go-flutter-desktop#75)

Update release mode flag

Example: User defined Pixel Ratio

Moved project (go-flutter-desktop#76)

Rename a bunch of things:
- import path github.com/Drakirus/go-flutter-desktop-embedder > github.com/go-flutter-desktop/go-flutter
- package path go-flutter/flutter > go-flutter/embedder
- package name flutter > embedder
- package name gutter > flutter
- embedder.EngineOpenGL > embedder.FlutterEngine
- identifier flutterOGL > flutterEngine
- formatted embedder.embedder_helper.c

README.md: Package rename, change to introduction

Fix Linux control issue

Fixes go-flutter-desktop#79: cgo identifiers conflict

README.md: Add version compatibility information

Deprecate OptionWindowInitializer, add WindowIcon

Update embedder definitions (go-flutter-desktop#81)

updated stocks demo so it work with flutter 1.2.1

Update README.md (go-flutter-desktop#85)

* Update README.md
fixes cd path

Add go.mod

Fix go.mod

Add codecs and a plugin structure, rework the system plugins.

chore: align method receivers

Add debugging values in dpi calculation

README.md: Add godoc and go report card badge

plugin: Add tests

plugin: Add json method codec tests

plugin: Add first method channel tests

chore: Make lint and vet happier and fix spelling mistakes.

chore: Improve identifiers

.github: Update and simplify the issue template

.github: Add template for plugin issues

fixes: gitter link in README.md

chore: adds link to plugins repo

godoc: Handle doc 'MissingPluginException'

Add sane defaults for assets and icudtl

Remove forced pixelratio

Oops, debugging leftover..

Resolve executable path for flutter_assets an icudtl.dat

internal/execpath: cleanup

Improve engine result handling

Add support for sync method handlers

Remove hover desktop setup from example

go.mod: Add test dependencies

Remove duplicate pixels to screencoordinates calculation

Fixes go-flutter-desktop#101

.github: Add example template

Fix broken tests, now using ResponseSender.

README.md: Restructure and simpler getting started

Remove examples

Fix panic and remove glfw dependency from embedder

chore: cleanup and deprecation warnings

Upgrade embedder.h, implement mouse hovering, cleanup glfw cursor handling

embedder: Add README.md

embedder/README.md: cleanup and typo's

Cleanup PointerPhaseNone

Cleanup debug remnant

README.md: Add mouse-over to supported features

Fix go-flutter-desktop#113: Don't double-add event of pointerPhase

embedder: upgrade embedder.h to flutter/engine for v1.5.4-hotfix.2 (52c7a1e849a170be4b2b2fe34142ca2c0a6fea1f)

Implement pointer scrolling.

Fixes go-flutter-desktop#6

Add initial implementation for system navigator pop event (go-flutter-desktop#142)

Unexport PopBehaviorKind

chore: Remove relic of the past

Add WindowMode Option for bordreless and borderless fullscreen windows. (go-flutter-desktop#144)

Add window dimension limits (go-flutter-desktop#145)

* Add window dimensions limits

Add renovate.json

Update github.com/go-gl/glfw commit hash to e6da0ac

pull origin

Revert "pull origin"

This reverts commit 7f1705a.

feature: support for RawKeyboard events

Uses the the RawKeyEventDataLinux for every platform.
RawKeyEventDataLinux is the only Flutter implementation that support the
GLFW Toolkit, the events data is sended as it is, no translation is made
in go-flutter, everything is handled by the Flutter framework.

Update README.md

translate glfw.Repeat to glfw.Press to match other shell's keyevents

fix comment

Removed debug

Removed debug

Renamed var (coded = ☁️ or 😴

New way to handle keyboard

New way to handle keyboard shortcut bind

Fixed masking issue

Fixed masking
zephylac pushed a commit to zephylac/go-flutter that referenced this issue Jul 3, 2019
Support Chinese URL (go-flutter-desktop#48)

Fixes go-flutter-desktop#48

Support MacShortcuts

Support quick cursor move

Clarification of the purpose explanation. go-flutter-desktop#54

Fixes go-flutter-desktop#54, confusing README

Update README.md

Fix regression caused by go-flutter-desktop#47

Feature/keyboard layout support (go-flutter-desktop#57)

* Support different layout

* Exported struct, user can use it in main

* Renaming function (matchin new format)

* Added default value for shortcuts

* Removed local import (testing)

* Added keyboard config

* Check for optionnal keyboard

* Fixed renaming

* Fixed regression

* new example for keyboard

* Added explaination

Now only send boolean

Changed to boolean parameter & fixed textSelection

Fixed some issue, added backspace wordTravellerKEy support

wordTravellerKEy added (alt for MacOS, Ctrl for others)

Update BUG.md (go-flutter-desktop#69)

Removes the "task list" from the template.

Add gl_proc_resolver to resolve GL procs within the GLFW context (go-flutter-desktop#71)

Fix two race conditions and a type conversion mistake (go-flutter-desktop#70)

GLFW callbacks: Obtaining the index of the engine using the window userPointer

Engine Args: main_path and packages_path should be set null

Assert that EngineOpenGL was created using NewEngineOpenGL (go-flutter-desktop#73)

Update LICENSE

Calculate pixel_ratio based on users' display (go-flutter-desktop#75)

Update release mode flag

Example: User defined Pixel Ratio

Moved project (go-flutter-desktop#76)

Rename a bunch of things:
- import path github.com/Drakirus/go-flutter-desktop-embedder > github.com/go-flutter-desktop/go-flutter
- package path go-flutter/flutter > go-flutter/embedder
- package name flutter > embedder
- package name gutter > flutter
- embedder.EngineOpenGL > embedder.FlutterEngine
- identifier flutterOGL > flutterEngine
- formatted embedder.embedder_helper.c

README.md: Package rename, change to introduction

Fix Linux control issue

Fixes go-flutter-desktop#79: cgo identifiers conflict

README.md: Add version compatibility information

Deprecate OptionWindowInitializer, add WindowIcon

Update embedder definitions (go-flutter-desktop#81)

updated stocks demo so it work with flutter 1.2.1

Update README.md (go-flutter-desktop#85)

* Update README.md
fixes cd path

Add go.mod

Fix go.mod

Add codecs and a plugin structure, rework the system plugins.

chore: align method receivers

Add debugging values in dpi calculation

README.md: Add godoc and go report card badge

plugin: Add tests

plugin: Add json method codec tests

plugin: Add first method channel tests

chore: Make lint and vet happier and fix spelling mistakes.

chore: Improve identifiers

.github: Update and simplify the issue template

.github: Add template for plugin issues

fixes: gitter link in README.md

chore: adds link to plugins repo

godoc: Handle doc 'MissingPluginException'

Add sane defaults for assets and icudtl

Remove forced pixelratio

Oops, debugging leftover..

Resolve executable path for flutter_assets an icudtl.dat

internal/execpath: cleanup

Improve engine result handling

Add support for sync method handlers

Remove hover desktop setup from example

go.mod: Add test dependencies

Remove duplicate pixels to screencoordinates calculation

Fixes go-flutter-desktop#101

.github: Add example template

Fix broken tests, now using ResponseSender.

README.md: Restructure and simpler getting started

Remove examples

Fix panic and remove glfw dependency from embedder

chore: cleanup and deprecation warnings

Upgrade embedder.h, implement mouse hovering, cleanup glfw cursor handling

embedder: Add README.md

embedder/README.md: cleanup and typo's

Cleanup PointerPhaseNone

Cleanup debug remnant

README.md: Add mouse-over to supported features

Fix go-flutter-desktop#113: Don't double-add event of pointerPhase

embedder: upgrade embedder.h to flutter/engine for v1.5.4-hotfix.2 (52c7a1e849a170be4b2b2fe34142ca2c0a6fea1f)

Implement pointer scrolling.

Fixes go-flutter-desktop#6

Add initial implementation for system navigator pop event (go-flutter-desktop#142)

Unexport PopBehaviorKind

chore: Remove relic of the past

Add WindowMode Option for bordreless and borderless fullscreen windows. (go-flutter-desktop#144)

Add window dimension limits (go-flutter-desktop#145)

* Add window dimensions limits

Add renovate.json

Update github.com/go-gl/glfw commit hash to e6da0ac

pull origin

Revert "pull origin"

This reverts commit 7f1705a.

feature: support for RawKeyboard events

Uses the the RawKeyEventDataLinux for every platform.
RawKeyEventDataLinux is the only Flutter implementation that support the
GLFW Toolkit, the events data is sended as it is, no translation is made
in go-flutter, everything is handled by the Flutter framework.

Update README.md

translate glfw.Repeat to glfw.Press to match other shell's keyevents

fix comment

Removed debug

Removed debug

Renamed var (coded = ☁️ or 😴

New way to handle keyboard

New way to handle keyboard shortcut bind

Fixed masking issue

Fixed masking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

4 participants