Skip to content

Mispell wavy line#33

Open
pplupo wants to merge 15 commits into
Euro-Office:mainfrom
pplupo:mispell-wavy-line
Open

Mispell wavy line#33
pplupo wants to merge 15 commits into
Euro-Office:mainfrom
pplupo:mispell-wavy-line

Conversation

@pplupo

@pplupo pplupo commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Adding the option of the original straight line or a wavy line to underline mispelled words: Euro-Office/DesktopEditors#3

pplupo added 15 commits June 18, 2026 00:48
Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
* main.cpp: Wrapped the deprecated Qt::AA_UseHighDpiPixmaps attribute in a Qt 6 version guard.
* cwindowbase.cpp & cplatformdecoration.cpp: Replaced deprecated globalPos() calls with globalPosition().toPoint().
* ccefeventstransformer.h: Stripped invalid signals: and public slots: macros, as the class inherits from a CEF event listener rather than QObject.

Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
…kends

Introduce a platform abstraction layer for the X11-to-Wayland migration:

- iplatformbackend.h: Pure virtual interface defining window management,
  decoration/WM interaction, cursor management, and query methods.

- x11backend.h/.cpp: Implementation wrapping the existing X11/XCB code from
  linux_window_utils.cpp and cplatformdecoration.cpp. Uses the same
  getXDisplay() singleton pattern and XCB/Xlib APIs.

- waylandbackend.h/.cpp: Implementation using Qt 6 APIs exclusively (no X11
  headers). Operations impossible on Wayland (cursor warping, window
  positioning, synthetic events) are safe no-ops. Interactive move/resize
  uses QWindow::startSystemMove()/startSystemResize().

- platformbackendfactory.cpp: Runtime backend selection via
  QGuiApplication::platformName() == "wayland" with singleton pattern.

The existing cplatformdecoration.cpp and linux_window_utils.cpp are
intentionally left unmodified; consumers will be migrated in Phase 2.

Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
…Backend

Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
…ases

Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
- Enable Wayland-native rendering via off-screen rendering (OSR)
- Forward mouse, keyboard, wheel, and focus events to CEF
- Handle DPI scaling via CEF device_scale_factor
- Skip redundant context menu positioning on Wayland
- Set QT_QPA_PLATFORM=wayland when session type is Wayland

Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
Signed-off-by: Peter P. Lupo <pplupo@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant