wezterm icon indicating copy to clipboard operation
wezterm copied to clipboard

Wezterm window not movable via tab bar on fedora

Open tarasglek opened this issue 1 year ago • 3 comments

What Operating System(s) are you seeing this problem on?

Linux Wayland

Which Wayland compositor or X11 Window manager(s) are you using?

mutter, fedora default settings

WezTerm version

20240812-215703-30345b36

Did you try the latest nightly build to see if the issue is better (or worse!) than your current version?

Yes, and I updated the version box above to show the version of the nightly that I tried

Describe the bug

On fedora 40 under default gnome session I can't move or resize wezterm...this happens if i delete my config and use defaults too;.

To Reproduce

Run wezterm, try to move or resize window..it refuses

Configuration

no config

Expected Behavior

No response

Logs

wezterm version: 20240812-215703-30345b36 x86_64-unknown-linux-gnu Window Environment: Wayland Lua Version: Lua 5.4 OpenGL: AMD Radeon Graphics (radeonsi, renoir, LLVM 18.1.1, DRM 3.57, 6.8.10-300.fc40.x86_64) 4.6 (Compatibility Profile) Mesa 24.0.7 Enter lua statements or expressions and hit Enter. Press ESC or CTRL-D to exit

Anything else?

No response

tarasglek avatar Aug 24 '24 12:08 tarasglek

Note I tried upgrading to latest versions of everything in fedora...This caused an ugly window manager frame to be drawn once I launched wezterm and I was able to move it around. However once I rebooted, the frame went away. Is there a way to enable this frame in config?

tarasglek avatar Aug 24 '24 13:08 tarasglek

Adding INTEGRATED_BUTTONS to config, makes the ugly bar appear and i can resize wezterm... That doesnt seem like intended effect. The integrated bar is still mostly not working, except for the exit button.

image

tarasglek avatar Aug 24 '24 13:08 tarasglek

+1 For this build from COPR


Installed Packages
Name         : wezterm
Version      : 20240818_002147_24542037
Release      : 0
Architecture : x86_64
Size         : 112 M
Source       : wezterm-20240818_002147_24542037-0.src.rpm
Repository   : @System
From repo    : copr:copr.fedorainfracloud.org:wezfurlong:wezterm-nightly
Summary      : Wez's Terminal Emulator.
URL          : https://wezfurlong.org/wezterm/
License      : MIT
Description  : wezterm is a terminal emulator with support for modern features
             : such as fonts with ligatures, hyperlinks, tabs and multiple
             : windows.

XakV avatar Aug 24 '24 14:08 XakV

+1 for Fedora 40 with Wayland, wezterm ver. 20240812-215703-30345b36. I have been using the new COSMIC desktop, and using window_decorations = "NONE" seems to let COSMIC do the resizing and the title bar, which seems to work better.

@wez Thank you so much for working on this! Wezterm is my favorite terminal, and I've tried a bunch of them. It's a better Rust terminal than COSMIC's built-in Rust terminal -- I wonder if they would "adopt" your project as the default COSMIC terminal, since their goal is to be all Rust. Just a thought :)

carsoncall avatar Aug 29 '24 18:08 carsoncall

Also this ^

XakV avatar Aug 30 '24 03:08 XakV

+1 with the build from Copr

Installed Packages
Name         : wezterm
Version      : 20240908_002323_4b291304
Release      : 0
Architecture : x86_64
Size         : 113 M
Source       : wezterm-20240908_002323_4b291304-0.src.rpm
Repository   : @System
From repo    : copr:copr.fedorainfracloud.org:wezfurlong:wezterm-nightly
Summary      : Wez's Terminal Emulator.
URL          : https://wezfurlong.org/wezterm/
License      : MIT
Description  : wezterm is a terminal emulator with support for modern
             : features such as fonts with ligatures, hyperlinks, tabs and
             : multiple windows.

abc-valera avatar Sep 12 '24 08:09 abc-valera

I'm using the latest version (wezterm 20240928-215536-a2f2c07a) on debian unstable and I cannot move the window. The workaround with config.window_decorations = "TITLE | RESIZE | INTEGRATED_BUTTONS" works to make the window moveable, but results in two max/min/close buttons.

jankatins avatar Sep 30 '24 21:09 jankatins

Hi Wez, thanks for the update. I've upgraded to F41 and am still having the same problem. I don't have a .wezterm.lua. I did remove and reinstall from the copr nightly repo.

Launching wezterm by clicking on the icon or hitting meta -> search wezterm the window has one title bar and will not move or resize. Running wezterm start in that terminal gives an error below, but launches a new wezterm with the original title bar and the gnome title bar on top.

Wezterm version wezterm 20241110_002343_de96babb

Error message;

root@masada:~# wezterm start 23:38:32.014 WARN window::os::x11::connection > Unable to resolve appearance using xdg-desktop-portal: get_appearance.read_setting: Reading xdg-portal org.freedesktop.appearance color-scheme: org.freedesktop.DBus.Error.UnknownMethod: No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop

