Open Bug 1631023 Opened 5 years ago Updated 2 years ago

Wayland with multiple displays: ctrl-tab thumbnails are too small and wrongly positioned

Categories

(Core :: Widget: Gtk, defect, P3)

75 Branch
Desktop
Linux
defect

Tracking

()

UNCONFIRMED

People

(Reporter: zdanevich.vitaly, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

My about:support:

{
"application": {
"name": "Firefox",
"osVersion": "Linux 4.19.97-gentoo-13.1.2020-radeon-only+",
"version": "75.0",
"buildID": "20200403170909",
"userAgent": "Mozilla/5.0 (X11; Linux i686; rv:75.0) Gecko/20100101 Firefox/75.0",
"safeMode": false,
"updateChannel": "release",
"supportURL": "https://support.mozilla.org/1/firefox/75.0/Linux/en-US/",
"numTotalWindows": 1,
"numRemoteWindows": 1,
"remoteAutoStart": true,
"autoStartStatus": 1,
"policiesStatus": 1,
"keyLocationServiceGoogleFound": true,
"keySafebrowsingGoogleFound": true,
"keyMozillaFound": true
},
"securitySoftware": {
"registeredAntiVirus": "",
"registeredAntiSpyware": "",
"registeredFirewall": ""
},
"processes": {
"remoteTypes": {
"web": 8,
"extension": 1
},
"maxWebContentProcesses": 8
},
"modifiedPreferences": {
"accessibility.typeaheadfind.flashBar": 0,
"browser.cache.disk.amount_written": 1604032,
"browser.cache.disk.capacity": 1048576,
"browser.cache.disk.enable": false,
"browser.cache.disk.filesystem_reported": 1,
"browser.cache.disk.hashstats_reported": 1,
"browser.cache.disk.telemetry_report_ID": 19,
"browser.contentblocking.category": "standard",
"browser.search.useDBForOrder": true,
"browser.sessionstore.upgradeBackup.latestBuildID": "20200403170909",
"browser.sessionstore.warnOnQuit": true,
"browser.startup.homepage_override.buildID": "20200403170909",
"browser.startup.homepage_override.mstone": "75.0",
"browser.startup.page": 3,
"browser.urlbar.placeholderName": "DuckDuckGo",
"browser.urlbar.placeholderName.private": "DuckDuckGo",
"browser.urlbar.tipShownCount.searchTip_onboard": 4,
"dom.push.userAgentID": "9d5826ee08ae4a3c8d35a368b921e9bd",
"extensions.lastAppVersion": "75.0",
"font.internaluseonly.changed": true,
"general.autoScroll": true,
"gfx.blacklist.layers.opengl.failureid": "FEATURE_FAILURE_SOFTWARE_GL",
"idle.lastDailyNotification": 1587082907,
"media.benchmark.vp9.fps": 25,
"media.benchmark.vp9.versioncheck": 5,
"media.eme.enabled": true,
"media.gmp-gmpopenh264.abi": "x86-gcc3",
"media.gmp-gmpopenh264.lastUpdate": 1577198985,
"media.gmp-gmpopenh264.version": "1.8.1.1",
"media.gmp-manager.buildID": "20200403170909",
"media.gmp-manager.lastCheck": 1587047588,
"media.gmp-widevinecdm.abi": "x86-gcc3",
"media.gmp-widevinecdm.lastUpdate": 1583468155,
"media.gmp-widevinecdm.version": "4.10.1582.2",
"media.gmp.storage.version.observed": 1,
"mousewheel.min_line_scroll_amount": 60,
"network.dns.disablePrefetch": true,
"network.http.speculative-parallel-limit": 0,
"network.predictor.cleaned-up": true,
"network.predictor.enabled": false,
"network.prefetch-next": false,
"places.database.lastMaintenance": 1586985691,
"places.history.expiration.transient_current_max_pages": 143772,
"print.print_bgcolor": false,
"print.print_bgimages": false,
"print.print_duplex": 0,
"print.print_evenpages": true,
"print.print_margin_bottom": "0.5",
"print.print_margin_left": "0.5",
"print.print_margin_right": "0.5",
"print.print_margin_top": "0.5",
"print.print_oddpages": true,
"print.print_orientation": 0,
"print.print_page_delay": 50,
"print.print_paper_data": 0,
"print.print_paper_height": " 11.69",
"print.print_paper_name": "iso_a4",
"print.print_paper_size_unit": 0,
"print.print_paper_width": " 8.27",
"print.print_scaling": " 1.00",
"print.print_shrink_to_fit": true,
"print.print_to_file": false,
"print.print_unwriteable_margin_bottom": 56,
"print.print_unwriteable_margin_left": 25,
"print.print_unwriteable_margin_right": 25,
"print.print_unwriteable_margin_top": 25,
"privacy.sanitize.pending": "[{"id":"newtab-container","itemsToClear":[],"options":{}}]",
"privacy.purge_trackers.date_in_cookie_database": "0",
"privacy.userContext.enabled": true,
"privacy.userContext.extension": "@testpilot-containers",
"privacy.userContext.longPressBehavior": 2,
"privacy.userContext.ui.enabled": true,
"security.remote_settings.crlite_filters.checked": 1587125729,
"security.remote_settings.intermediates.checked": 1587125729,
"security.sandbox.content.tempDirSuffix": "9364e5ac-6b92-4756-89bd-b74553064dd3",
"security.sandbox.plugin.tempDirSuffix": "fb598a7b-cdd1-471d-a893-a0190f104c58",
"services.sync.declinedEngines": "",
"services.sync.lastPing": 1587083034,
"services.sync.lastSync": "Fri Apr 17 2020 19:32:26 GMT+0300 (Moscow Standard Time)",
"services.sync.engine.prefs.modified": false,
"signon.importedFromSqlite": true,
"storage.vacuum.last.index": 1,
"storage.vacuum.last.places.sqlite": 1586105616
},
"lockedPreferences": {
"fission.autostart": false
},
"media": {
"currentAudioBackend": "pulse-rust",
"currentMaxAudioChannels": 2,
"currentPreferredSampleRate": 44100,
"audioOutputDevices": [
{
"name": "default and only sink",
"groupId": "",
"vendor": "",
"type": 2,
"state": 2,
"preferred": 15,
"supportedFormat": 12336,
"defaultFormat": 16,
"maxChannels": 2,
"defaultRate": 44100,
"maxRate": 384000,
"minRate": 1,
"maxLatency": 0,
"minLatency": 0
}
],
"audioInputDevices": [
{
"name": "default_source_name",
"groupId": "",
"vendor": "",
"type": 1,
"state": 2,
"preferred": 15,
"supportedFormat": 12336,
"defaultFormat": 16,
"maxChannels": 2,
"defaultRate": 44100,
"maxRate": 384000,
"minRate": 1,
"maxLatency": 0,
"minLatency": 0
}
]
},
"javaScript": {
"incrementalGCEnabled": true
},
"accessibility": {
"isActive": false,
"forceDisabled": 0,
"handlerUsed": false,
"instantiator": ""
},
"libraryVersions": {
"NSPR": {
"minVersion": "4.25",
"version": "4.25"
},
"NSS": {
"minVersion": "3.51",
"version": "3.51"
},
"NSSUTIL": {
"minVersion": "3.51",
"version": "3.51"
},
"NSSSSL": {
"minVersion": "3.51",
"version": "3.51"
},
"NSSSMIME": {
"minVersion": "3.51",
"version": "3.51"
}
},
"userJS": {
"exists": false
},
"intl": {
"localeService": {
"requested": [
"en-US-posix"
],
"available": [
"en-US"
],
"supported": [
"en-US"
],
"regionalPrefs": [
"en-US-posix"
],
"defaultLocale": "en-US"
},
"osPrefs": {
"systemLocales": [
"en-US-posix"
],
"regionalPrefsLocales": [
"en-US-posix"
]
}
},
"crashes": {
"submitted": [
{
"id": "bp-91b1c25f-f4f6-4df1-aab5-233cf0200416",
"date": 1587047526000,
"pending": false
}
],
"pending": 2
},
"sandbox": {
"hasSeccompBPF": true,
"hasSeccompTSync": true,
"hasPrivilegedUserNamespaces": false,
"hasUserNamespaces": false,
"canSandboxContent": true,
"canSandboxMedia": true,
"syscallLog": [],
"contentSandboxLevel": 4,
"effectiveContentSandboxLevel": 4
},
"graphics": {
"numTotalWindows": 1,
"numAcceleratedWindows": 0,
"windowLayerManagerType": "Basic",
"windowLayerManagerRemote": true,
"windowUsingAdvancedLayers": false,
"numAcceleratedWindowsMessage": {
"key": ""
},
"adapterDescription": "AMD RS880 (DRM 2.50.0 / 4.19.97-gentoo-13.1.2020-radeon-only+, LLVM 9.0.1)",
"adapterVendorID": "0x1002",
"adapterDeviceID": "0x9710",
"adapterRAM": 512,
"adapterDrivers": "",
"driverVendor": "mesa/r600",
"driverVersion": "19.3.5.0",
"driverDate": "",
"usesTiling": false,
"contentUsesTiling": false,
"offMainThreadPaintEnabled": false,
"offMainThreadPaintWorkerCount": 0,
"targetFrameRate": 60,
"windowProtocol": "wayland",
"desktopEnvironment": "unknown",
"webgl1Renderer": "X.Org -- AMD RS880 (DRM 2.50.0 / 4.19.97-gentoo-13.1.2020-radeon-only+, LLVM 9.0.1)",
"webgl1Version": "OpenGL ES 3.0 Mesa 19.3.5",
"webgl1DriverExtensions": "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc 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_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render 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_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean 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_KHR_texture_compression_astc_ldr GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_integer_mix GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_polygon_offset_clamp GL_EXT_texture_border_clamp GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_OES_texture_stencil8 GL_EXT_blend_func_extended GL_EXT_float_blend GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_KHR_parallel_shader_compile GL_EXT_texture_sRGB_R8 GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp ",
"webgl1Extensions": "ANGLE_instanced_arrays EXT_blend_minmax EXT_color_buffer_half_float EXT_float_blend EXT_sRGB EXT_texture_compression_rgtc EXT_texture_filter_anisotropic MOZ_debug OES_element_index_uint OES_fbo_render_mipmap OES_standard_derivatives OES_texture_float OES_texture_float_linear OES_texture_half_float OES_texture_half_float_linear OES_vertex_array_object WEBGL_color_buffer_float WEBGL_compressed_texture_astc WEBGL_compressed_texture_etc WEBGL_compressed_texture_etc1 WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_depth_texture WEBGL_lose_context",
"webgl1WSIInfo": "EGL_VENDOR: Mesa Project\nEGL_VERSION: 1.5\nEGL_EXTENSIONS: EGL_ANDROID_blob_cache EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_swap_buffers_with_damage EGL_KHR_cl_event2 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_colorspace 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_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display EGL_WL_create_wayland_buffer_from_image \nEGL_EXTENSIONS(nullptr): EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_wayland EGL_EXT_platform_x11 EGL_MESA_platform_gbm EGL_MESA_platform_surfaceless EGL_EXT_platform_device",
"webgl2Renderer": "X.Org -- AMD RS880 (DRM 2.50.0 / 4.19.97-gentoo-13.1.2020-radeon-only+, LLVM 9.0.1)",
"webgl2Version": "OpenGL ES 3.0 Mesa 19.3.5",
"webgl2DriverExtensions": "GL_EXT_blend_minmax GL_EXT_multi_draw_arrays GL_EXT_texture_filter_anisotropic GL_EXT_texture_compression_s3tc GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_rgtc 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_AMD_performance_monitor GL_OES_packed_depth_stencil GL_EXT_texture_type_2_10_10_10_REV GL_NV_conditional_render 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_ANGLE_texture_compression_dxt3 GL_ANGLE_texture_compression_dxt5 GL_EXT_occlusion_query_boolean 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_KHR_texture_compression_astc_ldr GL_OES_depth_texture_cube_map GL_OES_required_internalformat GL_OES_surfaceless_context GL_EXT_color_buffer_float GL_EXT_sRGB_write_control GL_EXT_separate_shader_objects GL_EXT_shader_integer_mix GL_EXT_base_instance GL_EXT_compressed_ETC1_RGB8_sub_texture GL_EXT_copy_image GL_EXT_draw_buffers_indexed GL_EXT_draw_elements_base_vertex GL_EXT_polygon_offset_clamp GL_EXT_texture_border_clamp GL_KHR_context_flush_control GL_KHR_robust_buffer_access_behavior GL_OES_copy_image GL_OES_draw_buffers_indexed GL_OES_draw_elements_base_vertex GL_OES_texture_border_clamp GL_OES_texture_stencil8 GL_EXT_blend_func_extended GL_EXT_float_blend GL_KHR_no_error GL_KHR_texture_compression_astc_sliced_3d GL_OES_EGL_image_external_essl3 GL_EXT_clip_cull_distance GL_EXT_disjoint_timer_query GL_EXT_texture_compression_s3tc_srgb GL_MESA_shader_integer_functions GL_EXT_clip_control GL_KHR_parallel_shader_compile GL_EXT_texture_sRGB_R8 GL_MESA_framebuffer_flip_y GL_EXT_depth_clamp ",
"webgl2Extensions": "EXT_color_buffer_float EXT_float_blend EXT_texture_compression_rgtc EXT_texture_filter_anisotropic MOZ_debug OES_texture_float_linear WEBGL_compressed_texture_astc WEBGL_compressed_texture_etc WEBGL_compressed_texture_etc1 WEBGL_compressed_texture_s3tc WEBGL_compressed_texture_s3tc_srgb WEBGL_debug_renderer_info WEBGL_debug_shaders WEBGL_lose_context",
"webgl2WSIInfo": "EGL_VENDOR: Mesa Project\nEGL_VERSION: 1.5\nEGL_EXTENSIONS: EGL_ANDROID_blob_cache EGL_EXT_buffer_age EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_swap_buffers_with_damage EGL_KHR_cl_event2 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_colorspace 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_base EGL_KHR_no_config_context EGL_KHR_reusable_sync EGL_KHR_surfaceless_context EGL_KHR_swap_buffers_with_damage EGL_EXT_pixel_format_float EGL_KHR_wait_sync EGL_MESA_configless_context EGL_MESA_drm_image EGL_MESA_image_dma_buf_export EGL_MESA_query_driver EGL_WL_bind_wayland_display EGL_WL_create_wayland_buffer_from_image \nEGL_EXTENSIONS(nullptr): EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_EXT_platform_base EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_EXT_platform_wayland EGL_EXT_platform_x11 EGL_MESA_platform_gbm EGL_MESA_platform_surfaceless EGL_EXT_platform_device",
"info": {
"AzureCanvasBackend": "skia",
"AzureFallbackCanvasBackend": "none",
"AzureContentBackend": "skia",
"CairoUseXRender": 0,
"ApzWheelInput": 1,
"ApzDragInput": 1,
"ApzKeyboardInput": 1,
"ApzAutoscrollInput": 1,
"CMSOutputProfile": "Empty profile data",
"DisplayCount": 1,
"Display0": "3120x1920 default"
},
"featureLog": {
"features": [
{
"name": "HW_COMPOSITING",
"description": "Compositing",
"status": "blocked",
"log": [
{
"type": "default",
"status": "available"
},
{
"type": "env",
"status": "blocked",
"message": "Acceleration blocked by platform"
}
]
},
{
"name": "OPENGL_COMPOSITING",
"description": "OpenGL Compositing",
"status": "unavailable",
"log": [
{
"type": "default",
"status": "unavailable",
"message": "Hardware compositing is disabled"
}
]
},
{
"name": "GPU_PROCESS",
"description": "GPU Process",
"status": "blocked",
"log": [
{
"type": "default",
"status": "available"
},
{
"type": "runtime",
"status": "blocked",
"message": "Wayland does not work in the GPU process"
}
]
},
{
"name": "WEBRENDER",
"description": "WebRender",
"status": "opt-in",
"log": [
{
"type": "default",
"status": "opt-in",
"message": "WebRender is an opt-in feature"
}
]
},
{
"name": "WEBRENDER_QUALIFIED",
"description": "WebRender qualified",
"status": "denied",
"log": [
{
"type": "default",
"status": "available"
},
{
"type": "env",
"status": "denied",
"message": "Not on allowlist"
}
]
},
{
"name": "WEBRENDER_COMPOSITOR",
"description": "WebRender native compositor",
"status": "disabled",
"log": [
{
"type": "default",
"status": "disabled",
"message": "Disabled by default"
}
]
},
{
"name": "OMTP",
"description": "Off Main Thread Painting",
"status": "broken",
"log": [
{
"type": "default",
"status": "available"
},
{
"type": "runtime",
"status": "broken",
"message": "OMTP is not supported on 32-bit with <= 2 cores"
}
]
},
{
"name": "WEBGPU",
"description": "WebGPU",
"status": "disabled",
"log": [
{
"type": "default",
"status": "disabled",
"message": "Disabled by default"
}
]
}
],
"fallbacks": []
},
"crashGuards": []
},
"extensions": [
{
"name": "Amazon.com",
"version": "1.1",
"isActive": true,
"id": "amazondotcom@search.mozilla.org"
},
{
"name": "Bing",
"version": "1.1",
"isActive": true,
"id": "bing@search.mozilla.org"
},
{
"name": "CORS Everywhere",
"version": "18.11.13.2043",
"isActive": true,
"id": "cors-everywhere@spenibus"
},
{
"name": "DuckDuckGo",
"version": "1.0",
"isActive": true,
"id": "ddg@search.mozilla.org"
},
{
"name": "eBay",
"version": "1.0",
"isActive": true,
"id": "ebay@search.mozilla.org"
},
{
"name": "Firefox Multi-Account Containers",
"version": "6.2.5",
"isActive": true,
"id": "@testpilot-containers"
},
{
"name": "Google",
"version": "1.0",
"isActive": true,
"id": "google@search.mozilla.org"
},
{
"name": "Stylus",
"version": "1.5.10",
"isActive": true,
"id": "{7a7a4a92-a2a0-41d1-9fd7-1e92480d612d}"
},
{
"name": "Twitter",
"version": "1.0",
"isActive": true,
"id": "twitter@search.mozilla.org"
},
{
"name": "uBlock Origin",
"version": "1.26.0",
"isActive": true,
"id": "uBlock0@raymondhill.net"
},
{
"name": "Wikipedia (en)",
"version": "1.0",
"isActive": true,
"id": "wikipedia@search.mozilla.org"
},
{
"name": "Yandex",
"version": "1.0",
"isActive": true,
"id": "yandex@search.mozilla.org"
},
{
"name": "cookies.txt",
"version": "0.1",
"isActive": false,
"id": "{12cf650b-1822-40aa-bff0-996df6948878}"
},
{
"name": "Disable JavaScript",
"version": "2.3.1",
"isActive": false,
"id": "{41f9e51d-35e4-4b29-af66-422ff81c8b41}"
}
],
"features": [
{
"name": "DoH Roll-Out",
"version": "1.3.0",
"id": "doh-rollout@mozilla.org"
},
{
"name": "Firefox Screenshots",
"version": "39.0.0",
"id": "screenshots@mozilla.org"
},
{
"name": "Form Autofill",
"version": "1.0",
"id": "formautofill@mozilla.org"
},
{
"name": "Web Compat",
"version": "9.0.0",
"id": "webcompat@mozilla.org"
},
{
"name": "WebCompat Reporter",
"version": "1.1.0",
"id": "webcompat-reporter@mozilla.org"
}
]
}

Attachment #9141319 - Attachment description: Xorg Ctrl+Tab (I have two displays) → Xorg Ctrl+Tab (I have two displays): correct view
Attachment #9141321 - Attachment description: Wayland Ctrl + Tab → Wayland Ctrl + Tab: wrong size and position of thumbnails.

This code lives in tabbed browser.

Component: Menus → Tabbed Browser
Component: Tabbed Browser → Widget: Gtk
Product: Firefox → Core
Summary: Wayland: tabs thumbnails: smaller and wrong position → Wayland with multiple displays: ctrl-tab thumbnails are too small and wrongly positioned

Jan, do you know how we get the screen sizes on Wayland?
Thanks.

Flags: needinfo?(jhorak)
Priority: -- → P3

I have a similar problem: tab preview didn't scale properly.
3200x1800 laptop display with 2x scaling, Firefox 80.0.1 and Nightly 82.0a1 on Wayland.
If scaling disabled previews has correct sizes.

(In reply to Dão Gottwald [::dao] from comment #3)

https://searchfox.org/mozilla-central/rev/d2cec90777d573585f8477d5170892e5dcdfb0ab/browser/base/content/browser-ctrlTab.js#417-426

Wait. This is not a multi-monitor or HiDPI issue, even though HiDPI exposes weirdness more easily.

None of this can actually work at all on Wayland. You can't openPopupAtScreen with screen coordinates on a windowing system that isolates you from any screen coordinates!

It's in general kinda odd that JS code calculates screen coordinates. There should be a way to say "center this inside the window" in the whole XULPopup thing :/

(In reply to greg v [:unrelentingtech/myfreeweb] from comment #6)

(In reply to Dão Gottwald [::dao] from comment #3)

https://searchfox.org/mozilla-central/rev/d2cec90777d573585f8477d5170892e5dcdfb0ab/browser/base/content/browser-ctrlTab.js#417-426

Wait. This is not a multi-monitor or HiDPI issue, even though HiDPI exposes weirdness more easily.

None of this can actually work at all on Wayland. You can't openPopupAtScreen with screen coordinates on a windowing system that isolates you from any screen coordinates!

It's in general kinda odd that JS code calculates screen coordinates. There should be a way to say "center this inside the window" in the whole XULPopup thing :/

You can't open a popup on screen coordinates but it's possible to open popup relatively to parent window. i.e. when Firefox window is maximized we can use Firefox window size and open the popup at center of Firefox window.

(In reply to Martin Stránský [:stransky] (ni? me) from comment #7)

You can't open a popup on screen coordinates but it's possible to open popup relatively to parent window. i.e. when Firefox window is maximized we can use Firefox window size and open the popup at center of Firefox window.

Of course. We can basically only open it at the center of the Firefox window. But the ctrlTab js code doesn't know about that, it unconditionally tries to position using our GdkScreen size.

I have experimented with changing the sizing to be based on the window, but there's still width weirdness (seems like the underlying popup machinery just doesn't allow very wide popups, hence the issues when there are many tabs in a large window) and I can get the popup to break permanently if I try to use it when the window is barely on my current workspace (just a little corner is visible) :/

It would be ideal to just not use a popup for this on Wayland, just using position:fixed to center the thing in the browser window.

This is a variant of Bug 1661540. Screen sizes should be reported correctly now.
Using Firefox window size instead of screen size is not a Wayland issue so removing the tracker.

No longer blocks: wayland
Flags: needinfo?(jhorak)
Severity: -- → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: