Bug 410466 - Drag and dropping text from Kate into konsole does not paste text into Konsole
Summary: Drag and dropping text from Kate into konsole does not paste text into Konsole
Status: RESOLVED UNMAINTAINED
Alias: None
Product: konsole
Classification: Applications
Component: copy-paste (show other bugs)
Version: 19.12.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-31 18:18 UTC by bginsburg
Modified: 2020-09-18 17:22 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
attachment-18329-0.html (2.02 KB, text/html)
2019-07-31 18:54 UTC, tcanabrava
Details

Note You need to log in before you can comment on or make changes to this bug.
Description bginsburg 2019-07-31 18:18:16 UTC
SUMMARY
Previously, my workflow involved opening code in Kate and then dragging text I was working on into my R console in Konsole.  This no longer works.  Now I have to use keyboard commands to copy, then switch window to Konsole and CTRL-V paste.

Drag and drop copy/paste works as expected from Kate into Libreoffice Writer
Drag and drop copy paste also does not work into another terminal emulator (YAKUAKE), so I am not sure whether this is specific to Konsole, or may be a DM issue

STEPS TO REPRODUCE
1. Open text file in Kate
2. Open Konsole
3. Select text in Kate
4. Drag to Konsole and release mouse button

OBSERVED RESULT
Selected/dragged text is not pasted into the Konsole terminal

EXPECTED RESULT
Selected/dragged text should be pasted into the Konsole terminal

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Arch Linux 5.2.1 /Plasma 5.16.4
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Confirmed by another user on Reddit (r/kde)
https://www.reddit.com/r/kde/comments/ckbwk2/lost_drag_and_drop_text_from_kate_to_konsole/
Comment 1 pgnd 2019-07-31 18:51:49 UTC
I was just in the process of writing the same behavior up ...

I can also confirm, with

	konsole -v
		konsole 19.04.3
		(or 19.07.xx)

	kate -v
		kate 19.07.80

	lsb_release -rd
		Description:    openSUSE Leap 15.1
		Release:        15.1

and

	plasma5-workspace-devel-5.16.3-lp151.464.1.x86_64
	plasma-framework-devel-5.60.0-lp151.254.1.x86_64
	etc

installed, drag-n-drop of selcted text

	TO konsole OR kate

	FROM konsole OR kate

fails -- no text pasted into destination.

All of which, as mentioned in OP, used to work.
Comment 2 tcanabrava 2019-07-31 18:54:16 UTC
Created attachment 121871 [details]
attachment-18329-0.html

From other applications, it works?

Em qua, 31 de jul de 2019 às 20:52, pgnd <bugzilla_noreply@kde.org>
escreveu:

> https://bugs.kde.org/show_bug.cgi?id=410466
>
> pgnd <pgnet.dev@gmail.com> changed:
>
>            What    |Removed                     |Added
>
> ----------------------------------------------------------------------------
>                  CC|                            |pgnet.dev@gmail.com
>
> --- Comment #1 from pgnd <pgnet.dev@gmail.com> ---
> I was just in the process of writing the same behavior up ...
>
> I can also confirm, with
>
>         konsole -v
>                 konsole 19.04.3
>                 (or 19.07.xx)
>
>         kate -v
>                 kate 19.07.80
>
>         lsb_release -rd
>                 Description:    openSUSE Leap 15.1
>                 Release:        15.1
>
> and
>
>         plasma5-workspace-devel-5.16.3-lp151.464.1.x86_64
>         plasma-framework-devel-5.60.0-lp151.254.1.x86_64
>         etc
>
> installed, drag-n-drop of selcted text
>
>         TO konsole OR kate
>
>         FROM konsole OR kate
>
> fails -- no text pasted into destination.
>
> All of which, as mentioned in OP, used to work.
>
> --
> You are receiving this mail because:
> You are the assignee for the bug.
Comment 3 pgnd 2019-07-31 19:04:43 UTC
> From other applications, it works?

Yep.

e.g.,

FROM firefox OR thunderbird

TO kate OR konsole

works perfectly.
Comment 4 pgnd 2019-07-31 20:17:51 UTC
&, for completeness,

 FROM kate
 TO firefox OR thunderbird

works always.

OTOH,

 FROM konsole
 TO firefox OR thunderbird

works intermittently.  Not clear what the OK/FAIL conditions are yet ...
Comment 5 pgnd 2019-08-18 14:47:55 UTC
fyi, upgraded to _release_,

 konsole --version
  konsole 19.08.0

and can confirm the issue remains, as reported
Comment 6 Kurt Hindenburg 2019-08-18 21:55:28 UTC
Odd that it works here for master and Konsole 19.08.  Do you have any setting changed from the default?
Comment 7 pgnd 2019-08-18 22:21:12 UTC
currently, I've got:

cat ~/.config/konsolerc
	[Colors]
	CurrentPalette=Forty Colors

	[Desktop Entry]
	DefaultProfile=Shell.profile

	[Favorite Profiles]
	Favorites=Shell.profile

	[KonsoleWindow]
	ShowWindowTitleOnTitleBar=true
	UseSingleInstance=true

	[MainWindow]
	Height 1440=1298
	State=AAAA/wAAAAD9AAAAAAAABP0AAATxAAAABAAAAAQAAAAIAAAACPwAAAAA
	ToolBarsMovable=Disabled
	Width 2560=1277
	Window-Maximized 1024x1280=true

	[Notification Messages]
	CloseAllTabs=true
	ShowPasteUnprintableWarning=true

	[TabBar]
	NewTabButton=true
	TabBarVisibility=AlwaysShowTabBar

