edgetx icon indicating copy to clipboard operation
edgetx copied to clipboard

SD Card Navigation Folder Operations

Open jmxp69 opened this issue 4 years ago • 1 comments

Current long press of files in sd card browser offers pop-up action menu with "Execute, Copy, Rename, Delete" Current long press of folders in sd card browser enters folder. Current short press of folder enters folder.

This is not consistent. Long press on folder should yield action menu with "Copy, Paste, Rename, Delete"

I realize it's browser, but the actions available are inconsistent.

jmxp69 avatar Jun 22 '21 18:06 jmxp69

There is no (Execute, Copy, Rename, Delete) for folder ATM. To make UI consistent I propose to switch off contextual menu on ENTER long-press when selection is focused on folder type element

JimB40 avatar Nov 11 '21 05:11 JimB40

Looking at the code, the file browser is based on the TableField class from the libopenui sub project.

There is no long press handler per-se. A long press is treated just like a short press.

The first time a file is clicked it is selected and if it can be previewed a preview is displayed. When the currently selected file is clicked the popup menu opens.

When a folder is clicked it automatically opens.

To address this would require changes to the TableField class in libopenui, or replacing it with something else.

philmoz avatar Jan 18 '23 03:01 philmoz