Page 1 of 1
Tortoisesvn context menu: workaround found, but not perfect
Posted: 05 Sep 2012 18:20
by neminem
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?)
Re: One Tortoisesvn context menu: possibly -not- an x64 issu
Posted: 05 Sep 2012 19:07
by TheQwerty
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
EDIT: Clarification.
Re: One Tortoisesvn context menu: possibly -not- an x64 issu
Posted: 05 Sep 2012 19:20
by neminem
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.)
Re: One Tortoisesvn context menu: possibly -not- an x64 issu
Posted: 05 Sep 2012 20:03
by TheQwerty
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).
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: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.)
The good news is that this seems
intentional, though I'm struggling to find an explanation of why.
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
neminem wrote:Also, I'm weird: I don't like trees. I've had them always hidden since the earliest Win95 days.
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.
Re: Tortoisesvn context menu: -not- an x64 issue? (Tweak fou
Posted: 08 Sep 2012 02:40
by neminem
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.
Re: Tortoisesvn context menu: -not- an x64 issue? (Tweak fou
Posted: 08 Sep 2012 08:40
by admin
No idea how to get that folder white space context menu.
neminem wrote:Semi-relatedly: Right-clicking empty space should also, like left-clicking empty space, deselect anything that was previously selected.
Not in XY, since the menu offers actions (Copy To... etc) on the selected items.
Re: Tortoisesvn context menu: -not- an x64 issue? (Tweak fou
Posted: 09 Sep 2012 22:20
by mwb1100
admin wrote:No idea how to get that folder white space context menu.
I think
the link in
TheQwerty's post has the answer:
- HKEY_CLASSES_ROOT\Directory\Background
Re: Tortoisesvn context menu: -not- an x64 issue? (Tweak fou
Posted: 10 Sep 2012 08:43
by admin
mwb1100 wrote:admin wrote:No idea how to get that folder white space context menu.
I think
the link in
TheQwerty's post has the answer:
- HKEY_CLASSES_ROOT\Directory\Background
Thanks, it did not directly contain the answer, but it made me look again and I found something. Needs further research...
Re: Tortoisesvn context menu: workaround found, but not perf
Posted: 14 Nov 2012 19:53
by neminem
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
Re: Tortoisesvn context menu: workaround found, but not perf
Posted: 15 Nov 2012 09:08
by admin
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
Yes, positive results. It's on my list.
Re: Tortoisesvn context menu: workaround found, but not perf
Posted: 15 Nov 2012 16:49
by neminem
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
Posted: 08 Jan 2024 22:16
by elmonty
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
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.
Re: Tortoisesvn context menu: workaround found, but not perfect
Posted: 08 Jan 2024 22:30
by highend
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...