External (hardware) mouse - TextActions don't react to mouse click, only touch works
- Dominant language
- Java
- Stars
- 6.1k
- Forks
- 537
- Avg merge
- 1d 18h
- Merged PRs (30d)
- 4
Description
### ⚠️ This issue respects the following points: ⚠️
- [X] This is a **bug**. Not a [question or feature request](https://github.com/gsantner/markor/issues/new/choose).
- [X] The topic is **not** already reported at [Issues](https://github.com/gsantner/markor/issues?q=#js-issues-search). _(I've searched it)_.
- [X] Markor **is** up to date. See [Releases](https://github.com/gsantner/markor/tags) for the latest version. Updates are available from [F-Droid](https://f-droid.org/en/packages/net.gsantner.markor/) and GitHub.
- [X] The bug is still present in the latest development version (git master). (Please [download](https://nightly.link/gsantner/markor/workflows/build-android-project/master) and try the test version of Markor, named **Marder**. Don't worry; Markor and Marder appear as completely separate applications. You can install both side-by-side, and Markor settings are not touched. In case the issue is resolved there, you don't need to create a bug report. The change will be part of the next Markor update.)
### Description
Hi.
In landscape, with an external mouse connected, if I mouse click on an action button in the editor, it will not push the button but instead will scroll the action toolbar. Finger tap on the button will push the button.
What I expect: mouse click on an action button in landscape will push that button, like a finger tap does.

### Steps to reproduce
1. Connect a mouse to the device (I use a bluetooth mouse)
2. Put the device in landscape orientation - the toolbar with the buttons should be at the bottom of the screen
3. Go to edit mode in Markor (I tested this with .md files)
4. Try clicking a toolbar button with the mouse - clicks won't push buttons, but the toolbar will scroll sideways
5. Tap a toolbar button with a finger - this will push the button properly
### Information
Android version: 13
Device: samsung s20+
App Version: 2.10.8
### Source
F-Droid
### Format / File type
Not specific
### Additional info / Log
```shell
-
```
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue in Markor's editor action toolbar in landscape with an external mouse, then compare mouse clicks with finger taps. Done means clicking an action button activates it instead of scrolling the toolbar, while touch behavior remains unchanged.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- android, java
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100