Conversation
|
did you take into account windows as well does this address: #373 ? |
|
This PR is scoped to Linux Wayland, specifically the GNOME case where the webview captures pointer events and the native titlebar controls become non-interactive. I did not make any Windows-specific changes here, and I have not tested this on Windows, so I would not claim Windows is covered by this PR. I use Debian as my daily driver, so I do not currently have a Windows environment available to verify it there. For #373, this should address it if the issue is the Linux/Wayland titlebar button and drag behavior. I verified the fix on Linux Wayland only. If you have a Windows setup to test against, that would help confirm whether a separate Windows-specific fix is needed. |
|
I meant for windows, that it should not impact windows I'm hesitant to pull this in without a lot of testers from different distros and x11 too... |
|
Understood. I do not expect this to change Windows behavior:
So the titlebar/window-control behavior change is intentionally Linux-only. That said, I understand the hesitation on Linux coverage. I only verified this on Debian GNOME Wayland. I have not tested other distros or X11, so I cannot claim broader Linux coverage from my side. If you prefer, this could stay scoped as a GNOME Wayland-targeted fix until others can confirm behavior on additional Linux environments. |
|
I will ping folks |
🧪 Test Build ReadyBuild artifacts for PR #1042 are available for testing. Download artifacts from workflow run Artifacts expire after 30 days. |
|
linux testers, please try the build above @BerthalonLucas please let me know the results of using this build, your distro, and if you are using x11 or wayland |
|
Writing this using Handy from the requested build that I'm testing. I'm currently running this with Wayland on Ubuntu 25.04 and it's running great. Auto paste and the titlebar change work well. 🚀 |
|
Tested on X11 and it's working great! @cjpais
|
|
pinging more folks to test, hoping to resolve #373 @lhotari @Nindaleth @muriloime Mostly the .RPM if it's in the build, I guess the app image is fine? Also just generally looking if this build works for you before merging it |
|
Using the test build RPM on Fedora 43 GNOME Wayland and it's much better! I observe the following behavior (everything on title bar):
|
|
Any updates @cjpais , on merging this pr ? |
|
@R11manish there are two issues described in my last comment, do you observe them too? |
|
Can u folks , check it again , earlier i thought its happening with .rpm package |
|
Needs more testers, cannot merge with outstanding issues. This is not a priority for me at the moment. Rally Linux folks in discord to test |
🧪 Test Build ReadyBuild artifacts for PR #1042 are available for testing. Download artifacts from workflow run Artifacts expire after 30 days. |
|
Latest test build runs perfectly on the Ubuntu Wayland, and the previous issues seem resolved. Double clicks and drag actions work as expected on every iteration. LGTM |
|
@Nindaleth Hey, could you give the latest test build a run on Fedora please? |
- Save recordings before transcription to prevent data loss on crash (cjpais#1024) - Linux Wayland titlebar: disable decorations for custom titlebar (cjpais#1042) - Add change_secondary_selected_language_setting command (cjpais#1106 gap) - Fix CLI --auto-submit key type being ignored (cjpais#1099 bug)
|
Hey @tanshkoul, I've just checked the latest test build and everything is OK now in the RPM for me, thanks! |
|
This will be included in 0.8.1 |
|
0.8.1 is out.. but this still not got merged ? |
|
@R11manish thank you for the contribution! this looks great so far. mind rebasing with |
|
sorry I just forgot lol |
efffa5d to
b227ec5
Compare
|
@R11manish all good to go? |
|
hold on this pr , i found one more issue on wayland thats , keys shortcut not working properly , i kind off find a workaround to it , just gimme some more time |
|
ok thanks |

Summary
mainwindow onlyPreview
Root Cause
On GNOME Wayland, the webview captures pointer events and GTK client-side decoration buttons become non-interactive. GNOME Wayland also does not support server-side decorations, so the app needs its own titlebar controls when running undecorated.
Changes
src-tauri/src/lib.rs.maximizable(false)to macOSsrc/components/TitleBar.tsxsrc/App.tsxsrc/components/onboarding/Onboarding.tsxsrc/components/onboarding/AccessibilityOnboarding.tsxsrc-tauri/capabilities/main-window-controls.jsonmainwindowsrc/i18n/locales/en/translation.jsoncommon.appNamefor titlebar text.github/assets/linux-wayland-titlebar-preview.pngValidation
bun run lintbun run buildNotes
src/bindings.tsout of this PR because the local change there was an unrelated generated comment update