9 Commits

Author SHA1 Message Date
b19c2ab070 Fix: D-Bus CreateSession signature mismatch (final fix)\n\nCorrected the CreateSession call in wayland_poc.cpp to only send the options dictionary, as the xdg-desktop-portal API does not expect a parent_window argument for this method. Updated lessons_learned.md. 2025-08-14 07:47:18 +02:00
4b1d8116bd Fix: D-Bus CreateSession signature mismatch (revisited)\n\nRemoved the unexpected parent_window argument from the CreateSession call in wayland_poc.cpp, as the xdg-desktop-portal API expects only the options dictionary. Updated lessons_learned.md. 2025-08-14 07:43:30 +02:00
536e264590 Fix: D-Bus CreateSession "Missing token" error\n\nAdded a handle_token to the QVariantMap passed to the CreateSession call in wayland_poc.cpp to resolve the "Missing token" error. Updated lessons_learned.md. 2025-08-14 07:16:48 +02:00
0ccac075a4 Fix: D-Bus CreateSession signature mismatch\n\nModified the CreateSession call in wayland_poc.cpp to only send an empty QVariantMap as its argument, aligning with the expected a{sv} signature. Updated lessons_learned.md. 2025-08-14 07:16:11 +02:00
46a5aa63a1 Fix: QDBusMessage::clearArguments() method not found\n\nRemoved the call to clearArguments() as it was causing a compilation error due to its removal in Qt 5.15. Updated lessons_learned.md. 2025-08-14 07:15:06 +02:00
c0626e7232 Fix: D-Bus SelectSources signature mismatch in wayland_poc.cpp\n\nCorrected the D-Bus call flow for SelectSources by introducing a dedicated handler for CreateSession replies, ensuring proper argument passing and resolving the signature mismatch error. Updated lessons_learned.md. 2025-08-14 07:14:05 +02:00
da11bcf541 docs: Update lessons_learned.md with recent Wayland adaptation progress 2025-08-14 05:19:32 +02:00
65b153eb50 docs: Update lessons learned with D-Bus and QDBus API fixes
This commit updates the lessons learned document to include details about
the D-Bus connection issues encountered when running the wayland_poc
executable on the host. It covers the fixes for method name mismatches
(PickSource to SelectSources), argument type mismatches (string to
QDBusObjectPath), and QDBusMessage API versioning.

This provides a more complete record of the debugging process for the
xdg-desktop-portal interaction.
2025-08-14 04:38:18 +02:00
e760af9f43 docs: Document lessons learned during Wayland grabber adaptation
This commit adds a comprehensive document summarizing the challenges,
debugging steps, and solutions encountered while attempting to adapt
the Hyperion Grabber for Wayland. It covers issues related to build
environments, PipeWire header compilation, and xdg-desktop-portal
interaction.

This document serves as a reference for future development and
troubleshooting efforts.
2025-08-14 04:28:05 +02:00