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

Image preview panel: Selecting text in filename edit field doesn't always engage edit mode #1795

Open
ZebulonGlitch opened this issue Nov 15, 2022 · 0 comments

Comments

@ZebulonGlitch
Copy link

Describe the bug
This is assuming you've pressed the little "i" button to review the file name edit field. Great feature. Depending on your prior actions, it can be that when someone clicks and drags to select text within a file name, "rename edit" mode fails to be triggered, leaving the user with a text selection they can't type over.

To Reproduce
Sadly I can't isolate an exact UI sequence to reproduce. But I am using the program a lot in the last days, 5 or 6 hours a day at least, and it happens regularly. Reason: My old file names have elements that I am converting into tags bit by bit. So after tagging I always grab the parts left of the "[" and clean them up. My general flow:

  1. Click a file in the gallery, press the "i" button above the image preview to expand if not visible. Add tags. (Variously by drag and drop, typing and picking from the list, or direct file name editing within the square brackets.
  2. With the mouse, select part of file name text to modify in the file name dialog.
  3. Sometimes, edit mode is not engaged. It shows the "Rename" button on the right, and seems unaware the selection was made.
  4. When in this funky state, keyboard input is ignored. Must grab the mouse and click around a bit get into edit mode and re-make the text selection.
    Note: A short click seems to always activate edit mode. It's only the click and drag selection action that seems to have this edge case glitch.

Expected behavior
Much of the time, selecting text correctly triggers the file name editing mode. But not always.

Screenshots
n/a

Desktop Application:
Linux Mint 21, TagSpaces 5.0.5 via Appimage

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant