Bug 106576 - Keyboard layout switcher not shown
Summary: Keyboard layout switcher not shown
Status: RESOLVED NOTABUG
Alias: None
Product: Wayland
Classification: Unclassified
Component: weston (show other bugs)
Version: 1.5.0
Hardware: Other All
: medium normal
Assignee: Wayland bug list
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-19 10:20 UTC by Dilian
Modified: 2018-06-04 17:38 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Description Dilian 2018-05-19 10:20:24 UTC
In the past weston has not shown the keyboard layout in the upper right corner, then something happend and the layout-switcher was shown for some days, then something happened and the keyboard layout swicher is not shown any more.  "Something happened" could also mean, that I changed the configuration file, compiled a new version of wayland, weston, protocols, mesa.

Why doesn't the 

My .config/weston.ini:

[core]
modules=systemd-notify.so
[shell]
locking=false
animation=zoom
[keyboard]
keymap_layout=us,de,bg
keymap_options=grp:rctrl_rshift_toggle

The output of weston --log=abc:

Date: 2018-05-19 UTC
[10:15:19.161] weston 4.0.0
               http://wayland.freedesktop.org
               Bug reports to: https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=4.0.0
               Build: unknown (not built from git or tarball)
[10:15:19.161] Command line: weston --log=abc
[10:15:19.161] OS: Linux, 4.15.15, #1 SMP Fri Apr 6 21:58:46 CEST 2018, x86_64
[10:15:19.161] Using config file '/home/d/.config/weston.ini'
[10:15:19.161] Output repaint window is 7 ms maximum.
[10:15:19.161] Loading module '/usr/local/lib/libweston-4/drm-backend.so'
[10:15:19.165] initializing drm backend
[10:15:19.171] logind: session control granted
[10:15:19.173] using /dev/dri/card0
[10:15:19.173] DRM: supports universal planes
[10:15:19.173] DRM: supports atomic modesetting
[10:15:19.173] Loading module '/usr/local/lib/libweston-4/gl-renderer.so'
[10:15:19.185] EGL client extensions: EGL_EXT_client_extensions
               EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses
               EGL_KHR_debug EGL_EXT_platform_wayland EGL_EXT_platform_x11
               EGL_MESA_platform_gbm EGL_MESA_platform_surfaceless
[10:15:19.185] warning: neither EGL_EXT_swap_buffers_with_damage or EGL_KHR_swap_buffers_with_damage is supported. Performance could be affected.
[10:15:19.185] EGL_KHR_surfaceless_context available
[10:15:19.186] Failed to obtain a high priority context.
[10:15:19.186] EGL version: 1.4 (DRI2)
[10:15:19.186] EGL vendor: Mesa Project
[10:15:19.186] EGL client APIs: OpenGL OpenGL_ES 
[10:15:19.186] EGL extensions: EGL_ANDROID_native_fence_sync EGL_EXT_buffer_age
               EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import
               EGL_EXT_image_dma_buf_import_modifiers EGL_IMG_context_priority
               EGL_KHR_config_attribs EGL_KHR_create_context
               EGL_KHR_create_context_no_error EGL_KHR_fence_sync
               EGL_KHR_get_all_proc_addresses EGL_KHR_gl_renderbuffer_image
               EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image
               EGL_KHR_gl_texture_cubemap_image EGL_KHR_image
               EGL_KHR_image_base EGL_KHR_image_pixmap
               EGL_KHR_no_config_context EGL_KHR_reusable_sync
               EGL_KHR_surfaceless_context EGL_KHR_wait_sync
               EGL_MESA_configless_context EGL_MESA_drm_image
               EGL_MESA_image_dma_buf_export EGL_WL_bind_wayland_display
