xpra icon
Bug tracker and wiki

Opened 8 months ago

Closed 7 months ago

Last modified 7 months ago

#2221 closed enhancement (fixed)

client "run new command" to still allow the freetext execution

Reported by: stdedos Owned by: Antoine Martin
Priority: major Milestone: 3.0
Component: client Version: 2.4.x
Keywords: Cc:

Description

Sometime, the right-click > Server > Run command menu changed to have multiple drop-down menus.

Since I don't necessarily work well with those, can I also have the freetext-terminal execution (ala Alt+F2 style) that there was there before?
If I just want to run xterm, it is usually annoying for me to go through all these menus and figure out where is what. xterm is in System Tools, but gnome-terminal is in Utilities (?????)


A much better approach would be a fuzzy-text-search through all the lists (searching by menu name in all locales and executable), which would also default to "terminal execution" if no option was selected. Think of it like e.g. Sublime Text's Command Palette, with also a fallback option. But that sounds much more complicated to do.

If you plan to do that, please make sure that the search takes into account all command "names" (in all locales), along with the terminal name.
If I have a Greek locale, and I write "terminal", I'd very much like to see "gnome-terminal", "Terminal" as options instead of nothing (which will come both from the command executable gnome-terminal and from the English-locale name "Terminal").

Change History (3)

comment:1 Changed 8 months ago by Antoine Martin

Milestone: 2.53.0
Status: newassigned

comment:2 Changed 7 months ago by Antoine Martin

Resolution: fixed
Status: assignedclosed

I've gone for the simple solution in r22269: we always show the editable field so you can type in there.
I don't have time to implement the text matching logic.

comment:3 in reply to:  2 Changed 7 months ago by stdedos

Replying to Antoine Martin:

I've gone for the simple solution in r22269: we always show the editable field so you can type in there.
I don't have time to implement the text matching logic.

Yeah yeah sure! Whatever works!

I know that xpra is complex enough to maintain and improve, to bother with "extra" functionality.

Ιf you plan to do that, please make sure that the search takes into account all command "names" (in all locales), along with the terminal name.

Especially since no-one that has implemented searches (or "smart" searches) never bothered to do cross-locale, name-and-executed-command kind of fuzzy match

You may keep this open / open a new one if you like the feature. Or however you prefer to handle things.

Last edited 7 months ago by stdedos (previous) (diff)
Note: See TracTickets for help on using tickets.