Cool VL Viewer forum
http://sldev.free.fr/forum/

Pie-menu glitch since at least CoolVLViewer 1.26.20.6 Mac.
http://sldev.free.fr/forum/viewtopic.php?f=4&t=1752
Page 1 of 2

Author:  linyifei [ 2017-02-28 23:30:41 ]
Post subject:  Pie-menu glitch since at least CoolVLViewer 1.26.20.6 Mac.

In CoolVLViewer 1.26.20.6 and CoolVLViewer 1.26.20.7 (the release I am running now), I have noticed a minor glitch in the behaviour of the pie menu when right-click selecting objects attached to the HUD. This does not occur when selecting in-world objects.

The symptom is that when I right-click on a HUD object, the menu appears, but does not remain when I release the click, but instead disappears immediately, and makes a selection of whatever segment of the menu happens to be over the point at which I clicked, which might not be what I want, especially if it happens to be Drop. The work-around is to right-click-and-hold, drag the pointer to the segment I want, and then release.

Attachments:
CoolVLViewer.log.zip [15.69 KiB]
Downloaded 155 times

Author:  Henri Beauchamp [ 2017-03-01 00:13:17 ]
Post subject:  Re: Pie-menu glitch since at least CoolVLViewer 1.26.20.6 Ma

I'll point Catten to this post, since a Mac-specific issue.

Author:  Catten [ 2017-03-01 17:58:58 ]
Post subject:  Re: Pie-menu glitch since at least CoolVLViewer 1.26.20.6 Ma

That sounds very strange, I'll try and reproduce and take a look at it

Author:  Catten [ 2017-03-01 18:06:17 ]
Post subject:  Re: Pie-menu glitch since at least CoolVLViewer 1.26.20.6 Ma

I am not able to reproduce this in the 1.26.20.10 viewer. If I right click a HUD object and release, the pie menu stays.

I just released 10, so please try it out and see if it solves your problem.

Author:  Henri Beauchamp [ 2017-03-01 18:12:38 ]
Post subject:  Re: Pie-menu glitch since at least CoolVLViewer 1.26.20.6 Ma

@linyifei

Just in case... Check that you are not under RestrainedLove touch-HUD restrictions... See "Advanced" -> "RestrainedLove" -> "Restrictions list".

Author:  linyifei [ 2017-03-01 21:18:52 ]
Post subject:  Re: Pie-menu glitch since at least CoolVLViewer 1.26.20.6 Ma

@Henri,
I checked my RLV settings (I do have RLV enabled) and I did have touch-restrictions permitted. However, forbidding touch-restrictions did not change the pie-menu behaviour.

@Catten,
I will download and test your new release.

Author:  Henri Beauchamp [ 2017-03-01 21:23:51 ]
Post subject:  Re: Pie-menu glitch since at least CoolVLViewer 1.26.20.6 Ma

linyifei wrote:
@Henri,
I checked my RLV settings (I do have RLV enabled) and I did have touch-restrictions permitted. However, forbidding touch-restrictions did not change the pie-menu behaviour.
IIRC, there are other restrictions that may affect HUD touch, especially if a HUD is locked (so to forbid removing blindfold HUDs)... Better checking with RLV disabled, to see if you still encounter the issue (if not, then it's not an issue at all, but just a RLV restriction).

Author:  linyifei [ 2017-03-02 03:26:50 ]
Post subject:  Re: Pie-menu glitch since at least CoolVLViewer 1.26.20.6 Ma

Disabling RLV made no difference to the behaviour of the pie-menu, as tested in Cool VL Viewer 1.26.20.10.

Author:  Henri Beauchamp [ 2017-03-02 09:37:27 ]
Post subject:  Re: Pie-menu glitch since at least CoolVLViewer 1.26.20.6 Ma

linyifei wrote:
Disabling RLV made no difference to the behaviour of the pie-menu, as tested in Cool VL Viewer 1.26.20.10.
That's very strange and it lets me clueless... I cannot reproduce the issue here, wether running the Linux or Windows viewer, and Catten can't reproduce it on his Mac release...

Could this be some utility that you'd have installed and which is dealing with mouse management ?

Also, try this: enable the debug console ("Advanced" -> "Consoles" -> "Debug console"), then enable the clicks and mouse events debugging ("Advanced" -> "User interface" -> "Debug" and from there both "Clicks" and "Mouse events"). Then right click your HUD, release the mouse button, and observe the log in the console. You should see something akin to:
Code:
INFO: LLViewerWindow::handleAnyMouseClick: ViewerWindow Right mouse down at 1558,134
INFO: LLViewerWindow::handleAnyMouseClick: Right Mouse down not handled by view
INFO: LLViewerWindow::handlePerFrameHover: Hover handled by captor Attachment Pie
INFO: LLViewerWindow::handlePerFrameHover: Hover handled by captor Attachment Pie (repeated 19 times)
INFO: LLViewerWindow::handleAnyMouseClick: ViewerWindow Right mouse up at 1558,134
INFO: LLViewerWindow::handleAnyMouseClick: Right Mouse up handled by captor Attachment Pie
INFO: LLViewerWindow::handlePerFrameHover: Hover handled by captor Attachment Pie

Note how the "Attachment Pie" is capturing the mouse events and holding it after mouse button release...

Post your log if you see something different.

Author:  Henri Beauchamp [ 2017-03-02 09:52:57 ]
Post subject:  Re: Pie-menu glitch since at least CoolVLViewer 1.26.20.6 Ma

Addendum:
By rereading your description of your issue, there's something else which looks odd to me. You wrote:
Quote:
The symptom is that when I right-click on a HUD object, the menu appears, but does not remain when I release the click, but instead disappears immediately, and makes a selection of whatever segment of the menu happens to be over the point at which I clicked .../...

But this normally cannot happen: whenever any object is right-clicked, the pie menu appears centered on the mouse cursor (i.e. the mouse cursor can't be over a pie slice on pie pop-up), and when not possible (i.e. the object is too close to one of the viewer window borders to allow displaying the full pie menu centered on the pointer), then the pie menu appears in a slightly shifted position (so that it fits the window) and the mouse pointer is automatically and immediately moved to its center, thus not letting it hover on one of the pie slices (since, indeed, releasing the right mouse button while over a slice is equivalent to left-clicking that slice: this is the normal and expected behaviour).

So the problem could be that, on Mac releases (because it doesn't happen under Linux or Windows), the mouse pointer is not properly repositioned at the center of the pie... Catten, could you please check that ?

Page 1 of 2 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/