Bug 1662776 - root-tail doesn't correctly delete the old content
Summary: root-tail doesn't correctly delete the old content
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: root-tail
Version: 29
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Petr Pisar
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-01-01 22:16 UTC by Jaroslav Škarvada
Modified: 2019-09-14 16:33 UTC (History)
2 users (show)

Fixed In Version: root-tail-1.2-25.fc32 root-tail-1.2-24.fc30 root-tail-1.2-23.fc29 root-tail-1.3-1.fc31
Clone Of:
Environment:
Last Closed: 2019-09-11 03:12:41 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)
Proposed fix (1.54 KB, patch)
2019-01-01 22:16 UTC, Jaroslav Škarvada
no flags Details | Diff
root-tail overwriting the text (465.43 KB, image/jpeg)
2019-08-16 08:51 UTC, Jaroslav Škarvada
no flags Details

Description Jaroslav Škarvada 2019-01-01 22:16:19 UTC
Created attachment 1517820 [details]
Proposed fix

Description of problem:
It seems root-tail doesn't correctly delete the old content. It manifests with e.g. the xfdesktop-4.13.2 which switched to gtk3 which uses cairo. The root-tail doesn't erase the old content causing that the new text is rewritten over the old text which clutters the output very soon.

Version-Release number of selected component (if applicable):
root-tail-1.2-22.fc29.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Run xfdesktop (xfce)
2. Run root-tail with -id WIN_ID pointing to the desktop window
3.

Actual results:
On each root-tail update the new content is rewritten over the old content cluttering the display soon

Expected results:
Old content is correctly erased before the new content is written

Additional info:
I guess the root-tail should call XClearArea with the Exposure flag set to True requesting the redraw of the desktop bellow. This seems to fix the problem for me.

Comment 1 Petr Pisar 2019-01-18 12:42:35 UTC
I also sometimes experience this issue. Yet I don't know a reliable reproducer. I will keep running the patched root-tail on my system for some time and if no regressions appear, I will release an update into Fedora. Thank you for the patch.

Comment 2 Petr Pisar 2019-01-21 07:13:08 UTC
It does not fix the issue I observe.

Comment 3 Jaroslav Škarvada 2019-08-16 08:50:31 UTC
I have just upgraded to f30 and the issue is still there. Attaching screenshot. Maybe the core problem is in the X server, but the root-tail workaround works good for me.

Comment 4 Jaroslav Škarvada 2019-08-16 08:51:20 UTC
Created attachment 1604313 [details]
root-tail overwriting the text

Comment 5 Petr Pisar 2019-09-02 13:27:16 UTC
Ok. Then I will apply. It's better if it fixes the issues for at least some one.

Comment 6 Fedora Update System 2019-09-02 13:34:18 UTC
FEDORA-2019-8c8e7481b9 has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-8c8e7481b9

Comment 7 Fedora Update System 2019-09-02 13:34:44 UTC
FEDORA-2019-611e76a911 has been submitted as an update to Fedora 30. https://bodhi.fedoraproject.org/updates/FEDORA-2019-611e76a911

Comment 8 Fedora Update System 2019-09-02 13:37:53 UTC
FEDORA-2019-2b7a68432e has been submitted as an update to Fedora 29. https://bodhi.fedoraproject.org/updates/FEDORA-2019-2b7a68432e

Comment 9 Fedora Update System 2019-09-02 23:56:46 UTC
root-tail-1.2-25.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-8c8e7481b9

Comment 10 Fedora Update System 2019-09-03 02:56:45 UTC
root-tail-1.2-24.fc30 has been pushed to the Fedora 30 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-611e76a911

Comment 11 Fedora Update System 2019-09-03 03:01:48 UTC
root-tail-1.2-23.fc29 has been pushed to the Fedora 29 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-2b7a68432e

Comment 12 Fedora Update System 2019-09-03 12:02:42 UTC
FEDORA-2019-a5d60ef71c has been submitted as an update to Fedora 31. https://bodhi.fedoraproject.org/updates/FEDORA-2019-a5d60ef71c

Comment 13 Fedora Update System 2019-09-03 18:45:58 UTC
root-tail-1.3-1.fc31 has been pushed to the Fedora 31 testing repository. If problems still persist, please make note of it in this bug report.
See https://fedoraproject.org/wiki/QA:Updates_Testing for
instructions on how to install test updates.
You can provide feedback for this update here: https://bodhi.fedoraproject.org/updates/FEDORA-2019-a5d60ef71c

Comment 14 Fedora Update System 2019-09-11 03:12:41 UTC
root-tail-1.2-24.fc30 has been pushed to the Fedora 30 stable repository. If problems still persist, please make note of it in this bug report.

Comment 15 Fedora Update System 2019-09-11 03:35:01 UTC
root-tail-1.2-23.fc29 has been pushed to the Fedora 29 stable repository. If problems still persist, please make note of it in this bug report.

Comment 16 Fedora Update System 2019-09-14 00:09:20 UTC
root-tail-1.3-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.

Comment 17 Fedora Update System 2019-09-14 16:33:01 UTC
root-tail-1.3-1.fc31 has been pushed to the Fedora 31 stable repository. If problems still persist, please make note of it in this bug report.


Note You need to log in before you can comment on or make changes to this bug.