cat ~/.local/share/konsole/konsoleui.rc
	<!DOCTYPE kpartgui>
	<kpartgui version="10" name="konsole">
	 <MenuBar>
	  <Menu name="file">
	   <text>File</text>
	   <Action name="new-window"/>
	   <Action name="new-tab"/>
	   <Action name="clone-tab"/>
	   <Separator/>
	   <DefineGroup name="session-operations"/>
	   <Separator/>
	   <DefineGroup name="session-tab-operations"/>
	   <Action name="close-window"/>
	  </Menu>
	  <Menu name="edit">
	   <text>Edit</text>
	   <DefineGroup name="session-edit-operations"/>
	  </Menu>
	  <Menu name="view">
	   <text>View</text>
	   <Menu name="view-split">
	    <text>Split View</text>
	    <Action name="split-view-left-right"/>
	    <Action name="split-view-top-bottom"/>
	    <Action name="close-active-view"/>
	    <Action name="close-other-views"/>
	    <Action name="expand-active-view"/>
	    <Action name="shrink-active-view"/>
	   </Menu>
	   <Separator/>
	   <Action name="detach-view"/>
	   <Separator/>
	   <DefineGroup name="session-view-operations"/>
	  </Menu>
	  <Action name="bookmark"/>
	  <Menu name="settings">
	   <text>Settings</text>
	   <DefineGroup name="session-settings"/>
	   <Action name="manage-profiles"/>
	   <Action name="show-menubar"/>
	   <Separator/>
	   <Action name="view-full-screen"/>
	   <Separator/>
	   <Action name="configure-shortcuts"/>
	   <Action name="configure-notifications"/>
	   <Action name="configure-settings"/>
	  </Menu>
	  <Menu name="help">
	   <text>Help</text>
	  </Menu>
	 </MenuBar>
	 <ActionProperties>
	  <Action shortcut="Ctrl+Shift+B" name="add_bookmark"/>
	  <Action shortcut="" name="help_contents"/>
	  <Action shortcut="Ctrl+T" name="new-tab"/>
	 </ActionProperties>
	</kpartgui>

cat ~/.local/share/konsole/Shell.profile
	[Appearance]
	AntiAliasFonts=true
	BoldIntense=true
	ColorScheme=BlackOnLightYellow
	Font=Hack,13,-1,5,50,0,0,0,0,0
	LineSpacing=0
	UseFontLineChararacters=true

	[Cursor Options]
	CustomCursorColor=0,0,255
	UseCustomCursorColor=true

	[Encoding Options]
	DefaultEncoding=UTF-8

	[General]
	Name=Shell
	Parent=FALLBACK/

	[Interaction Options]
	AutoCopySelectedText=true
	CopyTextAsHTML=false
	CtrlRequiredForDrag=false
	DropUrlsAsText=false
	TrimTrailingSpacesInSelectedText=true

	[Keyboard]
	KeyBindings=linux

	[Scrolling]
	HistoryMode=2
	ScrollFullPage=true

	[Terminal Features]
	BidiRenderingEnabled=false
	BlinkingCursorEnabled=true
	UrlHintsModifiers=67108864

Anything suspicious in there?
Comment 8 pgnd 2019-08-18 22:27:50 UTC
it DOES work if I drag from a Kate editor window into its own Terminal konsole-part.

but it does NOT work if I drag same from Kate to a standalone, open Konsole window ...
Comment 9 pgnd 2019-10-21 16:47:33 UTC
still an issue, as reported, with

konsole -v
  konsole 19.08.2

kate -v
  kate 19.08.2
Comment 10 pgnd 2019-11-01 21:21:45 UTC
It there any dev interest in fixing this?  At all, or prior to KDE F6?

If so, what add'l info do you need?

If not, pls just let us know.
Comment 11 Kurt Hindenburg 2019-11-07 14:46:21 UTC
Sorry for the delay - let me research again
Comment 12 Christoph Feck 2019-11-07 15:42:31 UTC
Developers will set the NEEDSINFO status when they need more information.
Comment 13 Kurt Hindenburg 2019-11-14 18:56:47 UTC
Does not work in xterm; does work in terminator and firefox.  I went all the way back to Konsole 17.04 and the DND still doesn't work from Kate. DND from other apps work into Konsole.


"it DOES work if I drag from a Kate editor window into its own Terminal konsole-part."
confirmed
Comment 14 pgnd 2019-12-23 06:24:10 UTC
issue continues, as reported, with

	konsole -v
		konsole 19.12.0

	kate -v
		kate 19.12.0

	lsb_release -rd
		Description:    openSUSE Leap 15.1
		Release:        15.1

	plasma5-workspace-5.17.4-lp151.492.1.x86_64
	plasma-framework-devel-5.65.0-lp151.269.1.x86_64
	etc
Comment 15 bginsburg 2020-09-18 17:22:29 UTC
This appears to be resolved under Konsole v. 20.08.1 and Kate v. 20.08.1