<feed xmlns='http://www.w3.org/2005/Atom'>
<title>unexpected-keyboard/srcs/juloo.keyboard2/Keyboard2View.java, branch main</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/'/>
<entry>
<title>Fix the keyboard drawing behind the navigation bar (#1265)</title>
<updated>2026-05-03T16:10:43+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2026-05-03T16:10:43+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=2e1859fb1a54a1fd91111e761a9d414fcf570f5e'/>
<id>2e1859fb1a54a1fd91111e761a9d414fcf570f5e</id>
<content type='text'>
The width of the navigation was not accounted correctly.

This reverts be8a99bd</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The width of the navigation was not accounted correctly.

This reverts be8a99bd</pre>
</div>
</content>
</entry>
<entry>
<title>Separate colors for pressed vs activated labels (#1193)</title>
<updated>2026-02-25T22:57:39+00:00</updated>
<author>
<name>dzaima</name>
</author>
<published>2026-02-25T22:57:39+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=6a19f7ccd34be0a1e26e64c081de755287460347'/>
<id>6a19f7ccd34be0a1e26e64c081de755287460347</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor: KeyValue constants  (#1180)</title>
<updated>2026-02-18T23:35:14+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2026-02-18T23:35:14+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=ebf80415d8034d853bd79ba7cfb578db67862529'/>
<id>ebf80415d8034d853bd79ba7cfb578db67862529</id>
<content type='text'>
* Refactor: KeyValue constants

Add constants for keys that are accessed from the app's code. This
simplifies the fake pointer handling in Keyboard2View.

* Refactor: Pre-compute action key replacement

The action key and the enter swap are pre-computed in EditorConfig. This
simplifies the code.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Refactor: KeyValue constants

Add constants for keys that are accessed from the app's code. This
simplifies the fake pointer handling in Keyboard2View.

* Refactor: Pre-compute action key replacement

The action key and the enter swap are pre-computed in EditorConfig. This
simplifies the code.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix label color when keys are pressed (#1173)</title>
<updated>2026-02-07T23:33:52+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2026-02-07T23:33:52+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=0109f30e220baadcad92ae69a483cc2c546727fc'/>
<id>0109f30e220baadcad92ae69a483cc2c546727fc</id>
<content type='text'>
The color of labels on a pressed key that were not the label being
activated (eg. the labels on the corners when activating the label in
the centre) was not correct.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The color of labels on a pressed key that were not the label being
activated (eg. the labels on the corners when activating the label in
the centre) was not correct.</pre>
</div>
</content>
</entry>
<entry>
<title>Candidates view</title>
<updated>2025-12-28T16:56:37+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2025-07-27T20:09:45+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=98c1b8db82c0da8f49eb12d18c9001a57009eca5'/>
<id>98c1b8db82c0da8f49eb12d18c9001a57009eca5</id>
<content type='text'>
The `CandidatesView` is implemented as a `LinearLayout` that is divided
horizontally with up to 3 `TextView`. It might in the future contain
buttons on the sides.

The candidate view is nested into the input view rather than using
Android's `setCandidatesView` and callbacks as the API is unreliable and
complicated.

The first suggestion goes in the middle to be more accessible. The
second suggestion goes on the right to be more accessible to the
right-handed, because it must go somewhere.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The `CandidatesView` is implemented as a `LinearLayout` that is divided
horizontally with up to 3 `TextView`. It might in the future contain
buttons on the sides.

The candidate view is nested into the input view rather than using
Android's `setCandidatesView` and callbacks as the API is unreliable and
complicated.

The first suggestion goes in the middle to be more accessible. The
second suggestion goes on the right to be more accessible to the
right-handed, because it must go somewhere.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix various linting issues (#1146)</title>
<updated>2025-12-22T00:27:07+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2025-12-22T00:27:07+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=b40be68773939d3d3b55a819cdfe1d9e9a60bc4e'/>
<id>b40be68773939d3d3b55a819cdfe1d9e9a60bc4e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Disable selection mode in text editors (#1141)</title>
<updated>2025-12-18T18:15:32+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2025-12-18T18:15:32+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=41777fdda61715a59be241f0be9a8e3385222888'/>
<id>41777fdda61715a59be241f0be9a8e3385222888</id>
<content type='text'>
* Disable selection mode in text editors

Selection mode removes the space bar key (which is replaced by the Esc
key) and can be annoying in Emacs for example.
Text editor users probably have the `esc` key available.

* Refactor: Move EditorInfo related code to EditorConfig

Add the new EditorConfig class that handles configuration extracted from
the EditorInfo. It is accessible from the Config class for convenience.

This aims at reducing the length of already large classes and group the
code that was spread over several classes.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Disable selection mode in text editors

Selection mode removes the space bar key (which is replaced by the Esc
key) and can be annoying in Emacs for example.
Text editor users probably have the `esc` key available.

* Refactor: Move EditorInfo related code to EditorConfig

Add the new EditorConfig class that handles configuration extracted from
the EditorInfo. It is accessible from the Config class for convenience.

This aims at reducing the length of already large classes and group the
code that was spread over several classes.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix insets being excluded from computed width (#1127)</title>
<updated>2025-11-10T17:32:41+00:00</updated>
<author>
<name>dzaima</name>
</author>
<published>2025-11-10T17:32:41+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=be8a99bdc6121592cdc7209816e103c824de2f11'/>
<id>be8a99bdc6121592cdc7209816e103c824de2f11</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix very small label size on 11+ columns layouts (#1046)</title>
<updated>2025-08-07T18:07:59+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2025-08-07T18:07:59+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=020e80019b54188837c149b57b3e8140cd32e851'/>
<id>020e80019b54188837c149b57b3e8140cd32e851</id>
<content type='text'>
The label size was computed against the width of keys on the keyboard,
which resulted in a different label size on different layouts.
Notably, it made the labels very small on a 11 columns layout and
relatively larger on the numpad.

The label size is now computed against a baseline of 1/10 of the width
of the screen.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The label size was computed against the width of keys on the keyboard,
which resulted in a different label size on different layouts.
Notably, it made the labels very small on a 11 columns layout and
relatively larger on the numpad.

The label size is now computed against a baseline of 1/10 of the width
of the screen.</pre>
</div>
</content>
</entry>
<entry>
<title>Fix extra bottom margin when navbar buttons absent (#1024)</title>
<updated>2025-07-01T21:27:24+00:00</updated>
<author>
<name>Jules Aguillon</name>
</author>
<published>2025-07-01T21:27:24+00:00</published>
<link rel='alternate' type='text/html' href='https://ps.run/git/unexpected-keyboard/commit/?id=a08db256611a66ca14e085fbd62a8fe352847e89'/>
<id>a08db256611a66ca14e085fbd62a8fe352847e89</id>
<content type='text'>
* Fix extra bottom margin when navbar buttons absent

Fix the extra space that was appearing when the gesture-navigation bar
didn't contain the "switch IME" or "close IME" buttons.
This was found on OneUI 7 with the two "keyboard key" related options
turned off.

* Remove unneeded nav bar detection and width computation</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix extra bottom margin when navbar buttons absent

Fix the extra space that was appearing when the gesture-navigation bar
didn't contain the "switch IME" or "close IME" buttons.
This was found on OneUI 7 with the two "keyboard key" related options
turned off.

* Remove unneeded nav bar detection and width computation</pre>
</div>
</content>
</entry>
</feed>
