WayfireWM / wayfire

A modular and extensible wayland compositor
https://wayfire.org/
MIT License
2.38k stars 178 forks source link

Dragging borders does not resize windows #2116

Closed Sir-Photch closed 7 months ago

Sir-Photch commented 8 months ago

Describe the bug

The wiki states that the resize plugin allows for dragging of the window borders for resizing, besides super + BTN_RIGHT.

I cannot use this as any window (really, any) is only resizable via the key-combo. Any means:

Enabling the wobbly plugin shows the window jerking a little upon clicking, but not resizing.

To Reproduce Steps to reproduce the behavior:

minimal config:

[core]
plugins = \
        autostart \
        resize

[autostart]
term = wezterm
$ wayfire -c /tmp/minimal.ini --debug
Output ``` II 27-01-24 09:47:59.725 - [wayfire-0.8.0/src/main.cpp:334] Starting wayfire version 0.8.0-1d6ab59 (Jan 21 2024, branch 'master') II 27-01-24 09:47:59.725 - [backend/wayland/backend.c:537] Creating wayland backend II 27-01-24 09:47:59.726 - [render/egl.c:201] Supported EGL client extensions: EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_device EGL_EXT_explicit_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_EXT_platform_x11 EGL_KHR_platform_x11 EGL_EXT_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless II 27-01-24 09:47:59.744 - [render/egl.c:347] Using EGL 1.5 II 27-01-24 09:47:59.744 - [render/egl.c:348] Supported EGL display extensions: EGL_ANDROID_blob_cache EGL_ANDROID_native_fence_sync EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_IMG_context_priority EGL_KHR_cl_event2 EGL_KHR_config_attribs EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_create_context_no_error EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_gl_interop EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display II 27-01-24 09:47:59.744 - [render/egl.c:350] Supported EGL device extensions: EGL_EXT_device_drm EGL_EXT_device_drm_render_node II 27-01-24 09:47:59.744 - [render/egl.c:352] EGL vendor: Mesa Project amdgpu: amdgpu_cs_ctx_create2 failed. (-13) II 27-01-24 09:47:59.746 - [render/gles2/renderer.c:718] Creating GLES2 renderer II 27-01-24 09:47:59.746 - [render/gles2/renderer.c:719] Using OpenGL ES 3.2 Mesa 23.3.3-arch1.1 II 27-01-24 09:47:59.746 - [render/gles2/renderer.c:720] GL vendor: AMD II 27-01-24 09:47:59.746 - [render/gles2/renderer.c:721] GL renderer: AMD Radeon RX 6700 XT (radeonsi, navi22, LLVM 16.0.6, DRM 3.56, 6.7.1-zen1-1-zen) II 27-01-24 09:47:59.746 - [render/gles2/renderer.c:722] Supported GLES2 extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc GL_EXT_texture_format_BGRA8888 GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24 GL_OES_element_index_uint GL_OES_fbo_render_mipmap GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float GL_OES_texture_float_linear GL_OES_texture_half_float GL_OES_texture_half_float_linear GL_OES_texture_npot GL_OES_vertex_half_float GL_EXT_draw_instanced GL_EXT_texture_sRGB_decode GL_OES_EGL_image GL_OES_depth_texture GL_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render GL_OES_get_program_binary GL_APPLE_texture_max_level GL_EXT_discard_framebuffer GL_EXT_read_format_bgra GL_NV_pack_subimage GL_NV_texture_barrier GL_EXT_frag_depth GL_NV_fbo_color_attachments GL_OES_EGL_image_external GL_OES_EGL_sync GL_OES_vertex_array_object GL_OES_viewport_array GL_ANGLE_pack_reverse_row_order GL_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean GL_EXT_robustness GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil GL_NV_read_stencil GL_APPLE_sync GL_EXT_draw_buffers GL_EXT_instanced_arrays GL_EXT_map_buffer_range GL_KHR_debug GL_KHR_robustness GL_KHR_texture_compression_astc_ldr GL_NV_generate_mipmap_sRGB GL_NV_pixel_buffer_object GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_debug_label GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_group_vote GL_EXT_shader_implicit_conversions GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size GL_EXT_tessellation_shader GL_ANDROID_extension_pack_es31a GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp GL_EXT_primitive_bounding_box GL_EXT_render_snorm GL_EXT_shader_io_blocks GL_EXT_texture_border_clamp GL_EXT_texture_buffer GL_EXT_texture_cube_map_array GL_EXT_texture_norm16 GL_EXT_texture_view GL_KHR_blend_equation_advanced GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_NV_image_formats GL_NV_shader_noperspective_interpolation GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5 GL_OES_primitive_bounding_box GL_OES_sample_shading GL_OES_sample_variables GL_OES_shader_io_blocks GL_OES_shader_multisample_interpolation GL_OES_tessellation_point_size GL_OES_tessellation_shader GL_OES_texture_border_clamp GL_OES_texture_buffer GL_OES_texture_cube_map_array GL_OES_texture_stencil8 GL_OES_texture_storage_multisample_2d_array GL_OES_texture_view GL_EXT_blend_func_extended GL_EXT_buffer_storage GL_EXT_float_blend GL_EXT_geometry_point_size GL_EXT_geometry_shader GL_EXT_shader_samples_identical GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_RG8 GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_OES_geometry_point_size GL_OES_geometry_shader GL_OES_shader_image_atomic GL_EXT_clear_texture GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_EXT_window_rectangles GL_MESA_shader_integer_functions GL_EXT_clip_control GL_EXT_color_buffer_half_float GL_EXT_memory_object GL_EXT_memory_object_fd GL_EXT_semaphore GL_EXT_semaphore_fd GL_EXT_texture_compression_bptc GL_EXT_texture_mirror_clamp_to_edge GL_KHR_parallel_shader_compile GL_NV_alpha_to_coverage_dither_control GL_AMD_framebuffer_multisample_advanced GL_EXT_EGL_image_storage GL_EXT_texture_shadow_lod GL_INTEL_blackhole_render GL_MESA_framebuffer_flip_y GL_NV_compute_shader_derivatives GL_EXT_demote_to_helper_invocation GL_EXT_depth_clamp GL_EXT_texture_query_lod GL_MESA_sampler_objects GL_MESA_bgra GL_MESA_texture_const_bandwidth DD 27-01-24 09:47:59.753 - [wayfire-0.8.0/src/core/plugin-loader.cpp:122] Loaded plugin /usr/lib/wayfire/libdefault-config-backend.so DD 27-01-24 09:47:59.753 - [wayfire-0.8.0/src/main.cpp:390] Using configuration backend: /usr/lib/wayfire/libdefault-config-backend.so WW 27-01-24 09:47:59.753 - [wayfire-0.8.0/src/default-config-backend.cpp:120] Wayfire config file specified in the environment is overridden by the command line arguments! II 27-01-24 09:47:59.753 - [wayfire-0.8.0/src/default-config-backend.cpp:99] Using config file: /tmp/wayfire.ini WW 27-01-24 09:47:59.753 - [wf-config-0.8.0/src/file.cpp:574] Failed to open XML directory /home/chris/.local/share//wayfire/metadata II 27-01-24 09:47:59.753 - [wf-config-0.8.0/src/file.cpp:578] Reading XML configuration options from directory /usr/share/wayfire/metadata II 27-01-24 09:47:59.753 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/alpha.xml II 27-01-24 09:47:59.753 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/animate.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/autostart.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/blur.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/command.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/core.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/cube.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/decoration.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/expo.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/extra-gestures.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/fast-switcher.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/fisheye.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/foreign-toplevel.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/grid.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/gtk-shell.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/idle.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/input-device.xml II 27-01-24 09:47:59.754 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/input.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/invert.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/ipc-rules.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/ipc.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/move.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/oswitch.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/output.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/place.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/preserve-output.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/resize.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/scale-title-filter.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/scale.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/simple-tile.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/switcher.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/vswipe.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/vswitch.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/wayfire-shell.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/window-rules.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/wm-actions.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/wobbly.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/workarounds.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/wrot.xml II 27-01-24 09:47:59.755 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/wsets.xml II 27-01-24 09:47:59.756 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/xdg-activation.xml II 27-01-24 09:47:59.756 - [wf-config-0.8.0/src/file.cpp:528] Reading XML configuration options from file /usr/share/wayfire/metadata/zoom.xml II 27-01-24 09:47:59.756 - [backend/headless/backend.c:68] Creating headless backend II 27-01-24 09:47:59.756 - [backend/headless/backend.c:16] Starting headless backend II 27-01-24 09:47:59.758 - [xwayland/server.c:108] Starting Xwayland on :1 DD 27-01-24 09:47:59.765 - [wayfire-0.8.0/src/core/img.cpp:425] init ImageIO II 27-01-24 09:47:59.765 - [wayland] unable to lock lockfile /run/user/1000/wayland-1.lock, maybe another compositor is running II 27-01-24 09:47:59.765 - [wayfire-0.8.0/src/main.cpp:404] Using socket name wayland-2 II 27-01-24 09:47:59.765 - [backend/wayland/backend.c:416] Starting Wayland backend II 27-01-24 09:47:59.765 - [wayfire-0.8.0/src/core/seat/input-manager.cpp:47] handle new input: wayland-keyboard-default, default mapping: wayland-keyboard-default II 27-01-24 09:47:59.767 - [wayfire-0.8.0/src/core/output-layout.cpp:1058] new output: WL-1 ("(null) (null) (null)") II 27-01-24 09:47:59.767 - [wayfire-0.8.0/src/core/output-layout.cpp:401] loaded mode auto II 27-01-24 09:47:59.767 - [wayfire-0.8.0/src/core/output-layout.cpp:583] Couldn't find matching mode 1280x720@60 for output WL-1. Trying to use custom mode(might not work) II 27-01-24 09:47:59.768 - [wayfire-0.8.0/src/core/seat/input-manager.cpp:47] handle new input: wayland-pointer-default, default mapping: wayland-pointer-default DD 27-01-24 09:47:59.768 - [wayfire-0.8.0/src/core/plugin-loader.cpp:122] Loaded plugin /usr/lib/wayfire/libautostart.so DD 27-01-24 09:47:59.769 - [wayfire-0.8.0/src/core/plugin-loader.cpp:122] Loaded plugin /usr/lib/wayfire/libresize.so DD 27-01-24 09:47:59.775 - [wayfire-0.8.0/src/core/seat/input-manager.cpp:98] Mapping input wayland-keyboard-default to output null. EE 27-01-24 09:47:59.775 - [types/wlr_cursor.c:875] Cannot map device "wayland-keyboard-default" to output (not found in this cursor) DD 27-01-24 09:47:59.775 - [wayfire-0.8.0/src/core/seat/input-manager.cpp:94] Mapping input wayland-pointer-default to output WL-1. The XKEYBOARD keymap compiler (xkbcomp) reports: > Warning: Could not resolve keysym XF86CameraAccessEnable > Warning: Could not resolve keysym XF86CameraAccessDisable > Warning: Could not resolve keysym XF86CameraAccessToggle > Warning: Could not resolve keysym XF86NextElement > Warning: Could not resolve keysym XF86PreviousElement > Warning: Could not resolve keysym XF86AutopilotEngageToggle > Warning: Could not resolve keysym XF86MarkWaypoint > Warning: Could not resolve keysym XF86Sos > Warning: Could not resolve keysym XF86NavChart > Warning: Could not resolve keysym XF86FishingChart > Warning: Could not resolve keysym XF86SingleRangeRadar > Warning: Could not resolve keysym XF86DualRangeRadar > Warning: Could not resolve keysym XF86RadarOverlay > Warning: Could not resolve keysym XF86TraditionalSonar > Warning: Could not resolve keysym XF86ClearvuSonar > Warning: Could not resolve keysym XF86SidevuSonar > Warning: Could not resolve keysym XF86NavInfo Errors from xkbcomp are not fatal to the X server DD 27-01-24 09:47:59.820 - [wayfire-0.8.0/src/view/xwayland.cpp:232] Successfully loaded Xwayland atoms. The XKEYBOARD keymap compiler (xkbcomp) reports: > Warning: Unsupported maximum keycode 708, clipping. > X11 cannot support keycodes above 255. > Warning: Could not resolve keysym XF86CameraAccessEnable > Warning: Could not resolve keysym XF86CameraAccessDisable > Warning: Could not resolve keysym XF86CameraAccessToggle > Warning: Could not resolve keysym XF86NextElement > Warning: Could not resolve keysym XF86PreviousElement > Warning: Could not resolve keysym XF86AutopilotEngageToggle > Warning: Could not resolve keysym XF86MarkWaypoint > Warning: Could not resolve keysym XF86Sos > Warning: Could not resolve keysym XF86NavChart > Warning: Could not resolve keysym XF86FishingChart > Warning: Could not resolve keysym XF86SingleRangeRadar > Warning: Could not resolve keysym XF86DualRangeRadar > Warning: Could not resolve keysym XF86RadarOverlay > Warning: Could not resolve keysym XF86TraditionalSonar > Warning: Could not resolve keysym XF86ClearvuSonar > Warning: Could not resolve keysym XF86SidevuSonar > Warning: Could not resolve keysym XF86NavInfo Errors from xkbcomp are not fatal to the X server II 27-01-24 09:47:59.922 - [wayfire-0.8.0/src/view/xdg-shell/xdg-toplevel-view.cpp:29] new xdg_shell_stable surface: (null) app-id: (null) II 27-01-24 09:47:59.963 - [wayfire-0.8.0/src/core/seat/input-method-relay.cpp:226] Enabling text input, but input method is gone II 27-01-24 09:47:59.964 - [wayfire-0.8.0/src/core/seat/input-method-relay.cpp:249] Committing text input, but input method is gone II 27-01-24 09:48:00.015 - [wayfire-0.8.0/src/core/seat/input-method-relay.cpp:249] Committing text input, but input method is gone II 27-01-24 09:48:00.021 - [wayfire-0.8.0/src/core/seat/input-method-relay.cpp:249] Committing text input, but input method is gone DD 27-01-24 09:48:03.040 - [wayfire-0.8.0/src/output/output.cpp:293] output WL-1: activate plugin resize II 27-01-24 09:48:03.041 - [wayfire-0.8.0/src/core/seat/input-method-relay.cpp:124] Disabling text input, but input method is gone DD 27-01-24 09:48:03.308 - [wayfire-0.8.0/src/output/output.cpp:310] output WL-1: deactivate plugin resize II 27-01-24 09:48:03.309 - [wayfire-0.8.0/src/core/seat/input-method-relay.cpp:226] Enabling text input, but input method is gone II 27-01-24 09:48:03.309 - [wayfire-0.8.0/src/core/seat/input-method-relay.cpp:249] Committing text input, but input method is gone DD 27-01-24 09:48:03.998 - [wayfire-0.8.0/src/output/output.cpp:293] output WL-1: activate plugin resize II 27-01-24 09:48:03.999 - [wayfire-0.8.0/src/core/seat/input-method-relay.cpp:124] Disabling text input, but input method is gone DD 27-01-24 09:48:04.350 - [wayfire-0.8.0/src/output/output.cpp:310] output WL-1: deactivate plugin resize II 27-01-24 09:48:04.350 - [wayfire-0.8.0/src/core/seat/input-method-relay.cpp:226] Enabling text input, but input method is gone II 27-01-24 09:48:04.351 - [wayfire-0.8.0/src/core/seat/input-method-relay.cpp:249] Committing text input, but input method is gone ```

