Ticket #3766 (closed defect: fixed)

Opened 10 months ago

Last modified 9 months ago

Images are added twice

Reported by: humitos Owned by: humitos
Priority: Unspecified by Maintainer Milestone: Unspecified by Release Team
Component: InfoSlicer Version: Unspecified
Severity: Unspecified Keywords: gtk3, screenshot, port
Cc: walter, gonzalo Distribution/OS: Unspecified
Bug Status: Unconfirmed

Description

Steps to reproduce

  1. Open Info Slicer
  2. Go to the edit view
  3. Click on the images icon
  4. Drag and drop an image to the article

Issue

The image is added twice

Expected behaviour

Add the image just once

Environment

Fedora 17, sugar-build, git version of Info Slicer

Attachments

47.png Download (0.5 MB) - added by humitos 10 months ago.
gtk3-drag-and-drop-example.py Download (3.1 KB) - added by humitos 9 months ago.
Drag N Drop Gtk3 Example

Change History

Changed 10 months ago by humitos

Changed 10 months ago by humitos

  • owner set to humitos
  • status changed from new to accepted
  • component changed from untriaged to InfoSlicer

Changed 9 months ago by humitos

I've just attached an example that explains how we are using the Drag And Drop functionality in InfoSlicer.

The problem is that the images are added twice in a TextView and this example shows the same behaviour.

So, I will ask to #gtk people to know if there is something that I'm doing wrong or it's a bug.

The images used in the example are these ones:

Changed 9 months ago by humitos

Changed 9 months ago by humitos

Drag N Drop Gtk3 Example

Changed 9 months ago by humitos

dnarvaez told me that I should remove the line number 85 of the example. After doing that: it worked!

Changed 9 months ago by humitos

  • status changed from accepted to closed
  • resolution set to fixed
Note: See TracTickets for help on using tickets.