kwin/autotests/integration
Martin Flöser 6685288d48 Add <number> to Wayland captions if the caption is the same
Summary:
Bringing another caption feature from X11 to Wayland. If we have
multiple windows with the same caption, starting from the second window
a suffix <number> is added.

E.g. if we have three windows with caption "foo", the naming is:
 * foo
 * foo <2>
 * foo <3>

The change tries to use as much shared code between the X11 and Wayland
implementation. Unfortunately it's not possible to share completely as
the X11 implementation does X11 specific things like editing the visible
name.

By sharing the code the numbering also works cross windowing system.
That is if a window is called "foo" on X11, a new window on Wayland with
caption "foo" will get adjusted to "foo <2>" and vice versa.

The change also eliminates a duplicated signal for captionChanged in
ShellClient (found by test case).

By using the shared implementation on X11 side a bug gets fixed which
got introduced with the support of "unresponsive", this is no longer
considered and the numbering still works even if there is a window which
is unresponsive.

Test Plan: New test case and manual testing

Reviewers: #kwin, #plasma

Subscribers: plasma-devel, kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D7425
2017-09-01 17:02:36 +02:00
..
data
effects
helper
scripting
activities_test.cpp
CMakeLists.txt
debug_console_test.cpp
decoration_input_test.cpp
desktop_window_x11_test.cpp
dont_crash_aurorae_destroy_deco.cpp
dont_crash_cancel_animation.cpp
dont_crash_empty_deco.cpp
dont_crash_glxgears.cpp
dont_crash_no_border.cpp
dont_crash_useractions_menu.cpp
generic_scene_opengl_test.cpp
generic_scene_opengl_test.h
globalshortcuts_test.cpp
input_stacking_order.cpp
internal_window.cpp
keyboard_layout_test.cpp
keymap_creation_failure_test.cpp
kwin_wayland_test.cpp
kwin_wayland_test.h
kwinbindings_test.cpp
lockscreen.cpp
maximize_test.cpp
modifier_only_shortcut_test.cpp
move_resize_window_test.cpp
no_xdg_runtime_dir_test.cpp
plasma_surface_test.cpp
plasmawindow_test.cpp
platformcursor.cpp
pointer_constraints_test.cpp
pointer_input.cpp
quick_tiling_test.cpp
scene_opengl_es_test.cpp
scene_opengl_test.cpp
scene_qpainter_test.cpp
screen_changes_test.cpp
screenedge_client_show_test.cpp
shade_test.cpp
shell_client_test.cpp Add <number> to Wayland captions if the caption is the same 2017-09-01 17:02:36 +02:00
showing_desktop_test.cpp
start_test.cpp
struts_test.cpp
tabbox_test.cpp
test_helpers.cpp
touch_input_test.cpp
transient_no_input_test.cpp
transient_placement.cpp
window_rules_test.cpp
window_selection_test.cpp
x11_client_test.cpp
xclipboardsync_test.cpp
xwayland_input_test.cpp