Expected behavior Dragging borders with just my mouse pointer resizes the window, as expected and seen on other window managers.

Wayfire version 0.8.0-1d6ab59 (Jan 21 2024, branch 'master')

marcusbritanicus commented 8 months ago

@Sir-Photch If you want to be able to resize using window borders, you'll be needing borders. These are provided by the decoration plugin. For that you'll need to be using the decoration plugin and decoration mode as server. So, just change the settings a little bit:

[core]
plugins = \
        autostart \
        resize \
        decoration
preferred_decoration_mode = server

[autostart]
term = wezterm
Sir-Photch commented 8 months ago

Albeit I've missed that in the minimal config, I had this plugin enabled in my actual setup, and running this updated minimal config does not solve the issue.

Doesn't the output I've posted also show that the resize plugin is activated?

marcusbritanicus commented 8 months ago

@Sir-Photch Resize plugin states "A plugin to resize windows by dragging them from any part (not just the edges)." which means that you can resize from any part of the window. That's the only thing the resize plugin does. As I said, if you want to resize by dragging "borders" use the decoration plugin (or it's alternatives), to get borders.

PS: Perhaps, I am misuderstanding your question: I am assuming that you want to resize various windows using window borders.

Sir-Photch commented 8 months ago

Yes you are understanding me correctly. But resizing by dragging borders does not work. I can click on borders and my cursor changes to the dragging cursor, but actually pressing the left mouse button and dragging (the border) does not do anything.

