pop-os / cosmic-files

WIP COSMIC file manager
GNU General Public License v3.0
84 stars 62 forks source link

Cosmic files hangs when ctrl+v name when creating new file #138

Closed VandaLHJ closed 2 months ago

VandaLHJ commented 3 months ago

Every single time i try to create new file in /home/.config/cosmic (then for example com.system76/CosmicAppletTime/v1) or when i try to ctrl+c during renaming, it hangs (process have to be hard killed and occupy 8,3% cpu).

Copy and Paste is rather good to have when working in GUI file app.

TLDR:

  1. Open app.
  2. Create file or rename file
  3. Press ctrl+c or ctrl+v
  4. It hangs.
joshuamegnauth54 commented 3 months ago

I'm able to replicate this. Files also hangs when copying or pasting from the breadcrumbs editor.

Log:

[2024-05-05T06:42:25Z TRACE calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<smithay_clipboard::state::State<dnd::DndSurface>>
[2024-05-05T06:42:25Z TRACE calloop::loop_logic] [calloop] Dispatching events for source #1
[2024-05-05T06:42:25Z TRACE calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<smithay_clipboard::state::State<dnd::DndSurface>>
[2024-05-05T06:42:25Z TRACE calloop::loop_logic] [calloop] Dispatching events for source #1
[2024-05-05T06:42:25Z TRACE calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<smithay_clipboard::state::State<dnd::DndSurface>>
[2024-05-05T06:42:25Z TRACE calloop::loop_logic] [calloop] Dispatching events for source #1
[2024-05-05T06:42:25Z TRACE calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<smithay_clipboard::state::State<dnd::DndSurface>>
[2024-05-05T06:42:25Z TRACE calloop::loop_logic] [calloop] Dispatching events for source #1
[2024-05-05T06:42:25Z TRACE calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<smithay_clipboard::state::State<dnd::DndSurface>>
[2024-05-05T06:42:25Z TRACE calloop::loop_logic] [calloop] Dispatching events for source #1
[2024-05-05T06:42:25Z TRACE calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<smithay_clipboard::state::State<dnd::DndSurface>>
[2024-05-05T06:42:25Z TRACE calloop::loop_logic] [calloop] Dispatching events for source #1
[2024-05-05T06:42:25Z TRACE calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<smithay_clipboard::state::State<dnd::DndSurface>>
[2024-05-05T06:42:25Z TRACE calloop::loop_logic] [calloop] Dispatching events for source #1
[2024-05-05T06:42:25Z TRACE calloop::sources] [calloop] Processing events for source type calloop_wayland_source::WaylandSource<smithay_clipboard::state::State<dnd::DndSurface>>

I couldn't find anything wrong after poking around the code, and the log seems to suggest that the problem may lay elsewhere.

onlyreportingissues commented 3 months ago

Same problem for cutting out text (ctrl + x). Happens also with the directory / file path bar of COSMIC Files.

WatchMkr commented 2 months ago

Reported on libcosmic here https://github.com/pop-os/libcosmic/issues/417

jackpot51 commented 2 months ago

Fixed in #214