dbeaver icon indicating copy to clipboard operation
dbeaver copied to clipboard

Can't Drag/Move Connections into Folders

Open pgalbraith opened this issue 1 year ago • 9 comments

Description

  1. Create connection
  2. Create folder
  3. Try to drag connection into folder using mouse
  4. Fail

A pretty easy workaround is to copy/paste the connection into the desired folder, and then delete the original.

DBeaver Version

CE 22.3.2

Operating System

Ubuntu 22.04 w/X.org

Database and driver

No response

Steps to reproduce

No response

Additional context

No response

pgalbraith avatar Jan 17 '23 19:01 pgalbraith

Hello @pgalbraith

What OS do you have?

LonwoLonwo avatar Jan 17 '23 21:01 LonwoLonwo

related? #17415

LonwoLonwo avatar Jan 17 '23 21:01 LonwoLonwo

Ah yeah that looks like it's my problem. I'm running on Ubuntu using x.org (wayland disabled).

pgalbraith avatar Jan 18 '23 00:01 pgalbraith

Likely duplicate of #17415

pgalbraith avatar Jan 18 '23 00:01 pgalbraith

Sorry, I do not understand. Is your problem solved? Did you try to update DBeaver? Because https://github.com/dbeaver/dbeaver/issues/17415 is closed already.

LonwoLonwo avatar Jan 18 '23 08:01 LonwoLonwo

@LonwoLonwo I saw there was a commit in December re: #17415 so I was just assuming this hadn't made it to a release yet, but I'll re-open this just in case.

pgalbraith avatar Jan 20 '23 15:01 pgalbraith

Same issue here. same operating system.

KarimTayie avatar Jan 28 '23 19:01 KarimTayie

Same issue here, but I'm on Arch. Kernel 6.1.8/DE: Plasma 5.26.5/x11. I noticed the issue on dbeaver version 22.3.2, so I downloaded 22.3.3 to test if it's fixed, but the behavior is the same. I know I've drag-n-dropped successfully at some point in the past, but not sure how long ago.

The issue is the same both in the 'database navigator' and 'projects' view. Drag and drop does not work for moving connections between folders, moving folders into other folders, rearranging folders or connections

https://user-images.githubusercontent.com/49351525/216105254-bf889b7e-87e8-4319-9761-ac8a46cf28b9.mp4

Edit: I can also confirm that switching to a Wayland session fixes the issue, so this is x.org/x11 specific.

mcdoogs avatar Feb 01 '23 16:02 mcdoogs

I have the same problem! I'm used distro Ubuntu 20.04.2 LTS

flavio-evocorp avatar Feb 08 '23 12:02 flavio-evocorp

It is happening for me using Ubuntu 22.04 with Xorg.

As workaround I copied the connections and pasted inside the folder. And then deleted the old ones.

gustavotrott avatar Mar 01 '23 11:03 gustavotrott

Update ubuntu for 22.04.2 LTS and dbeaver 23.0.0. It's working!

flavio-evocorp avatar Mar 13 '23 17:03 flavio-evocorp

It's not working here!

test

dbeaver-version

image

gustavotrott avatar Mar 13 '23 23:03 gustavotrott

It's strange, I'm with this exact versions on ubuntu and dbeaver e it's working!

Dbeaver

Ubuntu

flavio-evocorp avatar Mar 14 '23 11:03 flavio-evocorp

It's strange, I'm with this exact versions on ubuntu and dbeaver e it's working!

Dbeaver

Ubuntu

It's because you're using Wayland now, the upgrade to Ubuntu must have changed the default for you.

mcdoogs avatar Mar 14 '23 11:03 mcdoogs

You are right! Before was "X11". Thanks by informations!

flavio-evocorp avatar Mar 14 '23 11:03 flavio-evocorp

I'm also having this issue. I'm using Ubuntu 22.04 with Xorg. DBeaver 23.0.3.202304231635

thiagobraga avatar Apr 26 '23 01:04 thiagobraga

Same issue here T_T DBeaver Version 23.0.3.202304240616 Ubuntu 22.04.2 LTS

ikodev avatar Apr 28 '23 13:04 ikodev

Not working for me. Same issue: Cannot drag/drop connections into folders. Rocky Linux release 8.7 (Green Obsidian) DBeaver Version 23.1.2.202307091549

oraclejavanet avatar Jul 15 '23 22:07 oraclejavanet

I can confirm this issue does not work for me either: Dbeaver: Version 23.1.4.202308061552 OS: Ubuntu 22.04 Display Server: X11

Work around

  • Copy and Paste the connection into the folder
  • Delete the old connection
  • Rename the new connection (removing the '1' at the end of the name)

Conzar avatar Aug 20 '23 20:08 Conzar

Does the workaround preserve the "SQL Editor"->"Recent SQL script" ? I use that all the time on 50+ connections

Update: Think the answer is no :-( ( DBeaver 23.2.1.202309250303 @ Ubuntu 22.04.3 LTS)

DDHF22 avatar Sep 27 '23 15:09 DDHF22

Guess you can tweak some files in ~/snap/dbeaver-ce/current/.local/share/DBeaverData/workspace6/General/.dbeaver but I would prefer not to do that as I may miss some references

DDHF22 avatar Sep 27 '23 15:09 DDHF22

Correct workaround is doing right click "Edit Connection" and modify folder to any predefined folder in the dropdown field.

image

DDHF22 avatar Sep 27 '23 16:09 DDHF22

Does the workaround preserve the "SQL Editor"->"Recent SQL script" ?

Thanks for the warning, I didn't know this would happen after the copy procedure.

I have Dbeaver installed on Arch and following this path I could get my scripts back. ~/.local/share/DBeaverData/workspace6/General/Scripts/

Using "snap" I think you can follow the path to copy your .sql scripts: ~/snap/dbeaver-ce/current/.local/share/DBeaverData/workspace6/General/Scripts/

fpontef avatar Oct 26 '23 16:10 fpontef

same problem here, ubuntu 23.10, dbeaver 23.2.5

mzatko avatar Dec 03 '23 22:12 mzatko

Not workin ubuntu 22.04 DBeaver 23.3.5.202402181738

roma2341 avatar Feb 29 '24 15:02 roma2341

Still occurring on DBeaver 24.0.0.202403031740

  • OS Name: Fedora Linux 39 (Workstation Edition)
  • OS Type: 64-bit
  • GNOME Version: 45.5
  • Windowing System: X11
  • Kernel Version: Linux 6.7.9-200.fc39.x86_64

In the meantime, as posted above, it works fine to use Right click connection -> Edit Connection -> General tab -> Connection folder.

curtisbelt avatar Mar 21 '24 12:03 curtisbelt

Yeah, for connection the workaround works fine. But if you want to move folder, you don't have such option.

BTW - it still does not work for me

  • OS Name: Ubuntu 23.10
  • Windowing system: X11
  • DBeaver Version: 24.1.0.202406021658

TiS avatar Jun 05 '24 15:06 TiS