Skip to content

Keyboard occludes InputDialog when addWidget() called #15002

Description

@j-v

Device

Linux (Deb / generic)

KOReader version

2025.10-114

Model and firmware version

No response

Issue description

When displaying an InputDialog with following conditions:

  • buttons are defined
  • use_available_height = true
  • added a widget using inputDialog:addWidget()

The keyboard will occlude the buttons of the InputDialog - calculating available height does not take into account the size of the added widget.

Screenshot showing InputDialog with occluded buttons:

Image After keyboard hidden: Image

Expected behavior:
Keyboard does not occlude the buttons, and the entire InputDialog is visible

Steps to reproduce

  1. Install the following plugin for testing
    inputdialog-test.koplugin.zip
  2. Go to Tools
  3. Click on 'Test input dialog'
  4. Observe Keyboard occludes the buttons of the displayed InputDialog

Log

Additional information

No response

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions