D16485: Add button to dynamically resize virtual keyboard

Martin Flöser <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
graesslin created this revision.
graesslin added a reviewer: KWin.
Herald added a project: KWin.
Herald added a subscriber: kwin.
graesslin requested review of this revision.

REVISION SUMMARY
  One of the things I dislike most about our virtual keyboard integration
  is it's size. It's at least on my system covering too much vertical
  space. Unfortuantely the keyboard API does not offer a way to control
  the vertical space - one can only control the width. Thus it's also not
  possible to just provide the keyboard in the optimal size.
  
  This change tries to address the problem by adding a resize button. When
  pressed one can dynamically decrease and increase the width of the
  keyboard and thus also the height.
  
  The button is added to the top/right corner. Ideally it would be added
  to the symbol button row, but either I couldn't find the appropriate API
  hooks or it's not possible.

TEST PLAN
  Started KWin with the change and tested with touch input

REPOSITORY
  R108 KWin

BRANCH
  virtual-keyboard-reduce-size

REVISION DETAIL
  https://phabricator.kde.org/D16485

AFFECTED FILES
  qml/virtualkeyboard/main.qml

To: graesslin, #kwin
Cc: kwin, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol, mart
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.