Bug 77294

Summary: Incorrect weston-info : Numeric values in name field
Product: Wayland Reporter: Anu Reddy <anasuyax.r.nannuri>
Component: westonAssignee: Wayland bug list <wayland-bugs>
Status: VERIFIED NOTABUG QA Contact:
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:
Attachments: weston-info

Description Anu Reddy 2014-04-11 00:15:50 UTC
Created attachment 97201 [details]
weston-info

steps:
------
1. Launch weston
2. Launch weston-terminal
3. Execute weston-info from weston-terminal
4. Observe "wl_output" and "wl_seat" name fields have a numeric values. See attached weston-info log.

Expected Result:
User should be able to see connected display name etc. in weston-info. 


Software Stack
--------------
Kernel: 3.13.6-200.fc20.x86_64
Systemd: 212 (rawhide)
wayland (HEAD) 1.4.91-0-g5e2cfd2
drm (HEAD) libdrm-2.4.52-0-g46d451c
mesa (HEAD) mesa-10.1-0-g4a86465
libva (HEAD) libva-1.2.1-0-g88ed1eb
intel-driver (HEAD) 1.2.2-0-g121e70d
cairo (HEAD) heads/1.12-0-g59e2a93
libinput (HEAD) remotes/origin/HEAD-0-gc5c503c
weston (HEAD) 1.4.91-0-g79d5a6e
Comment 1 Pekka Paalanen 2014-04-11 06:26:41 UTC
What do you mean?
wl_output has no name in the dump, and the name for wl_seat is "default".

If you refer to the "name" on the line
   interface: 'wl_output', version: 2, name: 9
that is supposed to be a number indeed. It is the wl_registry id of the global interface, as opposed to a protocol object id.

weston-info cannot print any name for a wl_output, because the wl_output protocol interface does not have any way to communicate it. Is this bug about adding a name event to wl_output? There are patches for that on the mailing list.
Comment 2 U. Artie Eoff 2014-04-11 16:36:27 UTC
As Pekka mentioned in #c1, the numbers represent ids and weston-info is designed to be this way.

If you need an easier way of determining the character name of a particular output, then this would be an enhancement.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.