totalspectrum / flexprop

Simple GUI for Propeller development (both P1 and P2)
Other
38 stars 15 forks source link

flexprop gives Wish warning when invoking Find dialog #40

Closed dgately closed 3 years ago

dgately commented 3 years ago

On macOS (11.2.2), flexprop gives a console warning whenever the Find dialog is invoked:

2021-03-16 10:12:30.686 Wish[55915:5091906] Warning: Expected min height of view: (<NSButton: 0x7fca4a198dc0>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation. 2021-03-16 10:30:56.822 Wish[55915:5091906] Warning: Expected min height of view: (<NSButton: 0x7fca4a19ae50>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation. 2021-03-16 10:30:59.108 Wish[55915:5091906] Warning: Expected min height of view: (<NSButton: 0x7fca4a224550>) to be less than or equal to 30 but got a height of 32.000000. This error will be logged once per view in violation.

May be macOS specific as I know that the Tcl/Tk versions on macOS may be older variants. This may be a cause...

totalspectrum commented 3 years ago

It's definitely Mac specific (NSButton is an Apple class I believe). I don't see any way to fix this. As mentioned in another bug the "proper" solution is probably to build tk8.7 from source on the Mac, and I'm going to have to do that eventually since the built in tcl/tk has been deprecated on Mac OS.