Skip to content
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

Can't open app with right swipe #159

Open
6 tasks done
krzysztofkub opened this issue Jul 26, 2024 · 8 comments
Open
6 tasks done

Can't open app with right swipe #159

krzysztofkub opened this issue Jul 26, 2024 · 8 comments
Labels
bug Something isn't working

Comments

@krzysztofkub
Copy link

krzysztofkub commented Jul 26, 2024

Describe the bug
On garmin venu 3 can't open app by creating right swipe shortcut. Screen is blank for a second but then closes. I have to do it couple of times then app starts successfully

IMPORTANT!
I have:

To Reproduce
Steps to reproduce the behavior:

  1. Set up in watch settings shortcut to swipe right to app home assistant
  2. Swipe right on clock face
  3. Screen is going black for a second
  4. Screen is going back to watch face
  5. Nothing more happens

Expected behavior
I'd expect that HA app will open

Screenshots
If applicable, add screenshots to help explain your problem.

Garmin Device (please complete the following information):

  • Model: Venu 3

Smartphone (please complete the following information):

  • Device: Samusng Galaxy S23

Additional context
It kind of work when I leave my finger on screen after swipe. All other apps on my watch work fine, only problem is HA app

@krzysztofkub krzysztofkub added the bug Something isn't working label Jul 26, 2024
@philipabbey
Copy link
Collaborator

We do not have the hardware to reproduce this issue. The description is alien to me as I don't recognise the "swipe right" functionality of the Venu 3 device. The application works just on Venu2 hardware and operates the same as that in the simulator.

Can you post a video to demonstrate the issue please?

@krzysztofkub
Copy link
Author

https://www.youtube.com/watch?v=lDWGfoD3Qe8&ab_channel=HowTo
at 0:15 you can see shortcut menu. You can define action per each:

  • middle button tap
  • middle button hold
  • right swipe

Also in my report, under Screenshots section I've added video of the issue, please check it

@philipabbey
Copy link
Collaborator

Superb and comprehensive video here. Thank you.

So the bottom line is, its just another means to start the HA app, no additional thrills from what I can see. Interesting that on my Venu 2, I have a single "swipe" shortcut but it can only work with a subset of the vendor apps (save location, music controller) and not with any user installed apps.

This leaves me in an awkward position. If the HA app works when invoked from a menu of apps, then its not obvious why it would not work when invoked any other way. It just has to start.

Nor does the simulator allow me to simulate this way of invoking the App that I can immediately see. I totally get why you would want this to work, I would. Unfortunately the crash reports that the device generates include insufficient detail to provide a lead on why the app may not have started. So I need more information to resolve this, but have no idea how to get it.

@krzysztofkub
Copy link
Author

I'll try to investigate that further and maybe provide more details here. Would be nice if someone with venu 3 could check it if issue is more global.

Thanks for quick response

@philipabbey
Copy link
Collaborator

philipabbey commented Jul 26, 2024

Silly questions (forgive me):

  1. App still works when started other ways?
  2. Other user apps start okay from ashortcut?

I've checked the Internet, and no clues that something special needs to be provided by the App, like for example with a glance.

@mwendle
Copy link

mwendle commented Aug 18, 2024

I had the same problem. Enabling the "cached configuration" fixed it.
Or if you swipe very slowly or even hold your finger halfway, the app has time to display some ui elements and it starts. If you lift your finger and the app is not displaying anything yet, it will close immediately. see video

load.config.from.server.mp4

@philipabbey
Copy link
Collaborator

philipabbey commented Aug 18, 2024

That implies there's a fix since its the fetching of the menu that is implicated. I assume that when opening the application with a slow swipe, there's more time to perform the HTTP GET of the JSON menu file. When using a fast swipe the application fails to have the menu ready. Its a clue, but does not explain why starting the application from a list of applications and activities still works, and the swipe does not.

Thank you @mwendle for this information.

@philipabbey
Copy link
Collaborator

@krzysztofkub Please can you confirm if the advice from @mwendle worked for you? I appreciate it does not completely solve the problem.

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

No branches or pull requests

3 participants