Skip to content

Conversation

@XTorLukas
Copy link
Contributor

@XTorLukas XTorLukas commented May 28, 2024

Resolved / Related Issues

To prevent extra work, all changes to the Files codebase must link to an approved issue marked as Ready to build. Please insert the issue number following the hashtag with the issue number that this Pull Request resolves.

https://discord.com/channels/725513575971684472/958783217941487616/1245094972043296848

  • An issue where there is no switching between panels using the touch screen.

Steps used to test these changes

Stability is a top priority for Files and all changes are required to go through testing before being merged into the repo. Please include a list of steps that you used to test this PR.

  1. Switch between panels in Dual Pane mode via touch on touch screen

yaira2
yaira2 previously approved these changes May 29, 2024
Copy link
Member

@yaira2 yaira2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks good to me but I'd like to wait until @hishitetsu can review.

@yaira2 yaira2 added the ready to merge Pull requests that are approved and ready to merge label May 29, 2024
@yaira2 yaira2 changed the title Fix: Fixed problem with focus not switching on touch screens Fix: Fixed an issue where panes couldn't be switched via touch May 29, 2024
Copy link
Member

@hishitetsu hishitetsu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This also slightly changes the behavior when using a mouse. The pane will switch when the button is pressed instead of when the button is released, but it would rather do so.
LGTM

@XTorLukas
Copy link
Contributor Author

@hishitetsu If we want to specify more precisely the finger tap, I can use Tapped instead of PointerPressed

@hishitetsu
Copy link
Member

@hishitetsu If we want to specify more precisely the finger tap, I can use Tapped instead of PointerPressed

I'd rather use PointerPressed.

@XTorLukas XTorLukas requested a review from hishitetsu May 31, 2024 13:29
@yaira2 yaira2 merged commit 32acb63 into files-community:main May 31, 2024
@XTorLukas XTorLukas deleted the xtorlukas/Fix-NotChangePaneViaTouch branch May 31, 2024 14:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready to merge Pull requests that are approved and ready to merge

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants