question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Combobox with issues using dark theme - QDarkStyle problem

See original GitHub issue

Issue Report Checklist

  • Searched the issues page for similar reports
  • Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
  • Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
  • Could not reproduce inside jupyter qtconsole (if console-related)
  • Tried basic troubleshooting (if a bug/error)
    • Restarted Spyder
    • Reset preferences with spyder --reset
    • Reinstalled the latest version of Anaconda
    • Tried the other applicable steps from the Troubleshooting Guide
  • Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description

Combo boxes are showing a white line in top and bottom when opened, and it includes a checkbox inside the combobox when using DarkStyle.

That is a problem with QDarkStyle, I need a confirmation of this bug reported in: https://github.com/ColinDuquesnoy/QDarkStyleSheet/issues/132

What steps reproduce the problem?

  1. Open the Spyder IDE
  2. Go to Help tab
  3. Open Combobox of Console
  4. Or preferences/Appearence theme combobox

combobox-problem combobox-problem-too combobox-no-problem

What is the expected output? What do you see instead?

A normal combobox as in Fonts Menu.

Versions

  • Spyder version: 4.0.0.dev
  • Python version: 3.6.8
  • Qt version: 5.6.2
  • PyQt version: 5.6
  • Operating System name/version: Linux, Ubuntu 18.04

Also, providing this versions as you do with dependencies should very nice to make the reporting easy. Or using help-dev below.

helpdev-info.txt

Dependencies

pygments >=2.0 : 2.3.1 (OK) qdarkstyle >=2.6.4: 2.6.6 (OK) sphinx >=0.6.6 : 2.0.1 (OK) psutil >=0.3 : 5.6.1 (OK) pyls >=0.19.0 : 0.26.1 (OK) nbconvert >=4.0 : 5.4.1 (OK) pandas >=0.13.1 : None (NOK) numpy >=1.7 : 1.16.3 (OK) sympy >=0.7.3 : None (NOK) cython >=0.21 : None (NOK) qtconsole >=4.2.0 : 4.4.3 (OK) IPython >=4.0 : 7.4.0 (OK) matplotlib >=2.0.0: None (NOK) pylint >=0.25 : 2.3.1 (OK)

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:7 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
ccordoba12commented, Apr 24, 2019

@dpizetta, thanks for reporting. I noticed this problem too. Is there something we can do about it in Spyder?

0reactions
ccordoba12commented, May 1, 2019

This was fixed in QDarkstyle 2.6.7

Read more comments on GitHub >

github_iconTop Results From Across the Web

Changelog - QDarkStyle documentation - Read the Docs
Temporary fix for expanded combo box in Qt 5.15, fixes #282, #285, ... scheme based on the Breeze Dark theme of KDE 5;...
Read more >
How to keep QComboBox from expanding last chosen item ...
I am trying to use a QComboBox widget, but the selected item gets blown up to a huge size that makes the widget...
Read more >
Turn on Dark theme & color inversion - Google Support
There can be issues with color quality or legibility. Turn on dark theme. Open your device's Settings app . Select Accessibility. Under "Color...
Read more >
Emulate dark or light schemes in the rendered page
Emulating dark or light mode using the Rendering tool ... CSS code is shown in Check for contrast issues with dark theme and...
Read more >
QDarkStyle - PyPI
The most complete dark/light style sheet for Qt applications (Qt4, Qt5, PySide, PySide2, PyQt4, PyQt5, QtPy, PyQtGraph, Qt.Py) for Python 2/3 and C++....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found