! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Wrapper should use the plugin's name for XID
Status:
RESOLVED: MOVED
Severity:
enhancement
Product:
Xfce4-panel
Component:
General

Comments

Description Raphael Groner 2012-09-14 18:30:08 CEST
Created attachment 4628 
$ xwininfo -all -tree -name xfce4-panel >/tmp/xwininfo.log

Each plugin should be shown with its own name for xwininfo command. I guess only the "wrapper" registers mostly with its name as the embedding window.

The attachment is a sample output of xwininfo for my system.
Comment 1 Raphael Groner 2012-09-15 16:15:26 CEST
As it turned out, the command 'ps xc' returns the right process names like "panel-%d-%s", where %d is a unique id that is also an argument to the wrapper executable and %s the plugin name. The complete length is truncated to a maximum of 15+1 bytes (an invisible zero byte is at the string end). See documenation for the call prctl(PR_SET_NAME, ...).

http://manpages.courier-mta.org/htmlman2/prctl.2.html

In contrast, with the command 'ps x', you get the full command line with "wrapper" as the executable name. The command 'xwininfo -tree' seems to use alwayws the executable name ("wrapper"), the same counts for the xprop command.

Finally, I am confused what component to blame. Maybe xfwm4 can fix that.
Comment 2 Git Bot editbugs 2020-05-28 01:42:34 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/xfce/xfce4-panel/-/issues/38.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #9300

Reported by:
Raphael Groner
Reported on: 2012-09-14
Last modified on: 2020-05-28

People

Assignee:
Nick Schermer
CC List:
0 users

Version

Version:
Unspecified

Attachments

$ xwininfo -all -tree -name xfce4-panel >/tmp/xwininfo.log (6.48 KB, application/octet-stream)
2012-09-14 18:30 CEST , Raphael Groner
no flags

Additional information