[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Re: Neat interface or Bloat you decide
From:       Richard Moore <rm () rsi ! co ! uk>
Date:       2001-10-23 13:32:19
[Download RAW message or body]

On Tuesday 23 October 2001 12:39, ian reinhart geiser wrote:
> On Tuesday 23 October 2001 03:39 am, Rik Hemsley wrote:
> > I don't think small features like this are necessarily bad, in fact I
> > can think of lots of uses for such gems, e.g. if you're trying to guide
> > someone through an app (remotely,) you can send some XMLRPC or SOAP to
> > their DCOP server, which grabs a screenshot and uploads it to your own
> > machine.
>
> This is a cool feature I guess i reall never thought about until I read
> your message.  I think it would make remote trouble shooting of KDE
> applications a reality in a cooperate environment.

Yeah this is a nice idea - it's similar to a plan I have to use libvncserver
and QPixmap::grabWindow to allow you to publish your desktop via VNC.

Rich.

>
> > Note also that code like that proposed is tiny, and I don't see where
> > this 'bloat' you talk about would come from.
>
> The idea is if we all add these 5 - 10 line features it will add up.  The
> road to hell is paved with good intentions, so I wanted to make sure this
> was a desired feature before adding my "pet" feature.
> #endif
>
> #ifndef Bernd Gehrmann
>
> On Tuesday 23 October 2001 04:51 am, Bernd Gehrmann wrote:
> > Besides, why should it only be possible to make screenshots of main
> > windows, not of dialogs or arbitrary widgets? IMO the right way to
> > implement it would be to add an interface to get the window id. Then
> > you can add dcop interfaces to pixie and ksnapshot that make screenshots
> > of a given window id.
>
> This is a great idea, for sure I will add an interface to return the window
> id, there are many uses outside of this that such a thing would offer.  I
> am also adding the dcop interface to KSnapshot so it can take screen
> captures of certain window IDs.
> #endif
>
> #ifdef  Richard Moore
>
> On Tuesday 23 October 2001 05:40 am, Richard Moore wrote:
> > Which is why you can already do exactly this with ksnapshot. You can also
> > use the kwin dcop interface.
>
> Actually no you cannot completely do this with KSnapshot in an automated
> manner.  This feature also eliminates the need for KSnapshot to be running
> too.  I feel the feature would allow for people to have a base install of
> KDE and still be able to have some features.  On my workstation at the
> university they only had KDElibs and KDEbase installed.  This may be a poor
> excuse, but I am still trying to get ideas.
> #endif
>
> I am not sure I will add the direct capture dcop interfaces to the
> KMainWindow.  The clipboard capture feature is VERY light weight and adds
> no dependencies, I find this not as useful as file but it is a handy
> interface none the less.  The file export interface may need KIO and
> KImageIO dependencies to really be of any use, so it may not ever get
> added.
>
> In short I am currently thinking I will add the getWindowID() interface to
> KMainWindow and then add a grabWinID(int) interface to KSnapshot and then
> the clipboard interface if there are no real objections.
>
> thanks
> - -ian reinhart geiser
>
>
>
> - --
> ========================================
> fortune: cannot execute.  Out of cookies.
> ========================================
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.0.6 (GNU/Linux)
> Comment: For info see http://www.gnupg.org
>
> iD8DBQE71VbgPy62TRm8dvgRApqeAJ4onpEVYoe+Wj99mwkMi6acLD3Z3gCfa7vi
> SkF5Z4DLvcfeHZ/KMzHYyuM=
> =k1HA
> -----END PGP SIGNATURE-----

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic