Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1558577

Summary: jobviewer.py:692:toggle_window_display:AttributeError: 'gtk.gdk.X11Window' object has no attribute 'property_change'
Product: Red Hat Enterprise Linux 7 Reporter: Petr Sklenar <psklenar>
Component: system-config-printerAssignee: Petr Sklenar <psklenar>
Status: CLOSED WONTFIX QA Contact: qe-baseos-daemons
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 7.5CC: extras-qa, geoffleach.gl, jpopelka, sorrow.about.alice, twaugh, zdohnal
Target Milestone: rcKeywords: FastFix
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:52287184249993ddf1e532cc85e8a9ac3cc31166
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 989096 Environment:
Last Closed: 2019-11-22 14:08:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 989096    
Bug Blocks: 1709724    
Attachments:
Description Flags
patch based on commit a0a5852 none

Description Petr Sklenar 2018-03-20 14:31:06 UTC
+++ This bug was initially created as a clone of Bug #989096 +++

Version-Release number of selected component:
system-config-printer-libs-1.4.1-8.fc19

Additional info:
reporter:       libreport-2.1.5
cmdline:        /usr/bin/python /usr/share/system-config-printer/scp-dbus-service.py
core_backtrace: 795ab4e731946f6cecb8c350d550d3d3ff52b1a0 0x2b4 toggle_window_display /usr/share/system-config-printer/jobviewer.py -
executable:     /usr/share/system-config-printer/scp-dbus-service.py
kernel:         3.10.3-300.fc19.x86_64
runlevel:       N 5
uid:            1000

Truncated backtrace:
jobviewer.py:692:toggle_window_display:AttributeError: 'gtk.gdk.X11Window' object has no attribute 'property_change'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/jobviewer.py", line 692, in toggle_window_display
    w.property_change ("_NET_WM_ICON_GEOMETRY",
AttributeError: 'gtk.gdk.X11Window' object has no attribute 'property_change'

Local variables in innermost frame:
loc: True
aw: None
area: <CairoRectangleInt at 0x2a116a0>
self: <JobViewer object at 0x271e1e0 (jobviewer+JobViewer at 0x2112320)>
o: <enum GTK_ORIENTATION_HORIZONTAL of type GtkOrientation>
visible: True
s: <gtk.gdk.X11Screen object at 0x29e3050 (GdkX11Screen at 0x21000c0)>
force_show: False
w: <gtk.gdk.X11Window object at 0x271e960 (GdkX11Window at 0x298c600)>
icon: <StatusIcon object at 0x29c4140 (GtkStatusIcon at 0x2a37680)>

--- Additional comment from GeoffLeach on 2013-07-27 16:22:58 CEST ---



--- Additional comment from GeoffLeach on 2013-07-27 16:23:03 CEST ---



--- Additional comment from Tim Waugh on 2013-08-06 17:53:05 CEST ---

Fixed upstream in commit a0a5852.

--- Additional comment from Fedora Update System on 2013-08-21 18:22:50 CEST ---

system-config-printer-1.4.2-1.fc19 has been submitted as an update for Fedora 19.
https://admin.fedoraproject.org/updates/system-config-printer-1.4.2-1.fc19

--- Additional comment from Fedora Update System on 2013-08-23 02:45:22 CEST ---

Package system-config-printer-1.4.2-1.fc19:
* should fix your issue,
* was pushed to the Fedora 19 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing system-config-printer-1.4.2-1.fc19'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2013-15201/system-config-printer-1.4.2-1.fc19
then log in and leave karma (feedback).

--- Additional comment from Fedora Update System on 2013-08-26 00:56:26 CEST ---

system-config-printer-1.4.2-1.fc19 has been pushed to the Fedora 19 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 2 Petr Sklenar 2018-03-20 14:34:57 UTC
I could see the same on rhel7
with:
1, install Xfce from epel
2, then setup lightdm
      for ex: stop gdm + go to console and start lightdm, log in as user with Xfce
3, lp /etc/fstab
4, wait a while and you will see abrt:

root@localhost ~]# cat /var/spool/abrt/Python-2018-03-20-15\:09\:43-6790/cmdline 
/usr/bin/python /usr/share/system-config-printer/scp-dbus-service.py
[root@localhost ~]# 
[root@localhost ~]# 
[root@localhost ~]# cat /var/spool/abrt/Python-2018-03-20-15\:09\:43-6790/backtrace 
jobviewer.py:692:toggle_window_display:AttributeError: 'X11Window' object has no attribute 'property_change'

Traceback (most recent call last):
  File "/usr/share/system-config-printer/jobviewer.py", line 692, in toggle_window_display
    w.property_change ("_NET_WM_ICON_GEOMETRY",
AttributeError: 'X11Window' object has no attribute 'property_change'

Comment 3 Petr Sklenar 2018-03-21 09:27:24 UTC
Created attachment 1411063 [details]
patch based on commit a0a5852

this patch should fix traceback due to 'gtk.gdk.X11Window' object has no attribute 'property_change'

reproduced and verified with bugfix up to the comment 2