[10:15:19.186] GL version: OpenGL ES 3.1 Mesa 17.3.9
[10:15:19.186] GLSL version: OpenGL ES GLSL ES 3.10
[10:15:19.186] GL vendor: Intel Open Source Technology Center
[10:15:19.186] GL renderer: Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) 
[10:15:19.186] GL extensions: GL_EXT_blend_minmax GL_EXT_multi_draw_arrays
               GL_EXT_texture_filter_anisotropic
               GL_EXT_texture_compression_dxt1 GL_EXT_texture_format_BGRA8888
               GL_OES_compressed_ETC1_RGB8_texture GL_OES_depth24
               GL_OES_element_index_uint GL_OES_fbo_render_mipmap
               GL_OES_mapbuffer GL_OES_rgb8_rgba8 GL_OES_standard_derivatives
               GL_OES_stencil8 GL_OES_texture_3D GL_OES_texture_float
               GL_OES_texture_float_linear GL_OES_texture_half_float
               GL_OES_texture_half_float_linear GL_OES_texture_npot
               GL_OES_vertex_half_float GL_EXT_texture_sRGB_decode
               GL_OES_EGL_image GL_OES_depth_texture
               GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV
               GL_OES_get_program_binary GL_APPLE_texture_max_level
               GL_EXT_discard_framebuffer GL_EXT_read_format_bgra
               GL_EXT_frag_depth GL_NV_fbo_color_attachments
               GL_OES_EGL_image_external GL_OES_EGL_sync
               GL_OES_vertex_array_object GL_OES_viewport_array
               GL_ANGLE_texture_compression_dxt3
               GL_ANGLE_texture_compression_dxt5 GL_EXT_robustness
               GL_EXT_texture_rg GL_EXT_unpack_subimage GL_NV_draw_buffers
               GL_NV_read_buffer GL_NV_read_depth GL_NV_read_depth_stencil
               GL_NV_read_stencil GL_EXT_draw_buffers GL_EXT_map_buffer_range
               GL_KHR_debug GL_KHR_robustness GL_OES_depth_texture_cube_map
               GL_OES_required_internalformat GL_OES_surfaceless_context
               GL_EXT_color_buffer_float GL_EXT_separate_shader_objects
               GL_EXT_shader_integer_mix GL_EXT_tessellation_point_size
               GL_EXT_tessellation_shader GL_INTEL_performance_query
               GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image
               GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex
               GL_EXT_gpu_shader5 GL_EXT_polygon_offset_clamp
               GL_EXT_primitive_bounding_box GL_EXT_shader_io_blocks
               GL_EXT_texture_border_clamp GL_EXT_texture_buffer
               GL_EXT_texture_cube_map_array GL_KHR_blend_equation_advanced
               GL_KHR_context_flush_control
               GL_KHR_robust_buffer_access_behavior GL_NV_image_formats
               GL_OES_copy_image GL_OES_draw_buffers_indexed
               GL_OES_draw_elements_base_vertex GL_OES_gpu_shader5
               GL_OES_primitive_bounding_box GL_OES_sample_shading
               GL_OES_sample_variables GL_OES_shader_io_blocks
               GL_OES_shader_multisample_interpolation
               GL_OES_tessellation_point_size GL_OES_tessellation_shader
               GL_OES_texture_border_clamp GL_OES_texture_buffer
               GL_OES_texture_cube_map_array GL_OES_texture_stencil8
               GL_OES_texture_storage_multisample_2d_array
               GL_EXT_blend_func_extended GL_EXT_buffer_storage
               GL_EXT_geometry_point_size GL_EXT_geometry_shader
               GL_EXT_shader_samples_identical GL_KHR_no_error
               GL_OES_geometry_point_size GL_OES_geometry_shader
               GL_OES_shader_image_atomic GL_EXT_clip_cull_distance
               GL_MESA_shader_integer_functions
[10:15:19.187] GL ES 2 renderer features:
               read-back format: BGRA
               wl_shm sub-image to texture: yes
               EGL Wayland extension: yes
[10:15:19.191] event2  - [10:15:19.191] Power Button: [10:15:19.191] is tagged by udev as: Keyboard
[10:15:19.191] event2  - [10:15:19.191] Power Button: [10:15:19.191] device is a keyboard
[10:15:19.193] event3  - [10:15:19.193] Video Bus: [10:15:19.193] is tagged by udev as: Keyboard
[10:15:19.193] event3  - [10:15:19.193] Video Bus: [10:15:19.193] device is a keyboard
[10:15:19.195] event0  - [10:15:19.195] Lid Switch: [10:15:19.195] is tagged by udev as: Switch
[10:15:19.195] event0  - [10:15:19.195] Lid Switch: [10:15:19.195] device is a switch device
[10:15:19.196] event1  - [10:15:19.196] Power Button: [10:15:19.196] is tagged by udev as: Keyboard
[10:15:19.196] event1  - [10:15:19.196] Power Button: [10:15:19.196] device is a keyboard
[10:15:19.198] event8  - [10:15:19.198] HDA Intel HDMI HDMI/DP,pcm=8: [10:15:19.198] is tagged by udev as: Switch
[10:15:19.199] event9  - [10:15:19.199] HDA Intel HDMI HDMI/DP,pcm=9: [10:15:19.199] is tagged by udev as: Switch
[10:15:19.201] event10 - [10:15:19.201] HDA Intel HDMI HDMI/DP,pcm=10: [10:15:19.201] is tagged by udev as: Switch
[10:15:19.203] event6  - [10:15:19.203] HDA Intel HDMI HDMI/DP,pcm=3: [10:15:19.203] is tagged by udev as: Switch
[10:15:19.205] event7  - [10:15:19.205] HDA Intel HDMI HDMI/DP,pcm=7: [10:15:19.205] is tagged by udev as: Switch
[10:15:19.207] event11 - [10:15:19.207] HDA Intel PCH Mic: [10:15:19.207] is tagged by udev as: Switch
[10:15:19.209] event12 - [10:15:19.209] HDA Intel PCH Headphone: [10:15:19.209] is tagged by udev as: Switch
[10:15:19.211] event4  - [10:15:19.211] AT Translated Set 2 keyboard: [10:15:19.211] is tagged by udev as: Keyboard
[10:15:19.211] event4  - [10:15:19.211] AT Translated Set 2 keyboard: [10:15:19.211] device is a keyboard
[10:15:19.213] event13 - [10:15:19.213] SynPS/2 Synaptics TouchPad: [10:15:19.213] is tagged by udev as: Touchpad
[10:15:19.213] event13 - [10:15:19.213] SynPS/2 Synaptics TouchPad: [10:15:19.213] device is a touchpad
[10:15:19.215] event5  - [10:15:19.215] HP Wireless hotkeys: [10:15:19.215] is tagged by udev as: Keyboard
[10:15:19.215] event5  - [10:15:19.215] HP Wireless hotkeys: [10:15:19.215] device is a keyboard
[10:15:19.225] DRM: expected property DPMS to not be an enum, but it is; ignoring
[10:15:19.225] EDID data 'BOE', '', ''
[10:15:19.343] Registered plugin API 'weston_drm_output_api_v1' of size 24
[10:15:19.344] Chosen EGL config details:
               RGBA bits: 8 8 8 0
               swap interval range: 1 - 1
