kwin/autotests/integration
Vlad Zahorodnii 403a04fe24 wayland: Fix loading of HiDPI cursors
Xcursors don't support hidpi so if a hidpi cursor is needed, kwin will
scale the desired size by the scale factor and ask Xcursor helpers to
load a theme with the given name and the size.

However, the theme loading code doesn't take into account that Xcursor
theme loading helpers may not return cursor sprites of size size * scale
if the theme has no such a size.

For example, if the cursor theme only provides 24, 36, and 48 sizes and
kwin attempts to load cursors of size 48 with a scale factor of 2, we
will get cursors of size 48 instead of 96. Unfortunately, this will
result in the issue where the cursor shrinks when hovering decorations
because kwin doesn't know that the effective scale factor (1) is
different from the requested scale factor (2).

In order to fix loading of HiDPI cursors, we need to approximate the
effective scale factor of every cursor sprite as we load it.
2021-05-03 10:52:25 +03:00
..
data Prettify license headers 2020-08-07 19:57:56 +00:00
effects [scripting] Port ScriptedEffects to QJSEngine 2021-02-23 07:47:01 +00:00
fakes Use versionless Qt cmake target 2021-01-30 17:18:21 +01:00
helper Use versionless Qt cmake target 2021-01-30 17:18:21 +01:00
protocols Implement the layer-shell v1 protocol 2020-09-03 18:11:44 +00:00
scripting [scripting] Port ScriptedEffects to QJSEngine 2021-02-23 07:47:01 +00:00
activation_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
activities_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
buffer_size_change_test.cpp Introduce RenderLoop 2021-01-06 16:59:29 +00:00
CMakeLists.txt inputmethod: Refactor VirtualKeyboardDBus to have its own InputMethpd 2021-03-02 13:55:35 +00:00
dbus_interface_test.cpp autotests: Fix TestDbusInterface 2021-02-01 09:30:58 +02:00
debug_console_test.cpp Fix DebugConsoleTest 2020-12-17 13:15:46 +02:00
decoration_input_test.cpp Remove QPointer from function prototypes in some input code 2021-01-28 16:49:29 +02:00
desktop_window_x11_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
dont_crash_aurorae_destroy_deco.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
dont_crash_cancel_animation.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
dont_crash_cursor_physical_size_empty.cpp autotests: Fix DontCrashCursorPhysicalSizeEmpty 2021-04-23 09:55:04 +03:00
dont_crash_empty_deco.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
dont_crash_glxgears.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
dont_crash_no_border.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
dont_crash_reinitialize_compositor.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
dont_crash_useractions_menu.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
generic_scene_opengl_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
generic_scene_opengl_test.h Prettify license headers 2020-08-07 19:57:56 +00:00
globalshortcuts_test.cpp fix global shortcuts for non-Latin symbols 2021-04-05 19:39:06 +00:00
idle_inhibition_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
input_stacking_order.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
inputmethod_test.cpp autotests: Fix InputMethodTest 2021-04-23 22:08:29 +03:00
internal_window.cpp wayland: Introduce internal popup event filter 2021-02-02 14:09:44 +00:00
keyboard_layout_test.cpp fix: KeyboardLayoutTest fails on updated DBus API 2021-01-20 16:39:32 +03:00
keymap_creation_failure_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
kwin_wayland_test.cpp inputmethod: Move the input method process into the InputMethod class 2021-04-29 11:04:19 +00:00
kwin_wayland_test.h Refactor session code 2021-03-23 08:01:19 +00:00
kwinbindings_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
layershellv1client_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
lockscreen.cpp wayland: Adjust kwin to SeatInterface changes 2021-03-11 07:36:31 +00:00
maximize_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
modifier_only_shortcut_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
move_resize_window_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
nightcolor_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
no_global_shortcuts_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
no_xdg_runtime_dir_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
outputmanagement_test.cpp Add TestOutputManagement::testOutputDeviceRemoved 2021-01-27 08:18:57 +00:00
placement_test.cpp Test fullscreen in conjuction with sendToScreen 2021-01-22 09:50:52 +00:00
plasma_surface_test.cpp Drop Platform::createScreens() 2020-12-21 09:20:16 +00:00
plasmawindow_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
platformcursor.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
pointer_constraints_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
pointer_input.cpp wayland: Fix loading of HiDPI cursors 2021-05-03 10:52:25 +03:00
quick_tiling_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
scene_opengl_es_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
scene_opengl_shadow_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
scene_opengl_test.cpp Prettify license headers 2020-08-07 19:57:56 +00:00
scene_qpainter_shadow_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
scene_qpainter_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
screen_changes_test.cpp Drop Platform::createScreens() 2020-12-21 09:20:16 +00:00
screenedge_client_show_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
screens_test.cpp Fix testScreens 2021-04-26 19:25:50 +00:00
shade_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
showing_desktop_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
stacking_order_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
struts_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
tabbox_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
test_helpers.cpp tests: clean outputManagement when cleaning interfaces 2021-04-22 10:16:36 +00:00
test_virtualkeyboard_dbus.cpp autotests: Fix testVirtualKeyboardDBus 2021-04-23 21:40:04 +03:00
touch_input_test.cpp wayland: Fix handling of synthetic touch cancel events 2021-02-16 17:53:30 +00:00
transient_placement.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
virtual_desktop_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
window_rules_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
window_selection_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
x11_client_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
xdgshellclient_rules_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
xdgshellclient_test.cpp wayland: Check workspace position after creating decoration 2021-04-07 20:38:05 +00:00
xwayland_input_test.cpp wayland: Adjust kwin to PointerInterface changes 2021-03-10 14:10:16 +00:00
xwayland_selections_test.cpp Make source code more relocatable 2021-02-10 15:31:42 +00:00
xwaylandserver_crash_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00
xwaylandserver_restart_test.cpp Avoid converting socket name between QString and QByteArray back and forth 2020-12-09 15:07:29 +02:00