# Detecting mouse hover?

**URL:** <https://forum.cabbageaudio.com/t/detecting-mouse-hover/2446>\
**Category:** Cabbage Stew\
**Created:** [12 April 2021 19:44 UTC](https://forum.cabbageaudio.com/t/detecting-mouse-hover/2446 "2021-04-12T19:44:36Z")\
**Posts on this page:** 7\
**Page:** 2

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [17 April 2021 14:59 UTC](https://forum.cabbageaudio.com/t/detecting-mouse-hover/2446/21 "2021-04-17T14:59:05Z")

</div>

I just tried the latest build, version 2.5.35 and it’s working fine for me? That build is from yesterday evening.

---

<div class="post-metadata">

**Author:** ![fellusive](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/fellusive/32/4515_2.png) [@fellusive](https://forum.cabbageaudio.com/u/fellusive)\
**Post date:** [17 April 2021 15:47 UTC](https://forum.cabbageaudio.com/t/detecting-mouse-hover/2446/22 "2021-04-17T15:47:41Z")

</div>

Oh! For some reason it’s working fine for me as well today, even though I’m using the same version (2.5.35) that I was using yesterday… Not too sure what happened with my computer overnight but I’m glad it’s working now. Thanks for your constant updates 🙂

---

<div class="post-metadata">

**Author:** ![fellusive](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/fellusive/32/4515_2.png) [@fellusive](https://forum.cabbageaudio.com/u/fellusive)\
**Post date:** [17 April 2021 17:23 UTC](https://forum.cabbageaudio.com/t/detecting-mouse-hover/2446/23 "2021-04-17T17:23:31Z")

</div>

After some tests, typeface does seem to be working properly, but if I try to bundle the font file with my plugin using bundle(), I run into the same issues as before if I try to dynamically change the `text` of a label. This behavior also tends to be inconsistent - on rare occasions it works properly, other times it has those spacing + character-erasing issues, and sometimes it crashes Cabbage.

If I leave the .ttf out of the bundle() then it works fine. But I’m assuming that one would need to bundle the font file in the plugin in order for the font to “work”?

[edit] - alternatively, including the .ttf in` <CabbageIncludes>` seems to be working fine, but I’m a bit hesitant to only rely on because it has recently been rather inconsistent for me - sometimes it will somehow try to bundle code that is outside the `<CabbageIncludes>` `</CabbageIncludes>` section and result in an error.

[edit #2] moving or resizing the label also re-introduces the spacing/erasing issues (and occasionally a crash). In the past I’ve noticed that moving/resizing widgets via the editor mode sometimes causes non-visuals-related arguments (like the signalVariable of a signalDisplay, or the mode of a filebutton) to disappear or change, so maybe this problem has something to do with that.

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [17 April 2021 19:24 UTC](https://forum.cabbageaudio.com/t/detecting-mouse-hover/2446/24 "2021-04-17T19:24:13Z")

</div>

Both includes and bundle just copy files into the .vst bundle. I would steer people towards `bundle()` over the include section which is deprecated. You can always try the old fashioned way, just copy the font file and drop it into the .vst bundle manually. You’ll need to right click the vst bundle and ‘show contents’ then navigate to the folder with the .csd file and place the font there. Let me know how that goes.

---

<div class="post-metadata">

**Author:** ![fellusive](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/fellusive/32/4515_2.png) [@fellusive](https://forum.cabbageaudio.com/u/fellusive)\
**Post date:** [21 April 2021 20:20 UTC](https://forum.cabbageaudio.com/t/detecting-mouse-hover/2446/25 "2021-04-21T20:20:21Z")

</div>

Ah, I see. Manually dropping the font file (as well as other needed files) into the folder with the .csd works. Thanks again!

---

<div class="post-metadata">

**Author:** ![rorywalsh](https://forum.cabbageaudio.com/user_avatar/forum.cabbageaudio.com/rorywalsh/32/165_2.png) [@rorywalsh](https://forum.cabbageaudio.com/u/rorywalsh)\
**Post date:** [22 April 2021 08:34 UTC](https://forum.cabbageaudio.com/t/detecting-mouse-hover/2446/26 "2021-04-22T08:34:47Z")

</div>

Thanks for checking. I’ll look into this. There must be something wrong when trying to bundle fonts.

---

<div class="post-metadata">

**Author:** ![Kzz](https://forum.cabbageaudio.com/letter_avatar_proxy/v4/letter/k/b487fb/32.png) [@Kzz](https://forum.cabbageaudio.com/u/Kzz)\
**Post date:** [30 June 2021 16:32 UTC](https://forum.cabbageaudio.com/t/detecting-mouse-hover/2446/27 "2021-06-30T16:32:31Z")

</div>

Yes sure… Sorry for that

[Previous page](https://forum.cabbageaudio.com/t/detecting-mouse-hover/2446.md?page=1)
