-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bitECS: image + controls movability and object menu visibility #6338
Comments
Agreed. |
Also note that when hovering over the scene object the cursor doesn't turn blue in the new loader like it does in the old loader. |
Thanks for the feedback @Exairnous New Loaderhttps://hubs.mozilla.com/idbvNmZ/loud-grounded-nation/ Scene element
Drop-in glTF
Old Loaderhttps://hubs.mozilla.com/oLeTtP4/wellmade-quirky-huddle Scene element
Drop-in glTF
Based on the table above I feel that the new loader behavior is more consistent.
![]() So not showing the link menu for
The only actionables that I see here are:
Does that make sense or am I missing things? |
You're welcome. My current testing in Chromium doesn't seem to completely agree with your table. Although it's a bit hard right now because the objects in your test scene (which are very good) seem to keep locking the interaction capabilities of my mouse, e.g. I will suddenly no longer be able to grab things, hit buttons turn my view, but Hubs isn't frozen and I can turn my view with the right mouse button (or sometimes it focuses on the last touched object whenever I right click, no matter where my cursor is). This is happening in both loaders, and focusing on an object also triggers it sometimes. In the old loader I get this error message (but I don't think it happens in the new loader):
But back to the disagreements between my latest tests and your table First off, what do you mean by "Link Menu"? Do you mean the hover button or the vertical menu containing: refresh, open link (opens the image link as opposed to downloading the glb), magnifying glass (creates a copy that follows you around), reticule (focuses on the object, iirc)? Secondly, what do you mean by "Object Menu"? Do you mean the spacebar menu or the menu box at the bottom center of your screen when you focus on something? Aside from that, I think the dropped in glTFs should always be grabbable (which I think they are in the new loader, but I can't test right now). This is one of the more complex systems in Hubs, so it's hard to figure out the intricacies and I'm not sure I'm doing a good job of it here. Would it be possible to schedule a meeting to go over this in Hubs directly (possibly invite Jim too, not sure)? As for the PRs, it seems from your description like they make sense and are in line with what I've written here. If they're only going to affect the new loader that's fine, but if they would affect the old loader as well then it might be good to wait a little bit. |
Yes, this was due to a bug that I've fixed here: #6393 Should be fixed in production now.
I mean the hover button that lets you open the link, either provided by the image src iteself or by the link component in case the object has also a link component.
I mean the object menu when you click either tab or spacebar.
Yeah this is a different bug, I've opened an issue for it: #6407
Yes, this should be now the case.
This PRs should only affect the new loader code path.
I agree and one of the goals is to simplify and add some consistency to the menu system even if we diverge from the original code as I don't this (looking at this table) that is very consistent. And yes, I think it would be a good idea to gather more feedback to simplify all this menus. |
Reported by Imaginer @Exairnous on Discord
Description
The behaviors of Hubs image component + controls are different between with and without the new loader.
When dropping-in the asset,
As scene object
Testing asset from Imaginer image_with_controls.zip
And a room for testing scene object https://hubs.mozilla.com/qm8bAh6/bleak-loyal-meetup (Left with controls, Right without controls)
To Reproduce
Steps to reproduce the behavior:
For drop-in object
For scene object
Expected behavior
Ideally the behaviors are the same between with and without the new loader
Or I first want to think of the correct behavior... I guess object menu should be shown on image + controls object? If so, with the new loader the behavior for drop-in seems correct while it doesn't seem correct for scene object.
Hardware
The text was updated successfully, but these errors were encountered: