Edit: changed the beta version time. See next post.
Right Click on White Space mouse behavior
Forum rules
You might want to read this if you're looking for priority service
Please Include The Following Information
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
Use Your Profile Or Signature
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
How To Attach Images
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
You might want to read this if you're looking for priority service
1) Your XYplorer Version (e.g., v28.00.0801)
2) Your Windows Version (e.g., Win 11)
3) Your Screen Scaling Percentage (e.g., 125%).
We strongly recommend adding your Windows Version and Screen Scaling Percentage to the Location field in your Profile or to your Signature. That way, you only have to type them once, and we won't have to search for that vital information.
When attaching an Image, please use the Attachment tab at the bottom of your post and click "Add files".
-
klownboy
- Posts: 4481
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Right Click on White Space mouse behavior
Hi Don, I noticed a difference in the behavior of Right Click on WhiteSpace in recent days following beta v15.80.0002 v15.60.0015 . In the past we could generate an action via a script placed in the "CEA_ListRightClickOnWhite_Script=" in XYplorer.ini whether it was to run a program or bring up a menu by right click dragging from white space outside the filename to within the filename to highlight the file or multiple files. Now that doesn't work - the file is highlighted, but the assigned ListRightClickOnWhite action does not work. It seems like the difference between a mouse down reaction (as it was before) versus a mouse release action as it is now (i.e., WhiteSpace action is now being triggered on mouse release vs mouse down). Was there an unintentional change in this behavior? It was kind of nice to be able to start a right click on white and drag into the filename and have an appropriate menu display as oppose to separately selecting a filename and then clicking on white. Stef123 confirmed this behavior change here. Thanks
Edit: changed the beta version time. See next post.
Edit: changed the beta version time. See next post.
Last edited by klownboy on 28 Sep 2015 19:06, edited 1 time in total.
-
klownboy
- Posts: 4481
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: Right Click on White Space mouse behavior
Don concerning the above behavior, I went back I tried a number of previous revisions. The old behavior worked in version 15.60.0015 and changed or didn't work in version 15.70.0001. So possibly it was the copy/move drag and drop change in behavior described in v15.70.0000 that changed the ListRightClickonWhite.
-
tedy
- Posts: 323
- Joined: 17 Jun 2009 21:48
Re: Right Click on White Space mouse behavior
Testing the latest 15.80 as well.
The same problem (I guess) - Just right clicking on a blank space in the (Details) list to bring the context menu up became a real Pain. Most of the time when right clicking I seem to move the cursor a little between the mouse down and mouse up. This results in about 70% of my attempts to open the menu to just do nothing. This is a very serious issue.
This thing alone is enough to never update to such a version. Because I can't see any benefit of this, but it brings only grief.
Please look into this, Don.
The same problem (I guess) - Just right clicking on a blank space in the (Details) list to bring the context menu up became a real Pain. Most of the time when right clicking I seem to move the cursor a little between the mouse down and mouse up. This results in about 70% of my attempts to open the menu to just do nothing. This is a very serious issue.
This thing alone is enough to never update to such a version. Because I can't see any benefit of this, but it brings only grief.
Please look into this, Don.
-
klownboy
- Posts: 4481
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: Right Click on White Space mouse behavior
Don, I'm not sure if you had time yet to back track on the old bug reports since you returned. In the back of my mind I was hoping the change in beta 15.80.0201 might also correct this issue I reported above. It was nice to be able to start a right-click selection of file(s) from the white space into the files and the script associated with the right-click on white (CEA_ListRightClickOnWhite) would be run on the selected files. Now it does not. I'm not sure why that behavior changed. Thanks.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Right Click on White Space mouse behavior
@tedy: cannot reproduce. Can anybody else?
@klownboy: what script is that? Show the code please.
@klownboy: what script is that? Show the code please.
FAQ | XY News RSS | XY X
-
klownboy
- Posts: 4481
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: Right Click on White Space mouse behavior
Don, the script is the one I posted here...WhiteSpaceCtxMenu http://www.xyplorer.com/xyfc/viewtopic.php?f=7&t=13831 By Wednesday I'll post some example code in a small script that works hand in hand with "CEA_ListRightClickOnWhite_Script=" when I return from a short trip to Florida. Thanks.
-
klownboy
- Posts: 4481
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: Right Click on White Space mouse behavior
Hi Don. I got a chance to shorten up a little script so you could test this change in behavior discussed in the thread's first post. I don't want ot repeat what I wrote there so you may have to refer back to that post. This short script should be saved as "WhiteSpaceCtxMenu.xys" and invoked by the right click on List white space by making this change to xyplore.ini.This menu script example works with text type files. So to test, highlight a txt or ini or xys file in the list and then right click on white a simplified text menu should come up. I did test it. In the past you could do the selecting and bring up the menu all in on simple action...by right clicking and dragging starting in the white space into the text file and as soon as the file was hi-lighted you could release the mouse button and the menu would display. Now it does not. I only posted the WhiteSpaceCtxMenu script in April of this year and the right drag select and release technique worked for quite awhile up to some point discussed in post the first post.
I'm not positive what affected the behavior. The file by right click dragging is still being selected, but the right click on white is not being invoked maybe because of a change from mouse down to mouse up (i.e., previously the right action action on white was set in motion by the initial click down in white now it is not. It's where the mouse is released possibly since it's being released over the file)...just guessing? Thanks Don,
Ken
Code: Select all
$txt = <<<DOC
"Notepad|C:\Windows\notepad.exe" openwith "C:\Windows\notepad.exe";
"QuickFileView|:qfv" quickfileview "<selitem>";
DOC;
$CopyMove = <<<COMO
"Copy|:copyto" #5;
"Move|:moveto" #4;
"-"
"New|:newfolder" #230;
COMO;
if(exists("<selitem>") == 1) {
$selext = getpathcomponent("<selitem>", "ext");
if(gettokenindex($selext, "ini|txt|nfo|inf|reg|ps1|vbs|xys", '|', 'i')) {load "$txt;<crlf>-<crlf>$CopyMove", , s; end(1);}
}Code: Select all
CEA_ListRightClickOnWhite=6
CEA_ListRightClickOnWhite_Script=load "<xyscripts>\WhiteSpaceCtxMenu.xys"I'm not positive what affected the behavior. The file by right click dragging is still being selected, but the right click on white is not being invoked maybe because of a change from mouse down to mouse up (i.e., previously the right action action on white was set in motion by the initial click down in white now it is not. It's where the mouse is released possibly since it's being released over the file)...just guessing? Thanks Don,
Ken
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Right Click on White Space mouse behavior
OK, will be better in next version.
FAQ | XY News RSS | XY X
-
klownboy
- Posts: 4481
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: Right Click on White Space mouse behavior
Hi Don, I'm sorry to report that beta 15.90.0020 behavior does not work as it used to. After testing for the old behavior with my WhiteSpaceCtxMenu script, I then tried it again with the simpler example script I had posted above. Neither script worked as it did previously. Start a Right click selection in white space beside the file, in this case a text file, holding down and dragging slightly to where the file becomes selected and then release. In the past, the script menu associated with that file type extension was loaded/displayed (i.e., the script called out in CEA_ListRightClickOnWhite_Script). In the sample script, it was just a simple menu that was displayed based on the text file extension (i.e., txt, ini, xys). Now it brings up the normal context menu. I guess the bottom line is, somehow before the Right Click, hold and drag starting from white space and releasing over the file triggered the script listed in XYplorer - CEA_ListRightClickOnWhite_Script=... now it doesn't.
I suppose another way to put it - even thought the right click/hold and drag was released over the file because it was started in white space the CEA_ListRightClickOnWhite_Script was loaded. Thanks.
I suppose another way to put it - even thought the right click/hold and drag was released over the file because it was started in white space the CEA_ListRightClickOnWhite_Script was loaded. Thanks.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Right Click on White Space mouse behavior
I think I explained that in the change log:
Code: Select all
It's even a little cleverer now than before: When MouseUp is on white you
get the white space context menu, when it's on an item you the item's
context menu.
FAQ | XY News RSS | XY X
-
klownboy
- Posts: 4481
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: Right Click on White Space mouse behavior
I did read the beta notes, but the whole purpose of this thread was the change in behavior when the right click drag (starting in white space) in "combination" with the file selection. In other words, when the script assigned in "CEA_ListRightClickOnWhite_Script=" depends on the type file being selected/highlighted by the right drag from white space, it doesn't not run as it did previously. Previously, the script would be run (because you initiated the right drag in white space) and the proper script menu would be displayed based on the type file being selected <selitem> all in one swoop. It was actually a very useful behavior because you didn't have to first highlight the file(s) and then click on white space - you could do it all in one right click and drag.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Right Click on White Space mouse behavior
Well, I can do that now. The whole point is to start the lasso in white and end it in white. And in between you select your files. No problem here.
Which list view are you in? Details? Thumbs?
Which list view are you in? Details? Thumbs?
FAQ | XY News RSS | XY X
-
klownboy
- Posts: 4481
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: Right Click on White Space mouse behavior
Hi Don, yes, the method you mentioned works here too but that not how it worked before. Previously, you could start in white move into the file to select it and release and the menu specified in CEA_ListRightClickOnWhite_Script would display. As soon as the file(s) was highlighted, you could release and didn't need to continue moving into more white space and then release. Doing that is a bit counter productive as well as a bit tricky since it's easy to unselect the file moving the cursor back to white. You might as well just click to select and then click on white. It worked previously for details and list view. I'm not sure about the others though they probably worked as well. Thanks.
-
admin
- Site Admin
- Posts: 67271
- Joined: 22 May 2004 16:48
- Location: Win8.1, Win10, Win11, all @100%
- Contact:
Re: Right Click on White Space mouse behavior
Yes, understood. But the new way is more correct and more versatile. It was simply wrong (or a nice "trick" as you say) to pop the white space menu when doing MouseUp on an item. Sorry, but I had to correct that. Explorer works the same, and he is right (this time).
FAQ | XY News RSS | XY X
-
klownboy
- Posts: 4481
- Joined: 28 Feb 2012 19:27
- Location: Windows 11, 25H2 Build 26200.8737 at 100% 2560x1440
Re: Right Click on White Space mouse behavior
Hi Don, I thought it was a slick feature when used in conjunction with a script that performed actions or brought up a menu based on detecting the file type. Especially now since you can perform different actions or menus dependent on the modifier key held down. But, I figured though it went against the grain. Oh well, can't blame a person for trying. 
XYplorer Beta Club