IJHack / QtPass

QtPass is a multi-platform GUI for pass, the standard unix password manager.
https://qtpass.org/
GNU General Public License v3.0
1.03k stars 162 forks source link

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

Open wwp opened 1 year ago

wwp commented 1 year ago

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