typora-issues icon indicating copy to clipboard operation
typora-issues copied to clipboard

Dragging items in Files View Stopped Working

Open storyjesse opened this issue 2 years ago • 16 comments

  • [x] Searched existing issues to avoid creating duplicates.

  • [x] Confirmed that it can be reproduced in built-in themes without customized css. (I haven't customized any css)

    If it only exists in 3rd party themes or css, you can still report it, but please attach the theme target or the css file. We may not "fix" it, if it is caused by 3rd party themes or css styles that we cannot support.

  • [X] Searched http://support.typora.io/


Describe the bug After Upgrade to Version: 0.11.0-1 Drag and Drop is not working in the Files Sidebar. I can't move a file to a different folder nor drag in a hyperlink to that file into the document I'm editing.

To Reproduce Steps to reproduce the behavior:

  1. Go to 'Files Sidebar'
  2. Click on 'any file shown'
  3. Try to drag the file to a new location or into the document
  4. Nothing happens.

Expected behavior It used to be possible to do this. Confirmed that rolling back to version 0.10.11 removes the issue. i.e. This issue does not exist in Version: 0.10.11

Desktop (please complete the following information):

  • OS:
System:    Host: Limbo Kernel: 5.4.0-77-generic x86_64 bits: 64 Desktop: Cinnamon 4.4.8 Distro: Linux Mint 19.3 Tricia 
Machine:   Type: Desktop System: MSI product: MS-7823 v: 1.0 serial: <root required> 
           Mobo: MSI model: CSM-H87M-G43 (MS-7823) v: 1.0 serial: <root required> BIOS: American Megatrends v: 1.6 
           date: 02/22/2014 
CPU:       Quad Core: Intel Core i7-4790 type: MT MCP speed: 900 MHz min/max: 800/4000 MHz 
Graphics:  Device-1: NVIDIA GM107GL [Quadro K2200] driver: nvidia v: 390.143 
           Display: x11 server: X.Org 1.19.6 driver: nvidia unloaded: fbdev,modesetting,nouveau,vesa 
           resolution: 1920x1080~60Hz 
           OpenGL: renderer: N/A v: N/A 

Typora Version 0.11.0

storyjesse avatar Jul 21 '21 03:07 storyjesse

@storyjesse I'm not able to reproduce this, so possible to attach a screencast about this issue?

abnerlee avatar Jul 23 '21 10:07 abnerlee

Hi @abnerlee I've just tried to record a video of my desktop showing you the error. But something is going wrong with my recording. Kazam seems to work for short videos and I've used it for a long 40min video before, but I've tried twice now to record about 5 to 10 min of video but nothing is hanppening when I click finish. :-( Will try again tomorrow.

storyjesse avatar Jul 26 '21 16:07 storyjesse

OK I've got Kazam working now. Here's a link to a video showing the bug. https://youtu.be/mbPPVz2WMaw

storyjesse avatar Jul 28 '21 07:07 storyjesse

I can confirm this issue. I'm currently on 0.11.2(beta) and drag and drop is not working.

I'm on Manjaro Linux. Please feel free to ask for the information you need to trace down this issue.

Loris1123 avatar Aug 19 '21 07:08 Loris1123

I've also been having this issue for the past few weeks. I can no longer move files between different folders using the mouse in the sidebar. I'm on ArchLinux, Typora version 0.11.5 (beta).

joel-porquet avatar Sep 07 '21 18:09 joel-porquet

I can also reproduce this issue running ArchLinux with Typora 0.11.8(beta). An attempt to begin a drag acts like a click selecting the item and any following movement acts as if no button is pressed.

Just walked back down the available versions, and had to revert all the way back to 0.10.11 to get working drag & drop back.

GamalielMasters avatar Oct 07 '21 02:10 GamalielMasters

Same here using Ubuntu 20.04 and Typora 0.11.8(beta).

Works as expected using Windows 10 same beta so could be a Linux thing.

stompalot avatar Oct 17 '21 09:10 stompalot

Same bug here with 1.0.3 on Ubuntu 20.04

rand0musername avatar Dec 07 '21 20:12 rand0musername

I'm having the same issue.

pconrad-fb avatar Mar 12 '22 20:03 pconrad-fb

Yep, same bug Pop!_OS 21.10

gmcyber avatar Mar 29 '22 23:03 gmcyber

Fix here: https://github.com/typora/typora-issues/issues/4906

C'mon people... another release. Another patch -p0... fix it in the main code!

markus-geiger avatar Aug 01 '22 18:08 markus-geiger

I just encountered it in 1.3.6 (latest release for Linux) on Arch Linux. Feels like it just broke recently for me although I’m not sure. My package manager is currently very busy, but once it’s done I’m gonna try to find the version in which it stopped working.

Edit: I went back all the way to 1.0.4 and the issue still persisted. I couldn’t go further because the releases don’t seem to be available anymore.

manu-cyber avatar Aug 04 '22 08:08 manu-cyber

I'd just say: var i = File.isLinux ? "Not supported" : "we don't care or test for other systems?"

RLY?! We had enough users here confirming the bug. Since IT IS not open source there is no chance to make a MR.

blurayne avatar Aug 12 '22 01:08 blurayne

With the changes to the sidebar in version 1.4.3 drag&drop started to work for me again, at least on Windows. I would assume it does so for Linux and Mac as well.

manu-cyber avatar Sep 07 '22 15:09 manu-cyber

Now that it’s packaged for my distro, I can say that the bug still persists for me with version 1.4.4.

manu-cyber avatar Sep 16 '22 20:09 manu-cyber

In version 1.4.7 on Linux Mint, drag&drop in the file tree is still impossible (as it was in each release since at least 1.0). If this is intended, please explain why. If it is not intended, please fix it. Fix exists Issue 4906 but I don't want to hack the released files each time a I install a new version.

ms-private avatar Sep 26 '22 12:09 ms-private

Let me repeat: var i = File.isLinux ? "Not supported" : "we don't care or test for other systems?"

So when do you folks thin about JUST a little bit more Linux support?!

I suggest every Linux user o try put marktext or obsidian as in the moment best alternatives.

blurayne avatar Oct 10 '22 20:10 blurayne

fixed in 1.7.5

abnerlee avatar Sep 23 '23 09:09 abnerlee

YAY! I confirm that this is fixed in version 1.7.5 on Linux (x64)

I'll happily pay for a licence now just as I said I would.

storyjesse avatar Sep 24 '23 15:09 storyjesse

Yup, works for me as well. Thank you! :)

manu-cyber avatar Oct 14 '23 06:10 manu-cyber