Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

NEW REGISTRATIONS - please contact us if you wish to register on the forum

Users are reminded of the forum rules they sign up to which prohibits any activity that violates any laws including posting material covered by copyright

MouseOver bug

For general discussion related FlowStone

MouseOver bug

Postby Perfect Human Interface » Sat Mar 21, 2015 1:03 am

Hey, I seem to have come across a bug with the MOver prim. I have a knob with a label that is only drawn when you mouse over it. It's been working fine, but since adding an MGUI prim to the module the knob is placed in, it no longer updates when I mouse over on the top layer unless I click/hold on the knob. And the knob is being drawn on top.

Using 3.0.4; is this a known/fixed issue?
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: MouseOver bug

Postby djbrynte » Sat Mar 21, 2015 3:17 am

can i see the file? also u can easily make This in knobman musch easier and save space. Like showing values. ah ofc depends on what values u wana show.
djbrynte
 
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am

Re: MouseOver bug

Postby djbrynte » Sat Mar 21, 2015 3:50 pm

btw do you mean when u raise the volume or some kind of knob that activates when u hold mouse just over it?
djbrynte
 
Posts: 613
Joined: Mon Jun 22, 2009 10:51 am

Re: MouseOver bug

Postby billv » Sun Mar 22, 2015 12:48 am

I think i remember this issue.
The mouse over has to be in top level of
module. By placing the Mgui in there
its no longer in top level.

For the knob draw issue, try changing
link order .Attach knob first, then label.
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: MouseOver bug

Postby Perfect Human Interface » Sun Mar 22, 2015 12:56 am

billv wrote:I think i remember this issue.
The mouse over has to be in top level of
module. By placing the Mgui in there
its no longer in top level.


Hmm ok, so would that be the view that's feeding mouse messages? It's odd because the other mouse stuff works fine.

There's also another, minor, issue/bug I've noted. If you place an MGUI in a module and then connect more than just a wireless connector to the view, you can't right-click items in the module's top-level display (to move things up/down in draw order). It does make sense (although annoying) that you can't change draw order like this because the connection order is overriding it. BUT the problem is that now right-click either does nothing at all, or it opens the module right-click menu, depending on what/where you click. It's simply confusing behavior. What should happen is the same right-click menu opens up with the move up/down options, but with all the options grayed out.
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: MouseOver bug

Postby billv » Sun Mar 22, 2015 2:02 am

Getting tricky to see where your at now.
If you upload example I can check in
a few hours when I get home.
billv
 
Posts: 1157
Joined: Tue Aug 31, 2010 3:34 pm
Location: Australia

Re: MouseOver bug

Postby Walter Sommerfeld » Sun Mar 22, 2015 9:50 pm

Hi PHI,

hope u didn't forgot the Enable mouse moves Bool... ;)

btw.: The mouse Over thingy costs CPU power if u use many of them on a big GUI... :(

Keep on doing!
User avatar
Walter Sommerfeld
 
Posts: 249
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany

Re: MouseOver bug

Postby Perfect Human Interface » Mon Mar 23, 2015 2:10 am

Walter Sommerfeld wrote:hope u didn't forgot the Enable mouse moves Bool... ;)


Well that's the thing, it seems. It's enabled in the module for the knob in question. But after adding the MGUI to the above-level module it no longer works. If I enable it on that MGUI, it does indeed work again. But that's a module that occupies a significant chunk of GUI space so I don't want to have to enable it there (I'm assuming, though I don't know, that mouse moves will use more CPU depending on the size of the gui area).

The alternative is like I was thinking after billv's comment; if I wire the view from the knob's MGUI up to the top level (bypassing the other MGUI), that also works, but then the knob is disassociated with the module it's placed within, which kind of defeats the purpose of it's placement and also disrupts modularity if I want to use such modules in other designs.

I just don't see why it should work this way. It works correctly with front panel enabled, but add an MGUI and it "stops" the mouse moves from reaching the destination. All other mouse functions seem to be unaffected. Seems like a proper issue.
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Re: MouseOver bug

Postby Nubeat7 » Mon Mar 23, 2015 11:47 am

its like Walter already said, thats what the "enable mouse move" bool is for, if it is disabled in the parent it cannot work in the child, if you need that feature in some deep down nested layers you need to enable it the whole chain up to the top level, i don't see any bug there, enable or disable, just that.

btw. i always try to avoid nesting mgui's in general (nesting at all) it just adds drawing layers which just costs performance (i think), the only advantage is to group some knobs and move them together, also when you want to reuse the module, you don't need to nest the gui controls...
its also annoying to switch between the gui layers when placing the controls, and you always need to take care that you don't forget the enable mouse move bool ;)

it makes more sense if you have resizable or moveable windows or when scrollbars are used and you need variable positions of a group of gui elements.
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: MouseOver bug

Postby Perfect Human Interface » Mon Mar 23, 2015 8:48 pm

Nubeat7 wrote:its like Walter already said, thats what the "enable mouse move" bool is for, if it is disabled in the parent it cannot work in the child, if you need that feature in some deep down nested layers you need to enable it the whole chain up to the top level, i don't see any bug there, enable or disable, just that.


But why? Might as well enable it for the entire project if you're going to force that. And as I mentioned, the odd thing is that it works fine if you enable front panel without placing an actual MGUI object, so why can't it work with the MGUI?

btw. i always try to avoid nesting mgui's in general (nesting at all) it just adds drawing layers which just costs performance (i think), the only advantage is to group some knobs and move them together, also when you want to reuse the module, you don't need to nest the gui controls...
its also annoying to switch between the gui layers when placing the controls, and you always need to take care that you don't forget the enable mouse move bool ;)


I would hope it doesn't affect performance... I agree it can be bothersome at times, but others it makes things far simpler. If I have 10 different elements in one small chunk of interface, and I want to move all of that together on the top-level GUI, it's far easier to just click and drag it as one object. Also I have two big chunks of my GUI synced, which makes things much easier since I don't have to make every single change twice and make sure they're exactly the same. Also there's purportedly a feature added in the latest release that lets you move individual elements wrapped in another MGUI from the top level.
Perfect Human Interface
 
Posts: 643
Joined: Sun Mar 10, 2013 7:32 pm

Next

Return to General

Who is online

Users browsing this forum: No registered users and 62 guests