Here are some of the graphics packages I have installed.

`❯ dnf list --installed | grep way gnome-session-wayland-session.x86_64 47.0.1-1.fc41 fedora highway.x86_64 1.2.0-3.fc41 fedora libwayland-client.x86_64 1.23.0-2.fc41 fedora libwayland-cursor.x86_64 1.23.0-2.fc41 fedora libwayland-egl.x86_64 1.23.0-2.fc41 fedora libwayland-server.x86_64 1.23.0-2.fc41 fedora qt5-qtwayland.x86_64 5.15.15-1.fc41 fedora qt6-qtwayland.x86_64 6.8.0-2.fc41 xisxwayland.x86_64 2-5.fc41 fedora xorg-x11-server-Xwayland.x86_64 24.1.4-1.fc41

~ ❯ dnf list --installed | grep gdm gdm.x86_64 1:47.0-8.fc41 updates

~ ❯ dnf list --installed | grep gnome NetworkManager-openconnect-gnome.x86_64 1.2.10-6.fc41 fedora NetworkManager-openvpn-gnome.x86_64 1:1.12.0-2.fc41 fedora NetworkManager-pptp-gnome.x86_64 1:1.2.12-7.fc41 fedora NetworkManager-ssh-gnome.x86_64 1.2.13-2.fc41 fedora NetworkManager-vpnc-gnome.x86_64 1:1.2.8-8.fc41 fedora desktop-backgrounds-gnome.noarch 41.0.0-1.fc41 fedora f40-backgrounds-gnome.noarch 40.2.0-2.fc41 fedora f41-backgrounds-gnome.noarch 41.0.1-1.fc41 fedora-chromium-config-gnome.noarch 3.0-5.fc41 fedora fros-gnome.noarch 1.1-37.fc41 fedora gnome-abrt.x86_64 1.4.3-3.fc41 fedora gnome-app-list.noarch 1.0-1.fc41 fedora gnome-autoar.x86_64 0.4.5-1.fc41 fedora gnome-backgrounds.noarch 47.0-1.fc41 fedora gnome-bluetooth.x86_64 1:47.1-1.fc41 updates gnome-bluetooth-libs.x86_64 1:47.1-1.fc41 updates gnome-boxes.x86_64 47.0-1.fc41 fedora gnome-browser-connector.x86_64 42.1-8.fc41 fedora gnome-calculator.x86_64 47.0-1.fc41 fedora gnome-calendar.x86_64 47~rc-1.fc41 fedora gnome-characters.x86_64 47~alpha-2.fc41 fedora gnome-classic-session.noarch 47.1-1.fc41 updates gnome-classic-session-xsession.noarch 47.1-1.fc41 updates gnome-clocks.x86_64 47.0-1.fc41 fedora gnome-color-manager.x86_64 3.36.0-13.fc41 fedora gnome-connections.x86_64 47.0-1.fc41 fedora gnome-contacts.x86_64 47.0-1.fc41 fedora gnome-control-center.x86_64 47.1.1-1.fc41 updates gnome-control-center-filesystem.noarch 47.1.1-1.fc41 updates gnome-desktop3.x86_64 44.1-2.fc41 fedora gnome-desktop4.x86_64 44.1-2.fc41 fedora gnome-disk-utility.x86_64 46.1-1.fc41 fedora gnome-font-viewer.x86_64 47.0-1.fc41 fedora gnome-initial-setup.x86_64 47.1-1.fc41 updates gnome-keyring.x86_64 46.2-2.fc41 fedora gnome-keyring-pam.x86_64 46.2-2.fc41 fedora gnome-logs.x86_64 45.0-4.fc41 fedora gnome-maps.x86_64 47.1-1.fc41 updates gnome-menus.x86_64 3.36.0-12.fc41 fedora gnome-online-accounts.x86_64 3.52.1-1.fc41 updates gnome-remote-desktop.x86_64 47.1-1.fc41 updates gnome-session.x86_64 47.0.1-1.fc41 fedora gnome-session-wayland-session.x86_64 47.0.1-1.fc41 fedora gnome-session-xsession.x86_64 47.0.1-1.fc41 fedora gnome-settings-daemon.x86_64 47.1-1.fc41 fedora gnome-shell.x86_64 47.1-1.fc41 updates gnome-shell-extension-apps-menu.noarch 47.1-1.fc41 updates gnome-shell-extension-background-logo.noarch 47.0-1.fc41 fedora gnome-shell-extension-common.noarch 47.1-1.fc41 updates gnome-shell-extension-launch-new-instance.noarch 47.1-1.fc41 updates gnome-shell-extension-places-menu.noarch 47.1-1.fc41 updates gnome-shell-extension-window-list.noarch 47.1-1.fc41 updates gnome-software.x86_64 47.1-1.fc41 fedora gnome-software-fedora-langpacks.x86_64 47.1-1.fc41 fedora gnome-system-monitor.x86_64 47.0-1.fc41 fedora gnome-terminal.x86_64 3.54.0-1.fc41 fedora gnome-terminal-nautilus.x86_64 3.54.0-1.fc41 fedora gnome-text-editor.x86_64 47.1-1.fc41 updates gnome-tour.x86_64 47.0-1.fc41 fedora gnome-tweaks.noarch 46.1-3.fc41 fedora gnome-user-docs.noarch 47.0-1.fc41 fedora gnome-user-share.x86_64 47.0-1.fc41 fedora gnome-weather.noarch 47.0-1.fc41 fedora pinentry-gnome3.x86_64 1.3.1-2.fc41 fedora xdg-desktop-portal-gnome.x86_64 47.1-1.fc41 fedora

~ ❯ dnf list --installed | grep mutter mutter.x86_64 47.1-2.fc41 mutter-common.noarch 47.1-2.fc41

~ ❯ dnf list --installed | grep intel intel-audio-firmware.noarch 20241017-2.fc41 fedora intel-gmmlib.x86_64 22.5.2-1.fc41 fedora intel-gpu-firmware.noarch 20241017-2.fc41 fedora intel-mediasdk.x86_64 23.2.2-6.fc41 fedora intel-vpl-gpu-rt.x86_64 24.3.3-1.fc41 fedora libva-intel-media-driver.x86_64 24.3.4-1.fc41 fedora

~ ❯ dnf list --installed | grep mesa mesa-dri-drivers.x86_64 24.2.6-1.fc41 mesa-filesystem.x86_64 24.2.6-1.fc41 mesa-libEGL.x86_64 24.2.6-1.fc41 mesa-libGL.x86_64 24.2.6-1.fc41 mesa-libGLU.x86_64 9.0.3-5.fc41 fedora mesa-libOSMesa.x86_64 24.2.6-1.fc41 mesa-libOpenCL.x86_64 24.2.6-1.fc41 mesa-libd3d.x86_64 24.2.6-1.fc41 mesa-libgbm.x86_64 24.2.6-1.fc41 mesa-libglapi.x86_64 24.2.6-1.fc41 mesa-libxatracker.x86_64 24.2.6-1.fc41 mesa-va-drivers.x86_64 24.2.6-1.fc41 mesa-vulkan-drivers.x86_64 24.2.6-1.fc41 `