Sir-Photch commented 8 months ago

please see this video for clarification: https://streamable.com/yek0dm

(github wouldn't like my video, that's why I uploaded it there)

marcusbritanicus commented 8 months ago

Video is fine. Is this with the minimal config, or with wobbly enabled? I seem to have no problems either way. FYI, I'm on wayfire 0.9.0-b5c0a0b4 (Jan 16 2024, branch 'master').

https://0x0.st/HGnl.mkv

PS: Your wayfire version seems a bit off.. You say it's from master branch of Jan 21, 2024, but your wayfire version says 0.8.0 while it should have been 0.9.0. Any chance that there is some conflicts between multiple wayfire installations?

Sir-Photch commented 8 months ago

Is this with the minimal config, or with wobbly enabled?

This was on my actual config with wobbly enabled.

Any chance that there is some conflicts between multiple wayfire installations?

Hm, I installed from the AUR and there, 0.8.0 is the latest version. I haven't compiled it from source so there should only be one wayfire installation...

marcusbritanicus commented 8 months ago

I see. It seems that wayfire on aur is a little outdated. Wayfire git has moved on to wlroots 0.17... And I'm not sure which particular pacakge to recommend to you from aur.

Will it be possible for you to install wayfire from github? You can use wf-install: ./install.sh --prefix /tmp/wayfire, and then start wayfire using the command /tmp/wayfire/bin/start-wayfire.sh --config /tmp/minimal.ini

