Python Forum
QComboBox doesn't display selection as long as it has not lost the focus
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
QComboBox doesn't display selection as long as it has not lost the focus
#1
I am developing a PyQt5 application. It works properly on Linux platform but I meet an issue when running it on a Windows 10 platform. The trouble is with QComboBox. When the user selects an item in a QComboBox it is not displayed as long as the QComboBox has not lost focus. This means that the previously selected item text stays visible and the user has to click elsewhere in the windows to make the text of the newly selected item appear in the combo. Moreover, when hovering an item in the dropdown list of the combo, its text disappears (whitening of the selected line) Can somebody help me fixing this 2 issues ?
Reply


Messages In This Thread
QComboBox doesn't display selection as long as it has not lost the focus - by Meaulnes - May-07-2020, 01:23 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [Tkinter] Open tkinter colorchooser at toplevel (so I can select/focus on either window) tabreturn 4 1,914 Jul-06-2022, 01:03 PM
Last Post: deanhystad
  How to move in entries using the arrow keys by applying the bind and focus? pymn 4 4,726 Apr-06-2022, 04:29 AM
Last Post: pymn
  [PyQt] How do I display the DB table I will choose from the QComboBox in QTableWidget JokerSob 2 2,320 Aug-05-2021, 03:00 PM
Last Post: JokerSob
  [PyQt] display content from left to right in QComboBox or QLineEdit mart79 2 2,318 May-30-2020, 04:38 PM
Last Post: Axel_Erfurt
  How to disable focus on Frame in Tkinter? szafranji 1 3,027 May-13-2020, 10:45 PM
Last Post: DT2000
  QComboBox for PyQt code gvin47 3 2,109 Apr-22-2020, 04:01 PM
Last Post: gvin47
  Tkinter focus catlessness 5 5,869 Apr-03-2020, 05:24 AM
Last Post: joe_momma
  Display and update the label text which display the serial value jenkins43 5 9,085 Feb-04-2019, 04:36 AM
Last Post: Larz60+
  Display more than one button in GUI to display MPU6000 Sensor readings barry76 4 3,892 Jan-05-2019, 01:48 PM
Last Post: wuf
  [PyQt] PyQt4 dynamic QComboBox littleGreenDude 4 5,685 Jan-02-2019, 07:22 PM
Last Post: littleGreenDude

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020