Page 1 of 1

Show the default context menu in Preview

Posted: Sat Aug 10, 2019 8:43 am
by vsub
Is it possible to add a feature to show the default context menu while right clicking on the prevew window
For example I often want to copy a text which I view in the preview and the first thing I do when I mark the text is right clicking to choose copy but that don't work,I have to use the keyboard combination if I want to copy the text

Re: Show the default context menu in Preview

Posted: Sat Aug 10, 2019 4:20 pm
by horst.epp
vsub wrote: Sat Aug 10, 2019 8:43 am Is it possible to add a feature to show the default context menu while right clicking on the prevew window
For example I often want to copy a text which I view in the preview and the first thing I do when I mark the text is right clicking to choose copy but that don't work,I have to use the keyboard combination if I want to copy the text
There is no need to add any function here.
Basic Lister supports Copy as text in right click menu.
That depends on what files you are viewing with what plugin.
Using the ULister plugin there is no problem to mark text and use the context menu to copy it.
Also CudaLister plugin offers a context menu for such actions.
So what files you are viewing with what plugins ?

Re: Show the default context menu in Preview

Posted: Sat Aug 10, 2019 5:01 pm
by tuska
2horst.epp
This is the Everything forum.

Re: Show the default context menu in Preview

Posted: Sat Aug 10, 2019 6:02 pm
by horst.epp
tuska wrote: Sat Aug 10, 2019 5:01 pm 2horst.epp
This is the Everything forum.
:oops:

Re: Show the default context menu in Preview

Posted: Sat Aug 10, 2019 7:21 pm
by NotNull
Now I wonder what you posted on the Total Commander forum .... :D

Re: Show the default context menu in Preview

Posted: Sun Aug 11, 2019 8:46 am
by horst.epp
NotNull wrote: Sat Aug 10, 2019 7:21 pm Now I wonder what you posted on the Total Commander forum .... :D
I'm still searching ... ;)

Re: Show the default context menu in Preview

Posted: Mon Aug 12, 2019 8:25 am
by void
Everything doesn't process the right click event. It's up to the preview handler to process this event.

It would be possible to override the right click event. However, this may break preview handlers that want a right click.

I have on my TODO list to implement my own text preview handler. I would add my own right click context menu for this so you can select all / copy to the clipboard.