Bug using API: addBoolValueInput checkbox unclickable if theme is not Fusion Classic

Bug using API: addBoolValueInput checkbox unclickable if theme is not Fusion Classic

Pedro_Bidarra
Collaborator Collaborator
319 Views
7 Replies
Message 1 of 8

Bug using API: addBoolValueInput checkbox unclickable if theme is not Fusion Classic

Pedro_Bidarra
Collaborator
Collaborator

I had posted this in the Fusion API forum, but is more likely a bug.

Using Python.
In my UI dialog created using CommandCreatedHandler I have two checkboxes, created using "inputs.addBoolValueInput", with a "inputs.addTextBoxCommandInput" between the two.

If the Fusion theme is "Fusion Classic" they both work as expected, they are clickable and they turn on and off.
But if the theme is "Light Gray" or "Dark Blue", the 2nd checkbox does not work, can't be unchecked if it's checked by default or can't be checked if it's unchecked by default.

This is the sequence in the code:

inputs.addBoolValueInput()
inputs.addTextBoxCommandInput()
inputs.addBoolValueInput()
inputs.addTextBoxCommandInput()


I'm using the latest version of Fusion as of today (v.2603.0.86 – July 14, 2025), I didn't try this in previous versions.

0 Likes
Accepted solutions (1)
320 Views
7 Replies
Replies (7)
Message 2 of 8

Pedro_Bidarra
Collaborator
Collaborator

What I think is happening here is that the 1st TextBox is getting on top of the 2nd check box, my hypothesis is that the text size in the non-classic themes is smaller but the box itself remains the same size.

0 Likes
Message 3 of 8

Pedro_Bidarra
Collaborator
Collaborator

For anyone that stumbles upon the same problem.

I can confirm my 'overlap' hypothesis, I'm not sure Autodesk will ever notice this thread and fix the issue, so I needed a workaround.

I got around it by displaying the text as a tooltip for the checkboxes, a solution that declutters the UI and avoids any overlap issue.

0 Likes
Message 4 of 8

john.koerner
Autodesk
Autodesk

Thanks for reporting this.  Can you share some screenshots comparing classic versus one of the other modes?  Also, if you have a minimal script that would be great to help us reproduce.  

John Koerner
0 Likes
Message 5 of 8

john.koerner
Autodesk
Autodesk

Is this the difference you are seeing?

johnkoerner_1-1753470261389.png

vs.

 

johnkoerner_0-1753470213914.png

 

John Koerner
Message 6 of 8

Pedro_Bidarra
Collaborator
Collaborator

Thank you for looking into this.

So, I'm using the text boxes as read only just to display information, so I wasn't actually seeing the box.
The relevant part of the code is just this

            # Textures checkbox
            inputs.addBoolValueInput(
                'exportTextures', 
                get_translation("export_textures"), 
                True, 
                '', 
                self.config['export_textures']
            )
            inputs.addTextBoxCommandInput(
                'description_textures', 
                '', 
                get_translation("descriptions", "textures"), 
                2, 
                True
            )

            # Exclude meshes checkbox
            inputs.addBoolValueInput(
                'excludeMeshes', 
                get_translation("exclude_mesh_bodies"), 
                True, 
                '', 
                self.config['exclude_meshes']
            )
            inputs.addTextBoxCommandInput(
                'description_exclude_meshes', 
                '', 
                get_translation("descriptions", "exclude_meshes"), 
                2, 
                True
            )

 And this is what it looked in the Classic Theme like before I converted the info to tooltips.

Screenshot 2025-07-26 185401.png

I later noticed that the textbox below units also partially covers the dropdown below in the new themes.

I can try to reload the old code just to get  a screenshot with one of the new themes applied if that's important.

0 Likes
Message 7 of 8

Pedro_Bidarra
Collaborator
Collaborator

Yeah, I think so, if you set the text boxes to read only then you see the check box but can't click it (in the new themes).

0 Likes
Message 8 of 8

john.koerner
Autodesk
Autodesk
Accepted solution

Thanks for the feedback.  We have reproduced it and logged a ticket in our backlog. 

John Koerner