Tortoisesvn context menu: workaround found, but not perfect
Tortoisesvn context menu: workaround found, but not perfect
So, I had noticed from the beginning that one feature of tortoisesvn's shell integration was missing, which I just assumed was an issue resulting from the lack of a proper x64 build, even though tortoise claims that they fixed that issue on their end (having their x64 install install both versions). But I realized: if it were an issue, wouldn't all the shell integrations not be working? Folders and files that are versioned have shell overlays, and if I click on a file or folder, I get the expected context menu items. I only don't get any context menu items (for tortoisesvn, or for a couple other, less important programs that have hooks to that particular menu in other file managers) if I click on the empty space in the main browser pane. Which is kind of annoying, as that's how I'm used to updating and committing. (I can still go up a folder and update or commit on the context menu of the parent folder item, but it's annoying.)
Is this an issue on their end (possibly it installs 32-bit versions of some things and not others?), or it is possible there could be an issue on yours (that it just doesn't respect hooks on that particular menu?)
Is this an issue on their end (possibly it installs 32-bit versions of some things and not others?), or it is possible there could be an issue on yours (that it just doesn't respect hooks on that particular menu?)
Last edited by neminem on 08 Sep 2012 02:40, edited 2 times in total.
Re: One Tortoisesvn context menu: possibly -not- an x64 issu
Indeed, by default right-clicking the white (empty) space in the list does not show the shell context menu.
There are numerous ways to get that menu though.
There are numerous ways to get that menu though.
- Obviously, right-click on the folder in the tree.
- Right-click the folder's icon in the address bar.
- Set the following INI tweak to 1:
Code: Select all
; Tweak: 0=Edit menu, 1=Folder's shell menu, 2=Favorites, 3=reserved, 4=Tabs CEA_ListRightClickOnWhite=1
Re: One Tortoisesvn context menu: possibly -not- an x64 issu
Awesome. That is kind of silly - why would that possibly be default (and not even exposed how to change it)? Anyway, setting that tweak to 1 did fix the issue (or close enough).
It is also silly in that there is clearly a context menu in Explorer specifically for handling right-clicking that empty space, distinct from the shell menu on the folder... but in this case, I like having the folder's context menu better anyway (it has everything important the native whitespace context menu had, and also a few more things that are also useful). But still, weird (I'm lucky in that tortoisesvn adds update/commit/etc to the folder's menu and to the menu on its content's whitespace, and they do the same thing. Those couple other shell hooks I don't really care about only show up on the actual whitespace menu, but I don't really care about them.)
(Also, I'm weird: I don't like trees. I've had them always hidden since the earliest Win95 days. I move directories with the keyboard.)
It is also silly in that there is clearly a context menu in Explorer specifically for handling right-clicking that empty space, distinct from the shell menu on the folder... but in this case, I like having the folder's context menu better anyway (it has everything important the native whitespace context menu had, and also a few more things that are also useful). But still, weird (I'm lucky in that tortoisesvn adds update/commit/etc to the folder's menu and to the menu on its content's whitespace, and they do the same thing. Those couple other shell hooks I don't really care about only show up on the actual whitespace menu, but I don't really care about them.)
(Also, I'm weird: I don't like trees. I've had them always hidden since the earliest Win95 days. I move directories with the keyboard.)
Re: One Tortoisesvn context menu: possibly -not- an x64 issu
I imagine it's done this way in XY because past versions of Windows were notoriously slow at loading the extensions and displaying the context menu, and Don preferred a quicker menu with some common actions to the cluttered and slow menu with more options.neminem wrote:Awesome. That is kind of silly - why would that possibly be default (and not even exposed how to change it)? Anyway, setting that tweak to 1 did fix the issue (or close enough).
The good news is that this seems intentional, though I'm struggling to find an explanation of why.neminem wrote:It is also silly in that there is clearly a context menu in Explorer specifically for handling right-clicking that empty space, distinct from the shell menu on the folder... but in this case, I like having the folder's context menu better anyway (it has everything important the native whitespace context menu had, and also a few more things that are also useful). But still, weird (I'm lucky in that tortoisesvn adds update/commit/etc to the folder's menu and to the menu on its content's whitespace, and they do the same thing. Those couple other shell hooks I don't really care about only show up on the actual whitespace menu, but I don't really care about them.)
It would seem that you could copy the keys you want in the white space menu from:
HKCR\Directory\shellex\ContextMenuHandlers\
to
HKCR\Directory\Background\shellex\ContextMenuHandlers\
(or vice versa) but I'm too lazy to reboot to verify that this works.
It does seem XYplorer isn't showing the correct context menu when using that INI Tweak but I think we can pretend to have not made this discovery.
EDIT: Actually it seems someone already reported and made the wish for XY to support that context menu: http://www.xyplorer.com/xyfc/viewtopic.php?f=5&t=8455
I used to be the same way but when Don introduced Mini Tree I started to use it and now keep a small locked tree with some frequently used and near root level locations. I still prefer to use the address bar for navigating around, though.neminem wrote:Also, I'm weird: I don't like trees. I've had them always hidden since the earliest Win95 days.
Re: Tortoisesvn context menu: -not- an x64 issue? (Tweak fou
Alright, I take back what I said: using that tweak is not at all a perfect workaround: after applying that tweak yesterday, I just went to make a new folder from the right-click context menu, and discovered that New wasn't in that context menu (it is in the actual context menu for empty folder space, and I use that all the time).
Semi-relatedly: Right-clicking empty space should also, like left-clicking empty space, deselect anything that was previously selected.
Semi-relatedly: Right-clicking empty space should also, like left-clicking empty space, deselect anything that was previously selected.
-
- Site Admin
- Posts: 59751
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Tortoisesvn context menu: -not- an x64 issue? (Tweak fou
No idea how to get that folder white space context menu.
Not in XY, since the menu offers actions (Copy To... etc) on the selected items.neminem wrote:Semi-relatedly: Right-clicking empty space should also, like left-clicking empty space, deselect anything that was previously selected.
FAQ | XY News RSS | XY Twitter
Re: Tortoisesvn context menu: -not- an x64 issue? (Tweak fou
I think the link in TheQwerty's post has the answer:admin wrote:No idea how to get that folder white space context menu.
- HKEY_CLASSES_ROOT\Directory\Background
-
- Site Admin
- Posts: 59751
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Tortoisesvn context menu: -not- an x64 issue? (Tweak fou
Thanks, it did not directly contain the answer, but it made me look again and I found something. Needs further research...mwb1100 wrote:I think the link in TheQwerty's post has the answer:admin wrote:No idea how to get that folder white space context menu.
- HKEY_CLASSES_ROOT\Directory\Background
FAQ | XY News RSS | XY Twitter
Re: Tortoisesvn context menu: workaround found, but not perf
Heh, I was just reminded, any results on the research? I'd rather have TortoiseSVN commands on the folder context menu than New->, but I'd really rather have both. :p
-
- Site Admin
- Posts: 59751
- Joined: 22 May 2004 16:48
- Location: Win8.1 @100%, Win10 @100%
- Contact:
Re: Tortoisesvn context menu: workaround found, but not perf
Yes, positive results. It's on my list.neminem wrote:Heh, I was just reminded, any results on the research? I'd rather have TortoiseSVN commands on the folder context menu than New->, but I'd really rather have both. :p
FAQ | XY News RSS | XY Twitter
Re: Tortoisesvn context menu: workaround found, but not perf
Excellent to hear. So glad I switched from e++ to a program where things actually get looked at and fixed.
Re: One Tortoisesvn context menu: possibly -not- an x64 issu
This now appears to be the default in my new Xplorer installation, but I still cannot get a shell/TortoiseSVN context menu when I right-click an empty area.TheQwerty wrote: ↑05 Sep 2012 19:07 Indeed, by default right-clicking the white (empty) space in the list does not show the shell context menu.
There are numerous ways to get that menu though.
- Obviously, right-click on the folder in the tree.
- Right-click the folder's icon in the address bar.
- Set the following INI tweak to 1:
Code: Select all
; Tweak: 0=Edit menu, 1=Folder's shell menu, 2=Favorites, 3=reserved, 4=Tabs CEA_ListRightClickOnWhite=1
Re: Tortoisesvn context menu: workaround found, but not perfect
The last post is 12 years old...
The value of 1 is probably: Pop up Edit menu and not Pop up folder's context menu...
The value of 1 is probably: Pop up Edit menu and not Pop up folder's context menu...
One of my scripts helped you out? Please donate via Paypal or paypal_donate (at) stdmail (dot) de