keithel / qapitrace-combobox-elide-bug

Qapitrace Combobox Bug Exploration

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Qapitrace Combobox Bug Exploration

This just holds some tests I have made to try to minimally reproduce a bug I am seeing in qapitrace -- a gui tool that accompanies apitrace. The retracer dialog has a combo box that has an entry with text "Run & Check". When the dialog is shown, and the combo box is opened, the "Run & Check" entry is replaced with "Run ...Check".

Running the Tests

  • python -m venv venv
  • source venv/bin/activate
  • python -m pip install -r requirements.txt
  • python qapitrace-combobox-elide-bug.py

Versions of Qt that are affected

This bug occurs when building against Qt 5.15.3, 5.15.7, and 5.15.14, and presumably Qt releases between those versions. Those just happened to be the versions I tested.

This bug does not occur when building against Qt 5.15.2 or 6.5.1. Given that Qt 5.15.14 is the latest Qt 5.15 commercial release, it would seem that the bug was introduced in Qt 5.15.3, but fixed sometime on or after Qt 6.0.0.

Reproducing Behavior in Qapitrace

To reproduce the behavior, you must build the qapitrace tool, load a trace file, and press Ctrl-R or choose menu item Trace->Replay to bring up the dialog in question.

Here are steps:

Witness the Run ...Check elision that should not occur.

About

Qapitrace Combobox Bug Exploration

License:MIT License


Languages

Language:Python 57.2%Language:CMake 24.0%Language:C++ 18.8%