D18818: virtualkeyboard: resize the focused window to make room for the keyboard

Marco Martin <[email protected]>
Newsgroups gmane.comp.kde.devel.kwin
Message-ID <[email protected]>
mart created this revision.
mart added reviewers: Plasma, KWin, bshah, graesslin.
mart added a project: KWin.
mart requested review of this revision.

REVISION SUMMARY
  alternative approach: try to resize the winidow to make room for the keyboard.
  the new input wayland protocol doesn't have anymore the overlap rectangle (and it would not be going to work with qwidget apps anyways)
  
  in the future will probably be needed anextension to the input protocol v3 which partially gets back this, tough window resizing is needed regardless
  
  what's missing: the resize should be "temporary" and the window should be restored to its previous geometry when the keyboard closes

TEST PLAN
  tested with test QML code

REPOSITORY
  R108 KWin

BRANCH
  mart/resizeforkeyboard

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

AFFECTED FILES
  virtualkeyboard.cpp
  virtualkeyboard.h

To: mart, #plasma, #kwin, bshah, graesslin
Cc: mart, kwin, davidedmundson, graesslin, jraleigh, GB_2, mkulinski, ragreen, jackyalcine, Pitel, iodelay, bwowk, ZrenBot, ngraham, alexeymin, lesliezhai, ali-mohamed, hardening, jensreuterberg, abetts, sebas, apol
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.