05-03-2013 04:16 PM - edited 05-03-2013 04:17 PM
I have mentioned this in the past in another forum and was promised that it would be taken care of. It has not, so I am throwing it here.
I have noticed that when I use a queued message handler where the queue element is comprised of an enum and a variant bundled together, updating the enum while the code grows in complexity has the nasty secondary effect that ALL queue element cluster constants (typically there is one per Event Structure Case, but sometimes more) grow a tiny bit each time.
After a while, I typically get this:
(My screen is 2048 pixel wide)
After some horizontal translation of the cluster (to be repeated for each case), I get this:
and after further tedious gymnastics, that:
This is what I should have had in the first place and this should NEVER change if I update the typedef enum I use to define my different actions.
Right now, I know I will have to fix this case later on if I add a few more elements to the enum...
I tried left justifying, right justifying, aligning the enum and the variant vertically, etc, to no avail.
That's truly an annoying bug.
Tested in LV 2012 SP1
05-04-2013 09:19 AM
I don't think I've ever encountered this problem before. Do you know if there was a CAR filed when you reported it before? Can you provide a link to the other forum where this was discussed?
05-04-2013 05:04 PM
I cant reproduce it (in a simple VI), but what happens if you select Autosize - Order Vertically or something?
/Y
05-06-2013 10:52 AM
@CMal wrote:
I don't think I've ever encountered this problem before. Do you know if there was a CAR filed when you reported it before? Can you provide a link to the other forum where this was discussed?
No, I can't. That forum (LV 2012 Beta) has since been closed (at a great loss in my opinion, as they are usually full of insights worth a look at).
I think I remember Christina (from Eyes on VIs) is the owner of that CAR.
05-06-2013 10:54 AM
@Yamaeda wrote:
I cant reproduce it (in a simple VI), but what happens if you select Autosize - Order Vertically or something?
/Y
Autosize is always selected in my clusters. Order is never propagated in time. It's a single time action. And even if there was a workaround, I'd say this is an annoying bug nonetheless...
05-06-2013 01:03 PM
@X. wrote:
@Yamaeda wrote:
I cant reproduce it (in a simple VI), but what happens if you select Autosize - Order Vertically or something?
/Y
Autosize is always selected in my clusters. Order is never propagated in time. It's a single time action. And even if there was a workaround, I'd say this is an annoying bug nonetheless...
I quite agree, i was just wondering if it was a bug in the non automated constants.
/Y
04-18-2014 03:46 PM
Autosizing >> Arrange Horizontally is under test at this time, meaning I have switch from "Autosize" to this option and will see whether the constants continue their expansion or not.