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

  • From: Stephan Assmus <superstippi@xxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Sat, 12 Jun 2010 20:08:54 +0200

On 2010-06-12 at 19:08:24 [+0200], François Revol <revol@xxxxxxx> wrote:
> 
> 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.

"image/x-vnd.Be-bitmap" makes the most sense to me. However, there might 
even be two different BBitmap stream formats. One would be the archived 
BBitmap, the other would be the B_TRANSLATOR_BITMAP stream used as 
intermediate format in translators. Don't know if both happen to be the same.

Best regards,
-Stephan

Other related posts: