Missing "x" symbol on tabs for open files in editor. The "x" used to be an icon to close the file.
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Please provide any additional information below
pyflakes >=0.5.0 : 1.5.0 (OK)
pep8 >=0.6 : 1.7.0 (OK)
pygments >=2.0 : 2.2.0 (OK)
qtconsole >=4.2.0: 4.3.0 (OK)
nbconvert >=4.0 : 5.2.1 (OK)
pandas >=0.13.1 : 0.19.2 (OK)
numpy >=1.7 : 1.12.1 (OK)
sphinx >=0.6.6 : 1.6.2 (OK)
rope >=0.9.4 : 0.10.5 (OK)
jedi >=0.9.0 : 0.10.2 (OK)
psutil >=0.3 : 5.2.2 (OK)
matplotlib >=1.0 : 2.0.0 (OK)
sympy >=0.7.3 : None (NOK)
pylint >=0.25 : 1.7.1 (OK)
Thanks for reporting. This is probably caused by Qt 5.8 on macOS. The thing is we mainly test Spyder with Anaconda, which comes with Qt 5.6.
I recently noticed this problem (missing "x" in Spyder IDE file tabs) after updating to Anaconda 5.2.0 on MacOS 10.13.4.
Of the items the previous posts focused on, Anaconda 5.2.0 installed
Python 2.7.15
Spyder 3.2.8
qt 5.9.5
Thank you,
Ludger
According to https://github.com/gideros/gideros/issues/326 this was fixed in Qt 5.9.2.
Updating qt to 5.9.2 or later by itself does not seem to fix this.
The "x" marking the spot to close the tabs in Spyder are still missing in my setup -- despite using qt 5.9.5 and Spyder 3.2.8.
I hope I managed to attach a screenshot with evidence:
The remainder of my installation is Anaconda 5.2.0.
Thank you,
Ludger
Unfortunately none of the current developers uses macOS, so we don't have a chance to fix this, sorry.
I found a workaround:
Change the Qt windows style to either Fusion or WIndows in Preferences > General > Appearance > Qt windows style
It is ugly (by Mac standards) but works.
This workaround works for me.
After trying this workaround, I now have 'x' boxes but they do nothing.
pyqt 5.9.2, spyder 3.3.1, mac osx 10.14
although the "x" is missing, but by clicking where it supposes to be, the close function still works!
A workaround is to add to spyder/spyder/app/mac_stylesheet.qss
:
QTabBar::close-button{ background-image: url("CloseButton.png");}
QTabBar::close-button:hover{ background-image: url("CloseButtonHover.png");}
(from https://bugreports.qt.io/browse/QTBUG-61092)
Most helpful comment
I found a workaround:
Change the Qt windows style to either Fusion or WIndows in Preferences > General > Appearance > Qt windows style
It is ugly (by Mac standards) but works.