-
-
Notifications
You must be signed in to change notification settings - Fork 413
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reimplement multi window logic #3510
Comments
aadcg
added
4-series
Related to releases whose major version is 4.
ffi
Renderer-specific quirks.
labels
Sep 19, 2024
aadcg
changed the title
Reimplement multi window logic
Sep 20, 2024
ffi-window-set-buffer
behaviour on multi window setting
aadcg
added a commit
that referenced
this issue
Sep 20, 2024
Delete window-set-buffer indirection. Delete dummy-buffer-p (breadcrumbs from ancient refactors). Note that from this commit on, multi window support on WebKitGTK is unusable. This is done on purpose. The way is being paved to reimplement the feature, by simplifying the API. See #3510 for a detailed discussion.
The core issue must still be solved, but something tells me that there are other issues regarding multi window support. Regardless, this will become a priority later. |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As per the API of version 3, multi window support is broken by design. The root of the issue is that the same buffer can't be shown in multiple windows. There is no indication that WebKitGTK doesn't allow it, so it is unclear why this isn't implemented.
Find below 3 perspectives on the manifestation of the issue:
(ffi-window-set-buffer (window-make *browser*) (current-buffer))
. Note that the new window is blank.switch-buffer
. Note that this results in swapping buffers across the windows. From a UI's perspective, this behavior is unsettling at best (not to mention that the window title is not properly handled).output.mp4
For version 4, the root of the issue must be addressed for the WebKitGTK port.
Additionally,
ffi-window-set-buffer
should handle slotsactive-buffer
,last-access
and hookwindow-set-buffer-hook
. It should be possible to dropwindow-set-buffer
and rely exclusively onffi-window-set-buffer-hook
.The text was updated successfully, but these errors were encountered: