Bug 131276 - File icon view and file list view do not honor KURLDrag::dragCopy() when dropping a file/directory
Summary: File icon view and file list view do not honor KURLDrag::dragCopy() when drop...
Status: RESOLVED WORKSFORME
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords: investigated, triaged
Depends on:
Blocks:
 
Reported: 2006-07-24 08:20 UTC by Alexander Reinholdt
Modified: 2018-10-21 04:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Reinholdt 2006-07-24 08:20:43 UTC
Version:           3.5.3 (using KDE KDE 3.5.3)
Installed from:    Debian testing/unstable Packages
Compiler:          g++ (GCC) 4.1.2 20060715 (prerelease) (Debian 4.1.1-9) 
OS:                Linux

In my application I defined a drag object with return type KURLDrag:

KURLDrag *Smb4KShareWidget::dragObject()
{
  KURL url = KURL( ((Smb4KShareWidgetItem *)currentItem())->shareObject()->canonicalPath() );

  KURLDrag *drag = new KURLDrag( KURL::List::List( url ), this );
  drag->setPixmap( DesktopIcon( "folder" ) );
  drag->dragCopy();
  
  return drag;
}

Since in my case it's neither a good idea to allow moving nor linking, I set the
drag object to copy mode explicitly. This mode is honored as long as I drag the 
item around (indicated by the '+'), but if I drop it into Konqueror file icon or list view, I always get the popup menu asking me if I want to move, copy, or link the contents of the URL. In my opinion, Konqueror (and also KDesktop) should honor the predefined drag mode.

Bye
Alexander
Comment 1 FiNeX 2009-09-19 00:41:42 UTC
Hi, is this bug still valid for KDE 4?
Comment 2 Andrew Crouthamel 2018-09-20 03:21:51 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information.

For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Andrew Crouthamel 2018-10-21 04:47:14 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!