14.18 round 1: a starved PDF throws, an early zoom centres, inches round to even, tests tightened

This commit is contained in:
ZacharyZhang-NY committed 2026-10-11 09:38:52 -04:00
1 parent 9be01073df
commit cd31454815
13 files changed
+210 -15

No files matched your search

+7
View File
@@ -101,6 +101,13 @@ void KeyboardShortcutsTests::theListIsSwiftsWithoutHide()
QVERIFY(!ids.contains("Menus:Hide Compositor"));
QCOMPARE(named("Export JPEG").original, ShortcutChord("s", 11));
QVERIFY(named("Export JPEG").isMenu());
// Swift 1.4.8's Export As follows Export JPEG.
QCOMPARE(named("Export As").original, ShortcutChord("w", 11));
QVERIFY(named("Export As").isMenu() && named("Export As").group == named("Export JPEG").group);
const auto position = [&all](const char *title) {
return std::find_if(all.begin(), all.end(), [title](const ShortcutDefinition &each) { return each.id() == QStringLiteral("Menus:") + QLatin1String(title); }) - all.begin();
};
QCOMPARE(position("Export As"), position("Export JPEG") + 1);
QCOMPARE(named("Content-Aware Fill").original, ShortcutChord("\x7f", 8));
QCOMPARE(named("Temporary Hand tool (hold)").original, ShortcutChord(" "));
QCOMPARE(named("Opacity digit 7 (type two for exact %)").original, ShortcutChord("7"));