gnustep/libs-gui

XIB tooltip format has changed in latest Xcode...

gcasa opened this issue · 1 comments

gcasa commented

The original format is this... note that the toolTip is set in the first line...

                            <button toolTip="Enable rich cursors when connected to a compliant VNC server." fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="688">
                                <rect key="frame" x="29" y="32" width="322" height="18"/>
                                <autoresizingMask key="autoresizingMask"/>
                                <buttonCell key="cell" type="check" title="Rich Cursors" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="776">
                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
                                    <font key="font" metaFont="system"/>
                                </buttonCell>
                                <connections>
                                    <action selector="changeEncodingPrefs:" target="-2" id="695"/>
                                    <outlet property="nextKeyView" destination="hcb-wR-6iE" id="aIg-47-phy"/>
                                </connections>
                            </button>

The new format is this... note that the toolTip is set as a key as a subitem in the button...

                            <button fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="ZPu-m5-rg9">
                                <rect key="frame" x="29" y="107" width="322" height="18"/>
                                <autoresizingMask key="autoresizingMask"/>
                                <string key="toolTip">Establish all RDP connections using the updated RDP communication channel.</string>
                                <buttonCell key="cell" type="check" title="Use New RDP Connection (Beta)" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="0c7-zn-Q5c">
                                    <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
                                    <font key="font" metaFont="system"/>
                                </buttonCell>
                                <connections>
                                    <action selector="enableEpgwRdpCheckbox:" target="-2" id="448-N6-I3S"/>
                                </connections>
                            </button>

The result of this is that the toolTips set in Xcode are not displayed when loaded in a GS application. This was initially reported internally by @DavidHVernon. In the future please report GS bugs here.

gcasa commented

PR merged.