Bug#862566: Pick a package name by clicking on a window

2018-12-20 Thread Keyikedalube Ndang
Package: reportbug-gtk
Version: 7.5.1
Followup-For: Bug #862566

Dear Maintainer,

True.
It's quite technical for most users (including me) to know the package name
when reporting a bug. Clicking on a window would really make it simple.

That would eliminate having me to guess the program name (when I don't know
which) through a process manager program.



-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 4.18.0-3-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_IN, LC_CTYPE=en_IN (charmap=UTF-8), LANGUAGE=en_IN:en 
(charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages reportbug-gtk depends on:
ii  gir1.2-gtk-3.0 3.24.2-3
ii  gir1.2-vte-2.910.54.2-1
ii  python3-gi 3.30.4-1
ii  python3-gi-cairo   3.30.4-1
ii  python3-gtkspellcheck  4.0.5-1
ii  reportbug  7.5.1

reportbug-gtk recommends no packages.

reportbug-gtk suggests no packages.

-- no debconf information



Bug#862566: Pick a package name by clicking on a window

2017-05-14 Thread Enrico Zini
Package: reportbug
Version: 7.1.6
Severity: wishlist

Hello,

suppose I want to report a bug on a GUI software, but the window title
says "Video Player": what package name should I use?

This "simple" one-liner lets you pick a window and outputs its package name to
stdout:

dpkg -S $(readlink /proc/$(xwininfo -wm|sed -nre 's/.+Process id: 
([0-9]+).+/\1/p')/exe) | cut -d: -f1

Can you add it to reportbug, at least in its GUI interface? Like, when it asks
for the package name, there could be a button saying something like "select on
screen" that does that.

Today when showing people how to report bugs, the issue came out, and it turns
out that technically it could be easily solvable.


Enrico

-- Package-specific info:
** Environment settings:
DEBEMAIL="enr...@debian.org"
EMAIL="enr...@enricozini.org"
DEBFULLNAME="Enrico Zini"

** /home/enrico/.reportbugrc:
mode expert

-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64
 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.9.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages reportbug depends on:
ii  apt1.4.1
ii  python3-reportbug  7.1.6
pn  python3:any

reportbug recommends no packages.

Versions of packages reportbug suggests:
pn  claws-mail   
ii  debconf-utils1.5.60
ii  debsums  2.2
ii  dlocate  1.07+nmu1
pn  emacs23-bin-common | emacs24-bin-common  
ii  file 1:5.29-3
ii  gir1.2-gtk-3.0   3.22.11-1
ii  gir1.2-vte-2.91  0.46.1-1
ii  gnupg2.1.18-6
ii  postfix [mail-transport-agent]   3.1.4-4
ii  python3-gi   3.22.0-2
ii  python3-gi-cairo 3.22.0-2
pn  python3-gtkspellcheck
ii  python3-urwid1.3.1-2+b1
ii  xdg-utils1.1.1-1

Versions of packages python3-reportbug depends on:
ii  apt1.4.1
ii  file   1:5.29-3
ii  python3-debian 0.1.30
ii  python3-debianbts  2.6.1
ii  python3-requests   2.12.4-1
pn  python3:any

python3-reportbug suggests no packages.

-- no debconf information