change of cmb.getItemText(), intentional or bug?
-
There has been a change of the function
comboBox.getItemText()
The "useCustomPopup" is enabled in this cmb.
Sometime before this version of Hise this function:
"getItemText()" would print the whole text line.Now with this version, (Hise v.4.1), it will print only the last text
after the "::"Is this intentional or is it a bug?
HiseSnippet 1012.3ocsVstSiaDEdb.uZi6EsqT+c0n7q.ZEaRHDfToVJAnaTKrQMzU8eqlXeLdDimwxyXBQU66Rei5qReCZOisCNdgxtDohPHNW9Ny2btMdRpxGzZUJww6xEI.w4KcmtPZhFEw3Rx3SHNes64LsARoEpNdQBSqg.hiyF+jUgSyMI4+72+vwLAS5CUpHj2o39vuvi4lJsSN5m4BwYr.3Rd7Jd2+nw9J4HkPkg7YC2NjDl+0rqfKXV2Z3RdCSGQb11sydC.X+cCCBX6tavfACN7fC6eXWVXm9rYcGbX+d82u2A6GRbd1oAbiJcpgY.MFziUAKlFolKKNf2w07YBvJzkLEO4B0jQQbQvjkIGMg3r4jpT0FEopuw8bd.+N8UorWjafVgX0jlSiGiRceBTxYEJsYAkdo6T+TdhoxhkOeg6XIVACYXsYUpT3Kowe0vcjB8PZ1IlcMbVJJbGh185z4UT7Oa8cdddbofKAZXlz2vURpRVDjQp3YpiU210FnTknsuJNQIwP9J5MLQFrk2e3070a60r4kQ.sUlFFkoMp3IpjrjVTtlBRFduCnbI0Dgx9wy1AcG+cpJFLXqBcFDpRgBy2.o5bFDReCWWpbIuFhnZcEXFaf3KgaMs2pEctJSDPSR4RC5LPmGoDHLzJ0dmPDWnlSmyMQ0O.tAUJDkHURwhb3BbpHGMBjEZGPrZaMbXqBRaulb730TMXgc2kBuqV5MiIut6vgVW5VWrWoXuBwcqK12q41u1yqIln03EXmbZUkt2o1sFqYe.KaKqtnsQKcrcqOpx0ZqczV640uQLgXFN809+p.iQdklfKTF3sx14EYuO3Q+XSggOnsxXIfzGzrc8P5iArsLKdFjtZKl0Qbbn9L1y97lw7KRSq3nRNVxMuMAJkOSIBryN1++9Sjjx7rc1rjgnql7IyW3VOOR3AUiq2kbI4WjpUhO+HxuM9DlgsLjXzwSLARMb6Ey4D3FbAawveS2S.80FURtukkYT8Sh.2t593EUBe+Qy4AFb6qqyehhQ.+pHiU5aQo79bhydt0Zpq0RWqgd01YR8UAH2aDyt0F47S9963vsqpfLAyTekq8wnRCXORs8b1cYRM2rX0GqdB6g67n6g+bo3KcmvM9QOLGa7.bDq4+evwxWu9J2SCCAeSEA2z8reecep5Sb7+pJyvkWcNyjxs01Kxhmhux6C3oKkfPaq2MrSPExcrx1LvTPFjK7O3OkF6ZkcJM1coQRLyOU8d+h4N66iOOWCxIY92OzD+PFTldugLBIFet98990C08.1acAt65Br+5Bbu0E3f0E39qKvC9z.seM0OlgaHJFaHjymbZ9RQGmSK9nAa2J4eADVODlC
-
-
@ulrik testing the same principle with a ScriptPanel
it will print the whole text line
HiseSnippet 1209.3ocsV0uaaaCDmxIpnVasnEXO.D9ubBJbscbb9XnadwIY0X0oFyYE6+ZoknhHhDofHUbLF5qydT1yydCxNRIaK43z14sFXDf6NdT+9cewaThvkJkhDjkykyhoHqu0d7LtJne.gwQCNEY8T6gDohlfyTcxrXhTR8PVVa8yZEVU2FY96u+wSHgDtKcoJD5cBlK8MrHlZo1Q89EVX34DO5krnBmtSuAtBdeQnHEvyV1MQwD2qIWQufnOVEazqIx.j0t1M2uKkdvd9ddj81yqa2tGc3QcNpEwuYGxjVcOpS6NGz9vC7QVO5LOlRjLVQTTIxZ6SDdyFGHlxy9.uiIYSBoZgVnwvWNS84hPOME0ZQ8CXgdilGnjH3VFsLrsUVX66rGx7XKzuL78LiA7ROJF.spTFdaUBdsJBulEf2ZfjUAHscFjdt8X2DVrZoEMd9F6AbHa5Sf7TQnjcVTk+ZK69B3DbUiHx0zyS.gEdTucylu.C+amu2wwgwCYbJ1Ok6pXBNVvytj9hnIhSD21ReQIhv5thnXAGtxWfugDlR2w4Obp9xccpV8x.JtVpj1OUpDQiDwow0vLIlxI.u8vLNVE.xtQSZ.GG9MVDQUPYCdB0WjPyLeCMQZPfO90LYtx435XvqZWQUCTznKo2ppuSM7TQZnGNNgwUvgo3oAhPvMvJVyIviKDSwSYpfxe.lBTFFl6ofGNy3dHzgX7Fbj3qaVzZqc7w0x.sllL3yKwRp1sEjB3pFdSH7qac7w5izprX6bw1Yh6UVriS0ceoiSUHPKABzv.qkg6FkXMjy9Hj1lmcAa8mev50VIyUamFRscS9qOILbBzIV+gRvlpAc9LUx3WY3tDZYMQIWVbHUp4LAmWOR3zPmpFrJWazG3DLH.BoEbnE9U3OEzyNTMMTJpPSigBcE1bRLurnN8FvcSoHyGmI0HgJSCAkUWIjlYkkGK0QRCmcJT6egPQeKut4Bc9nCdUS99q0VdHLjlrVy5IjIeJGqySilPSJ1YoOHLEn7nE6GdzRwIetYg3BGTvGvYp2FS4Oz7PTddQOFJGUvQUlgPOytbICh4sbxzh5HjA7KeI3Y8P+1fSIJx7qDtc3KFSSTLMYrNkdC7tR1btp1mRkWqDwvSDKJK.0+q.vsEeFZ1Rgen2TlmJXoBudAT1UAphGwzZir12tTebot3R8vE6fQkm9AbqRDAPisk45KPnGmQnmXWn91vlmVTyCRkde3ySkW0KVChgTd5f+KbB50DSm2wI0HzjDg9a8UaxoKnkSYZ8FxjUnkQSIZgPyJJ7EjghIIvGqvWckXlFaqFZoP+Cwzh.Eyf84KlT8Q2c2c+Y1lL26QW34dgWZHQUdG.8lR4Fft2RO7pebkKYpYE2j5+sEC9Rg3ysGwTtAqGiUVCFgNyuFXLecpmXeluO0UsDfaae9u+0Y2IzuJRUv6VCIpDlty6hznwPl1kBecNTInmdZUQ2LlI2TKqi.iobOi.TPbWtwVZYqbislaDEQbSDu2Ma5ndgsGaz.XhaVtsJrkMHiu2nPDJB1e78ttkup64X6M0w81TG6roNt+l5X2M0wC1TGO7y6nd89eJElem01fPCGcl4oKKqyx1hUWsh9GvWKCsW
-
@ulrik I ask because I have projects with combo boxes and I split the "getItemText()" with ("::") to get the names and I also use the whole path for ordering the presets and samplemaps into banks and categories.
I might have to rewrite some code if this is intentionalFortunately I'm using more script panels then combo boxes for this purpose, so it might not be so much trouble in my case, but maybe for others?
-
@ulrik Can you find the commit where this happened?
-
@d-healey
It's just a guess, but it could be this one:
https://github.com/christophhart/HISE/commit/4ef97e7fb011e70370d84c97cdf788fb7fa2055e"fixed combobox dynamic submenus not working"
I also have to change my script due to the change.
-
@d-healey I have not had the time yet to compile, I hope @Oli-Ullmann has found the right commit