[10:15:19.344] Failed to initialize backlight
[10:15:19.344] Output eDP-1, (connector 59, crtc 37)
               mode 1920x1080@60.0, preferred, current
               mode 1920x1080@39.3
[10:15:19.344] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               presentation clock: CLOCK_MONOTONIC, id 1
               presentation clock resolution: 0.000000001 s
[10:15:19.344] Loading module '/usr/local/lib/weston/desktop-shell.so'
[10:15:19.344] launching '/usr/local/libexec/weston-keyboard'
[10:15:19.345] Loading module '/usr/local/lib/weston/systemd-notify.so'
[10:15:19.345] launching '/usr/local/libexec/weston-desktop-shell'
[10:15:19.360] DRM: expected property DPMS to not be an enum, but it is; ignoring
[10:15:19.360] DRM: expected property DPMS to not be an enum, but it is; ignoring
[10:15:21.431] panel surface gone
[10:15:21.431] background surface gone
[10:15:21.432] event2  - [10:15:21.432] Power Button: [10:15:21.432] device removed
[10:15:21.433] event3  - [10:15:21.433] Video Bus: [10:15:21.433] device removed
[10:15:21.433] event0  - [10:15:21.433] Lid Switch: [10:15:21.433] device removed
[10:15:21.433] event1  - [10:15:21.433] Power Button: [10:15:21.433] device removed
[10:15:21.433] event8  - [10:15:21.433] HDA Intel HDMI HDMI/DP,pcm=8: [10:15:21.433] device removed
[10:15:21.433] event9  - [10:15:21.433] HDA Intel HDMI HDMI/DP,pcm=9: [10:15:21.433] device removed
[10:15:21.434] event10 - [10:15:21.434] HDA Intel HDMI HDMI/DP,pcm=10: [10:15:21.434] device removed
[10:15:21.434] event6  - [10:15:21.434] HDA Intel HDMI HDMI/DP,pcm=3: [10:15:21.434] device removed
[10:15:21.434] event7  - [10:15:21.434] HDA Intel HDMI HDMI/DP,pcm=7: [10:15:21.434] device removed
[10:15:21.434] event11 - [10:15:21.434] HDA Intel PCH Mic: [10:15:21.434] device removed
[10:15:21.434] event12 - [10:15:21.434] HDA Intel PCH Headphone: [10:15:21.434] device removed
[10:15:21.435] event4  - [10:15:21.435] AT Translated Set 2 keyboard: [10:15:21.435] device removed
[10:15:21.435] event13 - [10:15:21.435] SynPS/2 Synaptics TouchPad: [10:15:21.435] device removed
[10:15:21.435] event5  - [10:15:21.435] HP Wireless hotkeys: [10:15:21.435] device removed
Comment 1 Daniel Stone 2018-06-04 07:13:06 UTC
(In reply to Dilian from comment #0)
> In the past weston has not shown the keyboard layout in the upper right
> corner, then something happend and the layout-switcher was shown for some
> days, then something happened and the keyboard layout swicher is not shown
> any more.  "Something happened" could also mean, that I changed the
> configuration file, compiled a new version of wayland, weston, protocols,
> mesa.

That's odd; we've never shown a visible keyboard-layout switcher! Maybe you had seen it in some other environment, but it's not a feature Weston has ever had.

If you were interested in developing the feature, I'd be happy to talk you through the process of doing so.
Comment 2 Dilian 2018-06-04 17:38:19 UTC
Probably I have seen the layout switcher in some other UI.


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.