Custom look and feel component ID
-
@ustk said in Custom look and feel component ID:
And then confirmed with buttons too
HiseSnippet 933.3ocsVstaaaCElxIpnVaoXEnO.D4WN.YJ1a8FZvPSiibm1hufHmf9u.ZIZI1PSJPQkLig7zrWr9Hz2fsCE8sr4FD3gPXXfy8OdtQMPIioEERExo9vo4Tjy26FMUnyZmQXBT3IHmm41kTnoJrk0wSyIEEzDjiyVezvvo91npyWe+wDNQDSWxBgtPxhomxlvzK4N3nemw4cHIzgrIqn8KOJLVJZK4xR.Oa41DkShuhjR6QLpUyE47jfDlVphzDMs.4r8wxjoQYxaDV8ufUvFwoFhVnHvQV1cj7DChMbQsyX7jAyu2EHvKCVlE1xlEdgaWVBaA+kYienR.doEqlObpcevq0pvq4CGdNq.ussv64tQwJVtdoDC19N2PATnFSfRvpvxpKp1zZtskfFBs+DxUzNJfXgEMdcyl6ieUyl6cHFzpPxo9wbJQ0.XbvALQLuLg1XWe+CfeWF09rvACiNHixyoJ+OWr6dG544A0uBM9ZhByIiw+BNPjxDfiTTHi7QtbDgaQyoR4UePjzgR4P.71wyCLvWQSYldsNkhXMSJZrahhbyPYZJmdboVKE6tOd7bgo6iki97dd+oGFNlflSzYPTmeKsgc.vzdIv+14QCws62saPug39mODO7WCivmF1K.OrOtS3m.FA3vnnyC1oxoU+k5WP011xFP.8ulvKo32isrJ7GAjWyfDlF+tELkJhHkpnI6cn0U6LyWigd+ynw5JWQ.DBW+aqRd+uOyyLXonmTS6KZXRN08t0C+uEMd7ZkYxbJImSUqUrYdUceF1PTNYDUsOtJGsPQnw8tSFte6IiUGbisExUTTJBELc+bp3aMuflU8MSNyPEnptZt4Yylar8RHFLdT20RzBUA4UWmgNO7DhlL2QfOg3.c6Zl4J3bBTzio1Ax5tmPKtRKyqzcRtTXPfySd.g8OVDxuvNZ5x3ewQ2vRzYPtx4u.xLJKMSantsZG5+Ym.rYRlTxI56ttxridl.nRcm8BlYeQASOc0K8ixNrGJbet6.lNNa83s1ZvKTadrw6rWD1wMX7XXrcIX21symd7W+iNSVpYhztDshA8Jt8JmDAaXho.RDBJ2LM4Tyz2aoaZnMYlHpHoh3ugyLgsLzNyD1ZtPzDRrRdYrcZw7lySq3.XRT8zac3a..Z7hgDW2l9MQSfmBuLN1jJ9Q.6q2leZCr4m2.ad4FXyq1.ad8FXya1.ad68Zi4qP9PoVNwNl.LFDTsrxwIPPftrpNRz+.pw+4R
That's concerning, even though it doesn't show in the compiled plugin does it have an effect on CPU usage or cause other issues?
-
I wonder if the issue is something to do with this loop in the drawWithGraphics function?
g->getDrawHandler().flush(); DrawActions::Handler::Iterator iter(&g->getDrawHandler()); while (auto action = iter.getNextAction()) { action->perform(g_); }
-
@Christoph-Hart Any ideas? Is it safe to use LAF in a project?
-
Wow that was an easy one - I just forgot to initialise the timeout logic correctly when calling scripted LAF functions so it threw a timeout as soon as the execution time was bigger than ~0...
-
@Christoph-Hart I reported This Execution Time Out Before
So It Was LAF Mistake? -
@Christoph-Hart said in Custom look and feel component ID:
Wow that was an easy one - I just forgot to initialise the timeout logic correctly when calling scripted LAF functions so it threw a timeout as soon as the execution time was bigger than ~0...
You're on fire today!
-
@d-healey So is there Any Quick Fix?
I'm On Bed!!!
Do i Need To Get Up?
Another Sleepless Night? or What? -
@Natan Check github, Christoph has made a load of updates the last couple of days and just fixed the LAF issue.
-
@d-healey ️️️️️️️️️️️️️️️️️️️️️️️️️️️️️️️️️To The Github No Sleep Nothing, Like My 17 Past Years
-
@d-healey said in Custom look and feel component ID:
I wonder if the issue is something to do with this loop in the drawWithGraphics function?
g->getDrawHandler().flush(); DrawActions::Handler::Iterator iter(&g->getDrawHandler()); while (auto action = iter.getNextAction()) { action->perform(g_); }
Thank You Sir David, For Investigating This :)
I Made This Thread, Reporting This Back In December
https://forum.hise.audio/topic/3375/execution-timed-out -
@Natan said in Custom look and feel component ID:
@Natan said in Custom look and feel component ID:
@Christoph-Hart I reported This Execution Time Out Before
So It Was LAF Mistake?I Made This Thread, Reporting This Back In December
https://forum.hise.audio/topic/3375/execution-timed-outOk, but I don't understand what's the point. Lot's of people reports lot's of things, you're not the only person for this :D
Are you expecting a "Thank You for your report"? :D
Or are you expecting a "Sorry, you reported this last december but it's just been fixed"? :D :DAlso as I see, you write the same thing so many times, and you like to do it :) Just like your magical report, in this thread you write it again and again :D Just an advice, don't do that, it won't fix the issue or won't make you special....
Just be more humble and thank Christoph for this great software ;)
-
@Fortune You Don't Get It :) i Was Waiting For This Fix, And With Dave's Investigation, It Fixed Now :)
You Don't Get It, Man :) I Was Prepared For Sleeping, And Now I'm Building The Latest Version :)
Yeah, I Gifted Already :) -
@Natan Ok after building, good night then :)
But again, I think actually YOU don't get it :D :D you are not the only person who wait for fixes or features ;) -
I‘d say Nathan got the timeouts before it was cool...
-
@Christoph-Hart It was A Nightmare Christoph
I Tried To Explain This In Another Thread, But No One Get It At That Time I Felt Like E.T
Thank You Legend -
The text property of
obj
when applying LAF to combo boxes holds the text of the combo box's value, rather than the text property. This means we have no way to distinguish between different combo boxes (unless we get clever/hacky with some of the other properties). Could we get the text property of the combo box added to its obj? -
@d-healey shouldn’t be hard to fix, I’ll have a look sometime today...
-
@d-healey I just got an idea. What do you think of having a
misc
property for all the components, that is not linked to anything? So it would be just something we can get for any purpose we’d like, thinking of LAF customisation at the top of the list of course.
So just a complementary text property... sounds cool enough? -
@ustk I think we should get @Christoph-Hart opinion
-
I think it might be better to actually include the ID of the component as
obj.ID
- this way you can either use a lookup table or clever name mangling to figure out what path to take in the LAF function.Adding a new property seems a bit verbose to me as it pops up on every component's property editor.