Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGuiApplication's supported command-line parameters are taken for a password search request #652

Open
wwp opened this issue Sep 14, 2023 · 0 comments
Labels

Comments

@wwp
Copy link

wwp commented Sep 14, 2023

Describe the bug
When passing QGuiApplication's supported command-line parameters (at least in Linux), QGuiApplication behaves as expected (-geometry is applied, etc.) but Qtpass ends up treating those parameters as if they were search arguments.

To Reproduce
Steps to reproduce the behavior:

  1. run this from a terminal
    $ qtpass -geometry 200x100
    All other command-line params managed by QGuiApplication do the same (-qwindowtitle, ..).
  2. the main window geometry is set as expected to 200x100
  3. qtpass searches for a "-geometry 200x100" password.

Expected behavior
Command-line arguments supported by QGuiApplication should be treated then removed from the command-line (or ignored when Qtpass tread then after), not taking them for a password search request.

Desktop

  • 1.3.2 / 1.4.0-rc2 compiled from the sources using Qt5 on a Rocky Linux 9 x86_64.
@wwp wwp added the bug label Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant