-
Bug
-
Resolution: Unresolved
-
P2: Important
-
None
-
Qt Creator 18.0.0
-
None
-
Ubuntu 24.04 LTS
- Open tests/auto/qsvgrenderer/tst_qsvgrenderer.cpp from qtsvg's repository.
- Go to line 154:
QTest::newRow("no width zero height") << R"(<svg><rect height="0"/></svg>)"_ba; - Place the cursor right behind "rect".
- Try adding an x-position to that rect. Type an "x", a "=" and a double-quote (").
They get added to the line as expected. - Instead of typing a value, first type the closing double quote.
Expected: One double quote is added to the line.
Actual: Two double quotes are added to the line at once, so the line now reads:QTest::newRow("no width zero height") << R"(<svg><rect x=""" height="0"/></svg>)"_ba;That is one double quote too much.