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>
to make those distinguishable from other highlighted buttons.
The border at the bottom makes it look like a stack of buttons
that will be put into position when tapping the view-changing buttons.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/635>
The "wide"-outline was not highlighted on the default and high
contrast styles, while it was highlighted on the "Adwaita:dark"-style.
"Adwaita:dark" is the default on Phosh, so adjust to that, for
consistent button-highlighting.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/634>
Before this change, buttons with the outlines "altline",
"wide" and "special" were not showing visual feedback when those
were pressed.
After this change, the visual feedback is similar to the default style.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/634>
It is rectangular now,
there are less layout-changes when switching views,
and some commonly used symbols are more easily available.
Before this change, the arrangement of the keys was different between
the normal layout and the wide layout.
The wide layout can now move to the "eschars"-view, like the normal layout.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/627>
Currently this differs for the same view-change-keys in different layouts.
When the text is "abc", the size of the key's text changes
when toggling between "123" and "abc"; with the text "ABC",
the size remains about the same.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/611>
A big letter after a small letter looks incorrect on a keyboard,
because that is not normal German grammar and a keyboard is for
inputting text.
The key is also on the left side of the layout,
which makes äÄ not fit the visual flow.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/611>
The altline-outline is primarily meant to be used for keys
that change the view, which is what these keys do.
Also changing it on the actions-view would make the layout not align
well anymore, as it is currently not possible to have 2 different
sizes with the altline-styling.
Part-of: <https://gitlab.gnome.org/World/Phosh/squeekboard/-/merge_requests/601>
This add the X-GNOME-* bits that are currently shipped in
sm.puri.OSK0.desktop allowing distributions to drop this file and make
it a plain symlink to sm.puri.OSK0.desktop.
If squeekboard is used in another context that doesn't use gnome-session
the entries have no effect.