ImpulseAdventure / GUIslice-Builder

Cross-platform drag & drop GUI builder for GUIslice
Other
166 stars 35 forks source link

Builder: Value modification: unreadable (on Linux) #113

Closed pierbout closed 4 years ago

pierbout commented 4 years ago

Describe the bug

When I double-clic on a field of the builder to modify the value, this value is unreadable (top and bottom of the field are not visible (at least under Linux Mint 19). When I press enter, the value is visible again

Device hardware

-Linux Mint 19

Checklist to try first

Most display/touch issues can be identified by working through the steps in the Configuring GUIslice guide.

Please confirm whether:

Expected behavior

When I double-clic on a field of the builder to modify the value, I vould expect the cursor to appear, the color of the field to change (or not), but the value to remain parfaitly readable

Initialization messages

Please copy any startup messages / errors reported to the serial monitor window here. You can enable all error messages by setting DEBUG_ERR 2 in the GUIslice config file.

Additional info

I think the problem is linked to the GUIslice builder, not the GUIslice library. I think its a matter of field height, as the top and bottom of the field are suddenly missing.After pressing enter, the field height is normal again (and the value readable)

Pconti31 commented 4 years ago

@pierbout You are supposed to single click on property fields to select and in Java enter key often as not required. Note that if you double click on a boolean propriety that starts true you will see it go to false and back again to true. Most of this is mentioned in the Builder's User Guide. Whether you hate it or not its just the way it is... I didn't invent Java Swing just learned to live with it.

I have only tested the Builder on Ubuntu 18.04 so there could be issues with mint 20.04 but not this one. Double click on color field in Windows 10 and it does the same thing. If it hurts when you do that don't do it. Just single click.

Paul--

pierbout commented 4 years ago

Hello Paul.

Thank you for your quick answer.

I love your builder, and you made an amazing job. I perfectly understand that you do your best and that it's hard to manage any Os in the world. Sorry if I hurtted you, it was really not the goal: I opened this case in order to help you make the builder be even better, not to criticize the amazing job that you did.

I tested with a songle click, and the behaviour is almost the same: -When I single click, the area is selected (it is almost unnoticeable) and the value remains visible -but as soon as I start to type a new value, the area becomes grey and the value unreadable -when I select enter to confirm the new value, the new value is visible (and readable).

Pconti31 commented 4 years ago

Hmm, I wonder if single click could be java theme related? What theme are you using? The Default Flat Light theme? or some other? If so, try one of the Java built in themes. Like Metal, or Nimbus. I am about to update to FlatLaf 0.41 from your installed FlatLaf 0.38 so if the java themes work we can try an updated FlatLaf version. Otherwise, I'll have to install mint 20.04 and see if I can determine what is going on. Although, that could be weeks away given my current load... Paul--

pierbout commented 4 years ago

Hello Paul.

Changing the theme (GTK+) did not solve.

But reinstalling GUIslice-builder with java "~/arduino-1.8.7/java", as you suggested in another post, solved the problem. Thank you for your help!

Issue solved.