Skip to content

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

@wwp

Description

@wwp

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugpriority: highHigh priority item for next release or hotfix

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions