<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>256492</bug_id>
          
          <creation_ts>2010-11-10 06:32:53 +0000</creation_ts>
          <short_desc>can&apos;t drag screenshot onto http://imgur.com in a browser to do the upload work</short_desc>
          <delta_ts>2013-07-19 19:54:59 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>Unmaintained</classification>
          <product>ksnapshot</product>
          <component>general</component>
          <version>0.8.2</version>
          <rep_platform>Gentoo Packages</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Elias Probst">mail</reporter>
          <assigned_to name="Richard Moore">rich</assigned_to>
          <cc>hr.denzler</cc>
          
          <cf_commitlink>http://commits.kde.org/ksnapshot/3bb8fe97096badedf45863ab81f5868ca01cc2de</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1042620</commentid>
    <comment_count>0</comment_count>
    <who name="Elias Probst">mail</who>
    <bug_when>2010-11-10 06:32:53 +0000</bug_when>
    <thetext>Version:           unspecified (using KDE 4.5.3) 
OS:                Linux

KSnapshot uses a wrong mimetype for the screenshot.

Reproducible: Always

Steps to Reproduce:
Scenario #1)
- Make a screenshot using ksnapshot
- Press &apos;Copy to clipboard&apos;
- Open a filemanager (e.g. Dolphin)
- Rightclick in a folder and select &apos;Paste clipboard contents&apos;

Scenario #2)
- Make a screenshot using ksnapshot
- Drag the screenshot shown in the ksnapshot window to a filemanager to save the screenshot through drag&apos;n&apos;drop.

Actual Results:  
Scenario #1)
- When pasting the image, the preselected mimetype is shown as &apos;application/x-qt-image&apos;, although the image which is created then, is actually a PNG image.

Scenario #2)
- The cursor is always shown as &apos;blocked&apos; by the filemanager, due to an probably unknown mimetype.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1042735</commentid>
    <comment_count>1</comment_count>
    <who name="Hans-Rudi Denzler">hr.denzler</who>
    <bug_when>2010-11-10 15:47:37 +0000</bug_when>
    <thetext>application/x-qt-image is not a registered file type in system settings.
The code seems to follow the logic &quot;QInternalMimeData::hasFormat&quot;.
The first &quot;foundFormat&quot; of &quot;imageFormats&quot; when scrolling mouse wheel is PNG-Image (image/png).

In scenario #2 the cursor is &apos;not blocked&apos; with KolourPaint or GIMP.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1200619</commentid>
    <comment_count>2</comment_count>
    <who name="Elias Probst">mail</who>
    <bug_when>2011-12-16 17:44:16 +0000</bug_when>
    <thetext>The initially reported scenarios work now in KDE 4.7.90 (4.8.0 beta2), using Qt 4.7.4.

Another issue which remains:
→ Open http://imgur.com in a browser
→ Drag the image from ksnapshot to the browser

When dragging a regular image file to the browser, it can be uploaded directly.
When dragging the image from ksnapshot there, nothing happens</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1356384</commentid>
    <comment_count>3</comment_count>
    <who name="Jekyll Wu">adaptee</who>
    <bug_when>2013-04-01 06:01:44 +0000</bug_when>
    <thetext>Update report summary to reflect the current status.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1384582</commentid>
    <comment_count>4</comment_count>
    <who name="Sebastian Kügler">sebas</who>
    <bug_when>2013-07-19 19:54:59 +0000</bug_when>
    <thetext>Git commit 3bb8fe97096badedf45863ab81f5868ca01cc2de by Sebastian Kügler.
Committed on 19/07/2013 at 19:46.
Pushed by sebas into branch &apos;master&apos;.

Attach URL to dragged image to mimedata

This makes dropping ksnapshots images into clients work that don&apos;t pick up the
image data, but only look for a URL in the dragged mimedata.

REVIEW:111564
Related: bug 158677, bug 256801

M  +3    -0    ksnapshot.cpp

http://commits.kde.org/ksnapshot/3bb8fe97096badedf45863ab81f5868ca01cc2de</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>