Re: KScreenGenie stable release

2015-08-09 Thread Thomas Lübking
On Sonntag, 9. August 2015 22:57:54 CEST, Boudhayan Gupta wrote: I should have this, as well as the current 200ms timeout to take care of other not-so-nice compositors Yes. and note in the user manual that if you see a ghost of the window in your screenshots, just set a delay in KSG itself?

Re: KScreenGenie stable release

2015-08-09 Thread Boudhayan Gupta
On 10 August 2015 at 02:04, Thomas Lübking wrote: >> If there's sample code I can refer to, all the better > > Here it comes: Wow thanks, that is extremely helpful! Yes, I do support X-less builds (the define is HAVE_XCB). So what I gather is - I should have this, as well as the current 200ms ti

Re: KScreenGenie stable release

2015-08-09 Thread Boudhayan Gupta
> As someone who didn't follow the discussion too closely: Will it eventually > be renamed to KSnapshot and just replace it? :-) Yes >> Visit http://mail.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<

Re: KScreenGenie stable release

2015-08-09 Thread Thomas Lübking
On Sonntag, 9. August 2015 21:39:37 CEST, Boudhayan Gupta wrote: Do I have to do it the xcb way (get an atom, call xcb_change_property() and all - and does this property even have an atom) Yes - "unfortunately". I filed bug 351137 about this, but notice that any resolution will require a somew

Re: KScreenGenie stable release

2015-08-09 Thread Dominik Haumann
On Sunday 09 August 2015 19:11:56 Bhushan Shah wrote: > On Sun, Aug 9, 2015 at 3:34 PM, Boudhayan Gupta wrote: > > This is a heads-up that I'll be doing a stable release of KScreenGenie > > (v2.0.0) sometime late 15th August (after 10 PM) / early 16th August > > 2015, Indian Standard Time. > > Si

Re: KScreenGenie stable release

2015-08-09 Thread Boudhayan Gupta
Hi Thomas, > Since closing animations can however easily take 500ms, it's not sufficient > to cover them. (And instead waiting for ages until the window animation > *may* have ended, we added this hint instead) This is going to sound novice-y, but can you point me in the right direction as to *ho

Re: KScreenGenie stable release

2015-08-09 Thread Thomas Lübking
On Sonntag, 9. August 2015 21:20:03 CEST, Boudhayan Gupta wrote: Will this work on hide() as well Yes. or is there no actual difference between closing a window and hiding it? Not in this regard. The window gets unmapped, that all what matters here. (There're, however, in general differences

Re: KScreenGenie stable release

2015-08-09 Thread Boudhayan Gupta
Hi Thomas, > For cases where you bypass the screenshot effect (and in general) ensure to > set a _KDE_NET_WM_SKIP_CLOSE_ANIMATION property to "1" on all windows you do > not want to see on the shots. > > Waiting for "arandomtime™" won't work reliably because the closing effects > can take differen

Re: KScreenGenie stable release

2015-08-09 Thread Thomas Lübking
On Sonntag, 9. August 2015 20:06:23 CEST, Boudhayan Gupta wrote: I'm not using KWin's screenshot effect. In fact I'm dropping directly to pure xcb. For cases where you bypass the screenshot effect (and in general) ensure to set a _KDE_NET_WM_SKIP_CLOSE_ANIMATION property to "1" on all windows

Re: KScreenGenie stable release

2015-08-09 Thread Boudhayan Gupta
Hi Bhushan, > Since you are having stable release, do you want bugs.kde.org product created? > > (I know that this is going to be ksnapshot-next, but for this release > it is kscreengenie Your call. I don't mind either way. In fact, having a Bugzilla product might help casual users report bugs si

Re: KScreenGenie stable release

2015-08-09 Thread Boudhayan Gupta
Hi, >> With subsequent screenshots only. It looks like the KScreenGenie >> window is not able to hide completely. Hmm, I just noticed it happens at my end too. I'll increase the timeout to 300msec (from 200 now). > > > You're not talking to the kwin screenshot effect to hint bypassing your > win

Re: KScreenGenie stable release

2015-08-09 Thread Bhushan Shah
On Sun, Aug 9, 2015 at 3:34 PM, Boudhayan Gupta wrote: > This is a heads-up that I'll be doing a stable release of KScreenGenie > (v2.0.0) sometime late 15th August (after 10 PM) / early 16th August > 2015, Indian Standard Time. Since you are having stable release, do you want bugs.kde.org produc

Re: KScreenGenie stable release

2015-08-09 Thread Thomas Lübking
On Sonntag, 9. August 2015 14:31:34 CEST, Siddhartha wrote: On 9 August 2015 at 17:22, Boudhayan Gupta wrote: Does this happen on the initial screenshot, or ones that you take subsequently with the "Take New Screenshot" button, or both? With subsequent screenshots only. It looks like the KScr

Re: KScreenGenie stable release

2015-08-09 Thread Siddhartha
On 9 August 2015 at 17:22, Boudhayan Gupta wrote: > Does this happen on the initial screenshot, or ones that you take > subsequently with the "Take New Screenshot" button, or both? With subsequent screenshots only. It looks like the KScreenGenie window is not able to hide completely. >> Visit ht

Re: KScreenGenie stable release

2015-08-09 Thread Boudhayan Gupta
Hi Siddhartha, On 9 August 2015 at 17:00, Siddhartha wrote: > An issue I've been facing: the KScreenGenie window also appears along > with the screenshot. It happens for all the "Area" types AFAICT. PFA > an example demonstrating this. Does this happen on the initial screenshot, or ones that you

Re: KScreenGenie stable release

2015-08-09 Thread Siddhartha
Hi Boudhayan, On 9 August 2015 at 15:34, Boudhayan Gupta wrote: > The release will be tagged from master, and you can consider master to > be at feature and string freeze as of now. If there are any minor bugs > if you'd like me to fix (or would like to fix yourself), or if there > are any i18n i

KScreenGenie stable release

2015-08-09 Thread Boudhayan Gupta
Hi all, This is a heads-up that I'll be doing a stable release of KScreenGenie (v2.0.0) sometime late 15th August (after 10 PM) / early 16th August 2015, Indian Standard Time. The release will be tagged from master, and you can consider master to be at feature and string freeze as of now. If ther