This workaround makes Squeekboard use the wide shape on more devices.
On many devices with wide screens, which should use the wide shape
for layouts while in horizontal orientation, the compact shape was
used instead.
In particular, 5" large displays with an aspect-ratio of 16:9,
which are relatively common, were using the compact shape.
This workaround has the side-effect of allowing for more empty space
above and below the wide shape, to fit the layout into the available area.
The buttons on displays where this would be noticeable,
should still be larger than before.
To find an appropriate point for switching between the shapes without
having the relevant displays to test with,
one can create an image sized according to the device's display-resolution
and pixel-density, place a line representing the height of Squeekboard
(based on the scaling-tests), paste images of compact and wide
layout-shapes into the area and scale them appropriately,
set the image-viewer to show the image according to physical size,
and then compare which one fits better.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/639>
Some of the build-dependencies that were installed from Debian Unstable
as a workaround, are not available anymore.
Until that issue has been solved properly, allow the `build_deb`-CI-job
to fail, so that merge-requests can still be merged.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/653>
An input-device should generally not change shape/functionality during use,
unless there is a good reason for that and it is clearly indicated
when that happens, as otherwise it will be more complicated
and exhausting to use, and learn to use, the input-device.
To improve that, this commit will:
- Make it so that the space-bar, view-switching buttons, backspace-button,
and return-button will not move around when switching views.
- Add placeholder-buttons and/or stretch buttons to fill gaps.
- Remove buttons that are duplicated in the same view.
- Add buttons for entering commas, on the base-views of some layouts.
- Make the shape of layouts fit into a rectangular space; usually
without empty space.
- Align layouts more closely to the expected aspect-ratios, to reduce
changes when switching between languages, and use more of the available
space.
Other changes:
- `.`-buttons are generally not highlighted anymore.
- On the layouts `gr` and `gr+polytonic`, the highlighting for punctuation
has been switched to `subtle-highlight` from `special`, so those can be
visually distinguished from buttons with special functionality.
- The Spanish characters `ñ` and `Ñ` on the `French (Swiss)`-layout (ch+fr)
were making the layout wider than it should be.
As there was no other appropriate place for those buttons,
and the layout is meant for entering French, not Spanish,
those buttons have been removed from the layout.
Some layouts have been changed much:
- gr+polytonic (which requires more work, but it is much more usable now)
- ir
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/646>
- The button-styling has been adjusted, to make it easier to visually
distinguish the view-changing buttons that switch to views with
buttons for entering hiragana, katakana, symbols, and Latin letters.
- Easier switching between hiragana and katakana,
and between symbols and punctuation.
- Added more placeholders to prevent layout-shifting.
- The base-shape is now sized properly on a 6" large display
with a resolution of 720x1440 (PinePhone), without empty
space next to it.
- The wide shape is now wider.
- The symbols- and punctuation-views switch back to the
katakana-view when opened from it and "unlocking" the view
by tapping multiple times on the view-changing button,
instead of showing the hiragana-view.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/644>