# Bug with Calendar Component

**URL:** <https://forum.inductiveautomation.com/t/bug-with-calendar-component/108916>\
**Category:** Ignition\
**Tags:** ignition81, vision\
**Created:** [July 24, 2025, 5:42pm UTC](https://forum.inductiveautomation.com/t/bug-with-calendar-component/108916 "2025-07-24T17:42:23Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![dgratz](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@dgratz](https://forum.inductiveautomation.com/u/dgratz)\
**Post date:** [July 24, 2025, 5:42pm UTC](https://forum.inductiveautomation.com/t/bug-with-calendar-component/108916/1 "2025-07-24T17:42:23Z")

</div>

I encountered a strange visual bug when using the Calendar component in Vision:

 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/7/3/73c192ef5f491c5dd9ff8eb38b5ac9a12ed3fbdf.png)  
vs. normal:  
 ![image](https://us1.discourse-cdn.com/inductiveautomation/original/3X/d/1/d1aa6f896dd6561ef31ad25600759434e51ba662.png)

This occurred when I used an external script to set the "date" property of the component or when using the navigation buttons at the bottom of the component. It isn't the end of the world, as it's simply visual and reverts to normal when the page is reloaded, but I thought it was worth bringing up. (If there's a better place to post bug reports, I couldn't find it, but I'd be grateful if someone who knows would point me there)

---

<div class="post-metadata">

**Author:** ![dgratz](https://avatars.discourse-cdn.com/v4/letter/d/b19c9b/32.png) [@dgratz](https://forum.inductiveautomation.com/u/dgratz)\
**Post date:** [July 24, 2025, 5:45pm UTC](https://forum.inductiveautomation.com/t/bug-with-calendar-component/108916/2 "2025-07-24T17:45:57Z")

</div>

As I was playing around with the component after posting this, I realized that I had made the titleBackground property partially transparent. When I switched this to completely opaque, this behavior went away. Not sure if there is some background work that the calendar component does behind the title, but apparently it's visible if the background is transparent.

---

<div class="post-metadata">

**Author:** ![paul-griffith](https://sea1.discourse-cdn.com/inductiveautomation/user_avatar/forum.inductiveautomation.com/paul-griffith/32/37249_2.png) [@paul-griffith](https://forum.inductiveautomation.com/u/paul-griffith)\
**Post date:** [July 24, 2025, 5:52pm UTC](https://forum.inductiveautomation.com/t/bug-with-calendar-component/108916/3 "2025-07-24T17:52:01Z")

</div>

In general, Java Swing (the rendering technology behind Vision) does a poor job at transparency. This is a classic symptom - a 'dirty' region that is overpainted multiple times. If there's an 'opaque' property exposed on the component, changing its value _might_ help fix this (if you need transparency) but the simpler solution is just to not deal with transparency 😃
