context_menu icon indicating copy to clipboard operation
context_menu copied to clipboard

More granular control over when to show context menu

Open m-haisham opened this issue 4 years ago • 4 comments

For example:

  • File type
  • Location

m-haisham avatar Jun 05 '20 09:06 m-haisham

I'm planning on implementing file type in the future, and can you specify exactly what you mean by location? Thank you.

saleguas avatar Jun 05 '20 15:06 saleguas

C:/Users/*/Downloads for specific directory C:/Users/*/Downloads/* for all directories inside downloads C:/Users/*/Downloads/** for all files inside downloads

I'm not sure if this is possible but would be fantastic to have.

also how much information do we get to play with when deciding to display context menu

m-haisham avatar Jun 05 '20 18:06 m-haisham

I'm not currently sure how to activate on a specific directory, but it is a really cool feature. The information you get is deciding what type of section you want to fire on (folder background, files, etc.) and there is a table in the README describing this behavior. I'm planning on implementing opening on specific files in the future but for now that is all.

saleguas avatar Jun 06 '20 16:06 saleguas

Having more than one context menu is overwriting each other ? Any thoughts on that ? I have two files - simple_menu.py (type=FILES) , restore.py (type=DIRECTORY_BACKGROUND) But after compiling I see two restore.py context menu only in the background. not sure how simple_menu is lost.

susarlanikhilesh avatar May 12 '21 01:05 susarlanikhilesh