Skip to content

[macosx] provide special processing mode for events - #24028

Draft
linev wants to merge 1 commit into
root-project:masterfrom
linev:macos_postevents
Draft

linev wants to merge 1 commit into
root-project:masterfrom
linev:macos_postevents

Conversation

@linev

@linev linev commented Nov 6, 2026

Copy link
Copy Markdown
Member

By default all application events redirected to window system.
But in case of gtk4 one requires that events are remain in application queue - to be processed by gtk4

Implement "MacOSX.PostEvents: 1" mode which analyze only application events and resubmit other events to the front of the queue. It is the only solution found to let use gtk4 widgets inside ROOT application on Mac.

In such mode events are dequed, analyzed if created for ROOT (sockets handling) and remaining placed back to the queue.

In such mode normal ROOT widgets will not work - so it is only temporary solution.
Actually one have to move this functionality to TGQuartz class and provide hook in the TMacOSXSystem class

By default all application events redirected to window system.
But in case of gtk4 one require that events are remain
in system queue and then processed by gtk4

Implement MacOSX.PostEvents: 1 mode which analyze only application events
and resubmit other events to the front queue
@linev
linev requested review from dpiparo and pcanal as code owners November 6, 2026 10:00
@linev linev self-assigned this Nov 6, 2026
@linev
linev marked this pull request as draft November 6, 2026 10:00
@github-actions

github-actions Bot commented Nov 6, 2026

Copy link
Copy Markdown

Test Results

    21 files      21 suites   3d 10h 52m 13s ⏱️
 3 884 tests  3 884 ✅ 0 💤 0 ❌
72 201 runs  72 201 ✅ 0 💤 0 ❌

Results for commit 777508a.

This branch has not been deployed

No deployments
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