Bug 442445
Summary: | comand line option '-sourceposition' does not work correctly | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Jiri Cerny <ji.cerny> |
Component: | xdvik | Assignee: | Jonathan Underwood <jonathan.underwood> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 9 | CC: | jnovy, pertusus |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | 22.84.13-19 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2008-07-21 16:50:41 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: | |||
Attachments: |
Description
Jiri Cerny
2008-04-14 20:19:22 UTC
I cannot reproduce it on my x386 box, with -unique it reloads in the same window. Created attachment 302412 [details]
output of two xdvi -unique -debug client,src commands
I can reproduce it always. I attached to the bug output of two successive xdvi commands with some debugging enabled. Maybe it helps. I tried the same, and upon inspection of the logs, it seems that the issue is in x_util.c:1142: CLIENT: Checking window ffffffffffffffe9 x_util.c:1152: CLIENT: Window ffffffffffffffe9: doesn't exist any more, deleting x_util.c:284: CLIENT: No "xdvi windows" property found (during the first run). I attach my logs for a case that works. Created attachment 302419 [details]
output of working xdvi -unique -debug client,src commands
Maybe you could launch xwininfo and click on the first xdvi window, look at the window id and report back the comparison with x_util.c:1142: CLIENT: Checking window ffffffffffffffe9. Created attachment 302424 [details]
output of xwininfo for the first xdvi window
As you see, the window id looks quite normal. It is not ffffffffffffe9
Um. Struggling to reproduce this locally. I am wondering if this could be a window manager bug - Jiri, what WM are you using? metacity-2.22.0-2.fc9.x86_64. I do not believe it is metacity, since xwininfo works, but I am really no expert. To be sure that it is not related my personal configuration, I have created a new user on current rawhide. The problem is completely reproducible also by this new user (with standard gnome desktop) I was trying to play with the code. What I do not understand is the following. If I add on the begining of the function get_window_id in x_utils.c the following line fprintf(stderr, "DEBUGING: %02x %02x %02x %02x\n", window_p[0],window_p[1],window_p[2],window_p[3]); I get DEBUGING: ffffffe8 01 00 04 I am not a professional programmer, but why printing char produces something like ffffffe8. Created attachment 302722 [details]
patch correcting the problem
This (very unprofessional) patch makes my problem disappear. The window id is
non longer fffffffffe9 and, what is more important, -unique switch works.
Hm, ok, thanks for digging a little deeper with this - I'll have a careful look over the weekend. Have done a build with Jiri's patch applied: http://koji.fedoraproject.org/koji/taskinfo?taskID=585170 Please test that (assuming it completes successfully). I'll push an update for F-9 if this fix is good. The above build works for me. Thanks a lot. xdvik-22.84.13-19.fc9 has been submitted as an update for Fedora 9 xdvik-22.84.13-19.fc9 has been pushed to the Fedora 9 testing repository. If problems still persist, please make note of it in this bug report. If you want to test the update, you can install it with su -c 'yum --enablerepo=updates-testing update xdvik'. You can provide feedback for this update here: http://admin.fedoraproject.org/updates/F9/FEDORA-2008-3710 Changing version to '9' as part of upcoming Fedora 9 GA. More information and reason for this action is here: http://fedoraproject.org/wiki/BugZappers/HouseKeeping xdvik-22.84.13-19.fc9 has been pushed to the Fedora 9 stable repository. If problems still persist, please make note of it in this bug report. |