keepassxreboot / keepassxc

KeePassXC is a cross-platform community-driven port of the Windows application “Keepass Password Safe”.
https://keepassxc.org/
Other
21.55k stars 1.48k forks source link

Software keyboard doesn't automatically activate #10818

Open Rob-122 opened 6 months ago

Rob-122 commented 6 months ago

Overview

When I click in the active window in KeypassXC the software keyboard no longer activates when typing the password or after opening in the search field or any other field that I have tried inside keypassxc

Steps to Reproduce

  1. when the app starts I click the type password field
  2. nothing happens

Expected Behavior

on previous versions and any other app when I click with mouse or with finger in any text field the software keyboard "TabTip.exe" automatically brings up the keyboard on screen

Actual Behavior

it no longer brings the software keyboard on screen I have to manually start the keyboard which still works after manual start so it's not a major issue only a slight annoyance

Context

I'm not sure how long this has been an issue for me NOTE: # ( KeePassXC - Version 2.7.8 Revision: f6757d3

Qt 5.15.11 Debugging mode is disabled.

Operating system: Windows 10 Version 2009 CPU architecture: x86_64 Kernel: winnt 10.0.19045

Enabled extensions:

Cryptographic libraries:

Operating System: Windows 10 Version 22H2 Desktop Env: Microsoft Surface Pro Tablet Windowing System: Unsure sorry

droidmonkey commented 6 months ago

Certainly isn't a bug with our program, if anything it would be a Qt bug. However, I suspect this is related to us hiding the window from screen capture. Can you try enabling screencapture by going to View -> Enable Screencapture. Then try this again.

Rob-122 commented 6 months ago

Thanks for the suggestion sadly it didn’t work, not really a big deal I have a keyboard shortcut on my mouse I use for full screen games. Just posted it in case something changed. I’m still very happy with KeepassXC.

Regards Rob

From: Jonathan White @.> Sent: Monday, 27 May 2024 10:19 PM To: keepassxreboot/keepassxc @.> Cc: Rob-122 @.>; Author @.> Subject: Re: [keepassxreboot/keepassxc] Software keyboard won't autoload on Microsoft Surface Pro Windows 10 in latest Version 2.7.8 (Issue #10818)

Certainly isn't a bug with our program, if anything it would be a Qt bug. However, I suspect this is related to us hiding the window from screen capture. Can you try enabling screencapture by going to View -> Enable Screencapture. Then try this again.

— Reply to this email directly, view it on GitHub https://github.com/keepassxreboot/keepassxc/issues/10818#issuecomment-2133580848 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AO5NG2OEFJT27SWCEFMKJ53ZEM6D5AVCNFSM6AAAAABILIMA4GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCMZTGU4DAOBUHA . You are receiving this because you authored the thread. https://github.com/notifications/beacon/AO5NG2OOIZX5CRLLQZW4XCTZEM6D5A5CNFSM6AAAAABILIMA4GWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTT7FPODA.gif Message ID: @.***>

NilsRo commented 2 months ago

@droidmonkey : Have the same issue and it is a little annoying if using my 2in1 or windows tablet in tablet mode. Would be much easier if the virtual keyboards opens. Using 2.8.0 snapshot (2 month old). Is there any way to get it solved?

droidmonkey commented 2 months ago

I haven't a clue why it isn't working

NilsRo commented 2 months ago

Consulted ChatGPT and it should work with QTLineEdit.

https://stackoverflow.com/questions/78729301/windows-11-integrated-virtual-keyboard-not-called-when-clicking-on-qspinbox

QT Bug: https://bugreports.qt.io/plugins/servlet/mobile#issue/QTBUG-127124

#include <QApplication>
#include <QWidget>
#include <QLineEdit>

int main(int argc, char *argv[]) {
    QApplication app(argc, argv);

    QWidget window;
    QLineEdit *lineEdit = new QLineEdit(&window);
    lineEdit->setGeometry(10, 10, 200, 30);

    window.show();
    return app.exec();
}
droidmonkey commented 2 months ago

I've replicated the issue and can also see that it does not happen with a minimal Qt5 app like you proposed. I tried disabling a bunch of stuff in code, I suspect this is happening because of some of our compiler settings at this point.

NilsRo commented 2 months ago

Perhaps it is a real bug like the one linked. But would be nice if it is a compiler setting.