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

Mobile Entry: cursor arrows don't work #5258

Closed
2 tasks done
pjanx opened this issue Nov 12, 2024 · 8 comments
Closed
2 tasks done

Mobile Entry: cursor arrows don't work #5258

pjanx opened this issue Nov 12, 2024 · 8 comments
Labels
bug Something isn't working Driver:mobile Issues relating to the mobile driver specifically Keyboard Items for keyboard control OS:Android Tickets affecting only Android devices OS:iOS Tickets affecting only iOS devices

Comments

@pjanx
Copy link

pjanx commented Nov 12, 2024

Checklist

  • I have searched the issue tracker for open issues that relate to the same problem, before opening a new one.
  • This issue only relates to a single bug. I will open new issues for any other problems.

Describe the bug

Cursor arrows do not work on Entries on either Android or iOS simulator.
This may be a duplicate/subissue of #2331.

How to reproduce

  • Select an Entry.
  • Write something in it.
  • Try to use either of:
    • real keyboard arrows:
      • connect a USB keyboard to an Android or iOS device over USB
      • type arrows into an Android or iOS emulator
    • virtual keyboard arrows, such as these on Android:
      • Unexpected Keyboard *
      • Microsoft SwiftKey Japanese **
      • Samsung Keyboard Japanese

Screenshots

* That one button provides cursor arrows
Screenshot_20241116_120240

** The < > buttons are cursor arrows
Screenshot_20241116_120111

Example code

package main

import (
	"fyne.io/fyne/v2"
	"fyne.io/fyne/v2/app"
	"fyne.io/fyne/v2/widget"
)

func main() {
	a := app.New()
	w := a.NewWindow("Bugs")
	w.Resize(fyne.NewSize(640, 480))
	w.SetContent(widget.NewMultiLineEntry())
	w.ShowAndRun()
}

Fyne version

2.5.2

Go compiler version

1.23.2

Operating system and version

Android

Additional Information

No response

@pjanx pjanx added the unverified A bug that has been reported but not verified label Nov 12, 2024
@andydotxyz
Copy link
Member

How do you get virtual arrow keys up? Please include in replication steps.

@pjanx
Copy link
Author

pjanx commented Nov 16, 2024

Updated, with screenshots.

@andydotxyz andydotxyz changed the title Android/iOS: Entry: cursor arrows don't work Android Entry: cursor arrows don't work Nov 16, 2024
@andydotxyz
Copy link
Member

Thanks.
This seems to be android specific so I updated title as well.

@andydotxyz andydotxyz added bug Something isn't working OS:Android Tickets affecting only Android devices Keyboard Items for keyboard control and removed unverified A bug that has been reported but not verified labels Nov 16, 2024
@andydotxyz andydotxyz added this to the E fixes (v2.5.x) milestone Nov 16, 2024
@pjanx
Copy link
Author

pjanx commented Nov 16, 2024

Actually, no, you can connect any USB keyboard to an iPhone 15. And then there's iOS Simulator as well.

Presumably it's the same with Bluetooth keyboards, although I don't own one.

Even just normal iPad keyboards have arrows, although I don't have that either.

@andydotxyz
Copy link
Member

Even just normal iPad keyboards have arrows, although I don't have that either.

Can you tell me how to get that up on an iPad? I cannot see them...

@andydotxyz
Copy link
Member

Confirmed with bluetooth keyboard connected to iOS as well

@andydotxyz andydotxyz changed the title Android Entry: cursor arrows don't work Mobile Entry: cursor arrows don't work Nov 19, 2024
@andydotxyz andydotxyz added OS:iOS Tickets affecting only iOS devices Driver:mobile Issues relating to the mobile driver specifically labels Nov 19, 2024
@pjanx
Copy link
Author

pjanx commented Nov 19, 2024

By normal iPad keyboards, I meant, e.g. the Magic Keyboard.

@andydotxyz
Copy link
Member

Thanks, fixed now on develop and will be in 2.5.3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Driver:mobile Issues relating to the mobile driver specifically Keyboard Items for keyboard control OS:Android Tickets affecting only Android devices OS:iOS Tickets affecting only iOS devices
Projects
None yet
Development

No branches or pull requests

2 participants