[haiku-commits] Re: r37118 - haiku/trunk/src/apps/showimage

  • From: François Revol <revol@xxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 12 Jun 2010 19:08:24 +0200

Le 12 juin 2010 à 19:03, superstippi@xxxxxx a écrit :

> Author: stippi
> Date: 2010-06-12 19:03:53 +0200 (Sat, 12 Jun 2010)
> New Revision: 37118
> Changeset: http://dev.haiku-os.org/changeset/37118/haiku
> 
> Modified:
>   haiku/trunk/src/apps/showimage/ShowImageApp.cpp
>   haiku/trunk/src/apps/showimage/ShowImageView.cpp
>   haiku/trunk/src/apps/showimage/ShowImageView.h
> Log:
> * Fixed storage of image data in the system clipboard. According to the
>   comments in the code, different programs do it differently. However, I
>   believe we should follow the BeBook documentation. This is the method which
>   WonderBrush uses as well, and that one had been tested with other apps like
>   Refraction. Potentially, copy&paste could work across GoBe Productive now
>   also, but I didn't test.

I recall having different issues with several apps and no satisfying solution.
See SudokuView::CopyToClipboard() in src/apps/sudoku/SudokuView.cpp

Indeed we should settle with a standardized way.

François.

Other related posts: