fix: P0 issues — Wayland, menus, content box, spread order, deskew/oblique - #133
fix: P0 issues — Wayland, menus, content box, spread order, deskew/oblique#133pablogventura wants to merge 3 commits into
Conversation
|
Hi @pablogventura . The logic is broken in the "Deskew vs oblique parameter model". As a result, the interface is buggy and the result is unclear.
|
|
Thanks a lot for taking the time to test and for the screenshot — that is exactly the kind of feedback we need. To reproduce the same “Deskew vs oblique parameter model” problem on our side, could you please list minimal steps (from a new project or a tiny sample): which page, which mode (Auto deskew / oblique on or off), and what you click before the UI ends up in the state you showed? If you can also name the branch/commit you built (or confirm it is the latest push on this PR), that helps match your build to ours. Deskew vs oblique semantics and copy behaviour are also tracked in #117. If your report is mostly about parameter coupling / unclear results rather than the Wayland or menu fixes bundled here, we may split a narrow follow-up so this PR does not grow without a clear scope. Again, thank you — we will follow up once we can reproduce the same state locally. |
|
@pablogventura say:
Branch: https://github.com/pablogventura/scantailor-advanced/tree/fix/p0-plan-issues Step "3. Deskew" -> "Oblique mode" = "Manual". All. (See screenshot up). |
… deskew/oblique - ScanTailor-Advanced#97: Default to QT_QPA_PLATFORM=xcb on Wayland (Qt5) unless SCANTAILOR_NO_XCB_FALLBACK; README. - ScanTailor-Advanced#75: Use QMenu with thumbnail view parent for page context menus. - ScanTailor-Advanced#90: Translate manual content rect with page rect center when page box updates. - ScanTailor-Advanced#62: ProjectPages::setLayoutDirection + Tools action to reverse two-page spread order; OutputFileNameGenerator setter. - ScanTailor-Advanced#117: Separate oblique Auto/Manual (Params + oblique-mode XML), Apply To checkboxes, merge per target page; CacheDrivenTask incomplete thumb when oblique auto.
d270ea9 to
2eb21de
Compare
|
Rebased on current Please review when you can — we are not merging yet and would like community feedback on:
Manual test: open a real project, exercise the items above, report works / partial / broken with STA version and OS. Maintainers have not run full GUI QA on this push; local build succeeded after rebase. |
Remove two-page spread order menu action and handler that belong in the P0 bundle (ScanTailor-Advanced#133 / ScanTailor-Advanced#62). Fixes CI build after rebase on master.
|
Friendly reminder for @zvezdochiot: when you have a moment, could you re-test the deskew vs oblique flow on the current branch after the May 22 rebase? Minimal steps:
We are holding merge on this bundle until we have that feedback. Thanks again for the earlier report. |
Remove two-page spread order menu action and handler that belong in the P0 bundle (ScanTailor-Advanced#133 / ScanTailor-Advanced#62). Fixes CI build after rebase on master.
|
Update: PR #133 was closed accidentally when the Work continues in #152 (restored branch, rebased on current |
fix: P0 bundle — Wayland, menus, content box, spread order, deskew/oblique (reopens #133)

Summary
Single integration branch addressing P0 tracker items in one PR (can be split on request).
#97 Wayland (Qt5)
QT_QPA_PLATFORM=xcbwhenXDG_SESSION_TYPE=waylandand platform not set.SCANTAILOR_NO_XCB_FALLBACK=1. README updated.#75 Multi-monitor context menus
QMenuparent set to thumbnail view for correct placement.#90 Manual content box vs page/offcut changes
contentRectwith page rect center shift, then clip; fallback to content refresh if invalid.#62 Two-page spread reading order
ProjectPages::setLayoutDirection+ Tools action Reverse two-page spread order;OutputFileNameGeneratorupdated with layout direction.#117 Deskew vs oblique parameter model
oblique-modein XML), UI row Oblique mode, Apply To… checkboxes (deskew / oblique) with per-page merge.CacheDrivenTask: incomplete thumbnail when oblique is auto and deps mismatch.Testing
cmake --build build,core_tests --run_test=DeskewParamsTestSuiteFeedback requested
Please try real workflows (especially #90 offcut round-trip, #62 Japanese-style order, #117 copy/apply combinations) and report on this PR.