ammen99 commented 8 months ago

@Sir-Photch This bug would be hard to fix since I can't reproduce it. Could you run a wayland-native application with this problem with the WAYLAND_DEBUG=1 environment variable, reproduce the bug and then upload the log here? Preferably kill the app immediately after triggering the bug to keep the log short.

Also would be good to run Wayfire with -d, reproduce the bug and upload its own log (by default stdout/stderr).

Sir-Photch commented 8 months ago

Will it be possible for you to install wayfire from github? You can use wf-install: ./install.sh --prefix /tmp/wayfire, and then start wayfire using the command /tmp/wayfire/bin/start-wayfire.sh --config /tmp/minimal.ini

Actually, this works; Even without the minimal configuration. Thanks for the hint, I didn't know that there is this installation script.

This bug would be hard to fix since I can't reproduce it. Could you run a wayland-native application with this problem with the WAYLAND_DEBUG=1 environment variable, reproduce the bug and then upload the log here? Preferably kill the app immediately after triggering the bug to keep the log short.

Also would be good to run Wayfire with -d, reproduce the bug and upload its own log (by default stdout/stderr).

Even though this now seems to be some packaging issue, I tried this with MOZ_ENABLE_WAYLAND=1 and librewolf; I hope this to be useful:

wayfire.log wayland_debug_librewolf-log.txt

ammen99 commented 8 months ago

@Sir-Photch I am not sure I follow your last comment, does everything work now? Are the logs from a setup which works, or from a setup which does not work?

Sir-Photch commented 8 months ago

Installing via the script gives me a working setup, yes.

The logs have been generated with the AUR install where I had this issue.