Symptom
When the GTK editor hover popup (RichTextPopup, #214) has been clicked-to-persist and the popup has its own scrollbar visible, clicking on that scrollbar also activates the editor's scrollbar underneath the popup. Two scrollbars react to the same click.
Likely cause
The persisted-popup mode is a modal-style overlay that should consume mouse events inside its bounds before they reach the editor. Either:
- The GTK click handler in `src/gtk/mod.rs` doesn't route through `quadraui::ModalStack` for this surface.
- Or it does, but the popup's `ModalEntry::bounds` are smaller than the actual painted area (so the scrollbar column falls outside the modal bounds and flows through).
Scope check: editor hover popup migrated to RichTextPopup in #214; the Phase B.4 event-routing pilot (`a02eff9`) introduced `ModalStack` for the picker. Whether RichTextPopup was wired through the same dispatcher is the thing to verify.
Files
- `src/gtk/mod.rs` — mouse click handler around the editor area; check whether it consults `ModalStack` before forwarding to the editor scrollbar's gesture controller.
- `src/render.rs` — RichTextPopup adapter; verify the popup's bounds include the scrollbar column.
Surfaced by
#223 Tooltip pilot smoke test. Pre-existing — Tooltip primitive doesn't have a scrollbar.
Symptom
When the GTK editor hover popup (RichTextPopup, #214) has been clicked-to-persist and the popup has its own scrollbar visible, clicking on that scrollbar also activates the editor's scrollbar underneath the popup. Two scrollbars react to the same click.
Likely cause
The persisted-popup mode is a modal-style overlay that should consume mouse events inside its bounds before they reach the editor. Either:
Scope check: editor hover popup migrated to RichTextPopup in #214; the Phase B.4 event-routing pilot (`a02eff9`) introduced `ModalStack` for the picker. Whether RichTextPopup was wired through the same dispatcher is the thing to verify.
Files
Surfaced by
#223 Tooltip pilot smoke test. Pre-existing — Tooltip primitive doesn't have a scrollbar.