XakV avatar Nov 11 '24 04:11 XakV

Subscribing to updates... Same issue here. Copr nightly build. INTEGRATED_BUTTONS helps but not pretty. Cannot resize the window at all besides maximize and minimize..

 ❯ uname -a
Linux fedora 6.13.7-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Thu Mar 13 17:46:13 UTC 2025 x86_64 GNU/Linux
❯ wezterm --version
wezterm 20250320_072107_a8735851

Matheos96 avatar Mar 22 '25 08:03 Matheos96

Hello, Same issue, Build from source on fedora 41!

> uname -a
Linux fedora 6.13.10-200.fc41.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Apr  7 19:01:38 UTC 2025 x86_64 GNU/Linux
> wezterm --version
wezterm 20250415-052344-f06d6fc0

thinkgos avatar Apr 16 '25 11:04 thinkgos

Same for me on NixOs 24.11, but haven't tested with latest. I think this is a related/duplicate issue: #5332

Salohcins avatar Apr 17 '25 07:04 Salohcins

Same issue. Deets:

Framework 16 (AMD CPU/dGPU) Fedora 42 Nightly build from COPR


> uname -a Linux fedora 6.14.0-63.fc42.x86_64 #1 SMP PREEMPT_DYNAMIC Mon Mar 24 19:53:37 UTC 2025 x86_64 GNU/Linux


> wezterm --version wezterm 20250622_064717_2b656cb5

MasonStooksbury avatar Jun 23 '25 19:06 MasonStooksbury

Hello, could you test https://github.com/wezterm/wezterm/pull/6923 ? It's still WIP but might improve this situation 🤔

bew avatar Jun 23 '25 19:06 bew

Hello, could you test #6923 ? It's still WIP but might improve this situation 🤔

How do?

Do I need to pull that particular branch and build from source?

MasonStooksbury avatar Jun 23 '25 20:06 MasonStooksbury

Yes (sorry), it should be mostly straight forward by following https://wezterm.org/install/source.html

bew avatar Jun 23 '25 21:06 bew

Hello, could you test #6923 ? It's still WIP but might improve this situation 🤔

Sorry this took a while to get around to.

Tested it and it worked flawlessly! I'm able to resize, drag around, min/maximize, etc. Everything functions how you'd expect

Thanks for the suggestion!

MasonStooksbury avatar Jun 30 '25 19:06 MasonStooksbury