[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2011-04-28 Thread Abhinav Upadhyay
I have filed a new bug report for the screenshot feature. 
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/772336

I have also implemented a working prototype of the feature which is
attached in the comments. It would be great to get some feedback before
I start integrating it in apport.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357847

Title:
  ubuntu-bug wish: allow to just point at the window of a buggy
  application

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2011-04-08 Thread Abhinav Upadhyay
I received a reply from the author of Shutter. He gave me a sample perl
script which allows to take screenshot of a window. But it requires
libgnome2-wnck-perl (if using the perl script) or libwnck (if writing
code in C).

I wonder if these libraries are included with Ubuntu when shipping ?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357847

Title:
  ubuntu-bug wish: allow to just point at the window of a buggy
  application

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2011-04-07 Thread Abhinav Upadhyay
Thanks :)

Another option is to use xwd and xwdtopnm utilities but it doesn't work
the way it should.

However, there is a screenshot taking application Shutter, it also
provides the capability of pointing at a window and taking its
screenshot. Its written in Perl and I cannot read Perl code :)

It would be interesting to ask the developer of Shutter how it achieves
this functionality.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357847

Title:
  ubuntu-bug wish: allow to just point at the window of a buggy
  application

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2011-04-01 Thread Abhinav Upadhyay
As far as taking screenshot is concerned, how about this ?

import -window `xwininfo |grep 'Window id:' |cut -d  -f4`
screenshot.jpg

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357847

Title:
  ubuntu-bug wish: allow to just point at the window of a buggy
  application

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2011-04-01 Thread Brian Murray
Wow, that's really cool!  However, import is provided by imagemagick
which isn't included by default with most Ubuntu installations.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357847

Title:
  ubuntu-bug wish: allow to just point at the window of a buggy
  application

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2011-03-17 Thread Abhinav Upadhyay
Here is the updated patch as Martin had suggested that changes be made
in apport/ui.py rather than in the shell wraper.

** Patch added: updated patch
   
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/357847/+attachment/1914550/+files/apport-bug-357847-updated.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357847

Title:
  ubuntu-bug wish: allow to just point at the window of a buggy
  application

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2011-03-17 Thread Launchpad Bug Tracker
** Branch linked: lp:apport

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357847

Title:
  ubuntu-bug wish: allow to just point at the window of a buggy
  application

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2011-03-17 Thread Abhinav Upadhyay
** Changed in: apport (Ubuntu)
   Status: In Progress = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357847

Title:
  ubuntu-bug wish: allow to just point at the window of a buggy
  application

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2011-03-15 Thread Abhinav Upadhyay
** Changed in: apport (Ubuntu)
   Status: Triaged = In Progress

** Changed in: apport (Ubuntu)
 Assignee: (unassigned) = Abhinav Upadhyay (er-abhinav-upadhyay)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357847

Title:
  ubuntu-bug wish: allow to just point at the window of a buggy
  application

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2011-03-14 Thread Brian Murray
** Tags added: patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357847

Title:
  ubuntu-bug wish: allow to just point at the window of a buggy
  application

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2011-03-13 Thread Launchpad Bug Tracker
** Branch linked: lp:~er-abhinav-
upadhyay/ubuntu/natty/apport/bugfix-357847

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357847

Title:
  ubuntu-bug wish: allow to just point at the window of a buggy
  application

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2011-03-13 Thread Abhinav Upadhyay
I added support for -x (for xprop ?) option to the bin/apport-bug
script, which will enable user to point at the problematic window and
generate a crash report for that application.

I used Matt Zimmerman's idea of implementation in the code as discussed
above

However, the idea of adding ability for taking screenshot is still left
as gnome-screenshot does not provide any straight forward functionality
to do this. It would require the user to select the window twice, (first
time for xprops, and 2nd time for gnome-screenshot). I think doing this
will cross the scope of a bitesize bug :-).

** Patch added: Patch for bug 357847
   
https://bugs.launchpad.net/ubuntu/+source/apport/+bug/357847/+attachment/1906658/+files/apport-bugfix-357847.diff

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357847

Title:
  ubuntu-bug wish: allow to just point at the window of a buggy
  application

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


Re: [Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2011-02-07 Thread Matt Zimmerman
On Sat, Feb 05, 2011 at 11:57:27PM -, Robert Roth wrote:
 @Matt Zimmerman: Wouldn't this cause data privacy problems? The current
 window, thus the screenshot could contain sensitive information.

So long as the user knows what's happening and consents, I don't see a
problem.

-- 
 - mdz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357847

Title:
  ubuntu-bug wish: allow to just point at the window of a buggy
  application

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2011-02-05 Thread Robert Roth
@Matt Zimmerman: Wouldn't this cause data privacy problems? The current
window, thus the screenshot could contain sensitive information.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/357847

Title:
  ubuntu-bug wish: allow to just point at the window of a buggy
  application

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2010-05-10 Thread Matt Zimmerman
It was suggested in a UDS session today that a good addition to this
feature would be to grab a screenshot of the window.  I don't think this
is trivial with gnome-screenshot, but it should be possible to add the
needed functionality

-- 
ubuntu-bug wish: allow to just point at the window of a buggy application
https://bugs.launchpad.net/bugs/357847
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2009-06-02 Thread Martin Pitt
** Tags added: bitesize

-- 
ubuntu-bug wish: allow to just point at the window of a buggy application
https://bugs.launchpad.net/bugs/357847
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2009-04-24 Thread Martin Pitt
Matt Zimmerman came up with this idea as well, he made a quick sketch
how it could look like:

-- 8 --
zenity --title=Select window --question --text=Please click on the window 
where you see the problem. 
zenity_pid=$!

window_pid=$(xprop _NET_WM_PID |cut -d= -f2)

kill $zenity_pid

if [ -z $window_pid ]; then
echo Sorry. 2
exit 1
fi

exec ubuntu-bug $window_pid

-- 
ubuntu-bug wish: allow to just point at the window of a buggy application
https://bugs.launchpad.net/bugs/357847
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2009-04-24 Thread Oliver Gerlich
 Similar to bug 85170, but not quite the same.

Actually, I think this xprop feature mainly could be useful for apps
which don't have a Report a bug menu entry, like the Gnome Mouse
Properties dialog.

 Matt Zimmerman came up with this idea as well, he made a quick sketch
how it could look like:

Looks good to me!

-- 
ubuntu-bug wish: allow to just point at the window of a buggy application
https://bugs.launchpad.net/bugs/357847
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2009-04-23 Thread Martin Pitt
Similar to bug 85170, but not quite the same.

** Changed in: apport (Ubuntu)
   Importance: Undecided = Wishlist

** Changed in: apport (Ubuntu)
   Status: New = Triaged

-- 
ubuntu-bug wish: allow to just point at the window of a buggy application
https://bugs.launchpad.net/bugs/357847
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 357847] Re: ubuntu-bug wish: allow to just point at the window of a buggy application

2009-04-08 Thread Oliver Gerlich

** Attachment added: ApportLog.txt
   http://launchpadlibrarian.net/25046368/ApportLog.txt

** Attachment added: Dependencies.txt
   http://launchpadlibrarian.net/25046369/Dependencies.txt

-- 
ubuntu-bug wish: allow to just point at the window of a buggy application
https://bugs.launchpad.net/bugs/357847
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs