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

Add option to disable opening a browser window when double-clicking the "URL" column in EntryView.cpp #11332

Conversation

libklein
Copy link
Contributor

@libklein libklein commented Oct 8, 2024

This pull request introduces a new configuration option, OpenURLOnDoubleClick, which allows users to open URLs by double-clicking on the "URL" column.
This changes the behavior as follows:

  • Double-clicking the "URL" column of an entry will open a new browser window unless explicitly configured not to.
  • In this case, double-clicking defaults to the "default" action (i.e., editing).
  • Also changed the double-clicking behavior when no URL is configured. This previously did nothing, but now falls back to editing the entry - regardless of whether the new setting is enabled or not.

The setting can be configured in the "General" tab:
image

Fixes: #11327

Testing strategy

Tested locally.

Type of change

  • ✅ New feature (change that adds functionality)

@droidmonkey
Copy link
Member

droidmonkey commented Oct 8, 2024

Please move the setting up a couple spots right under the "double click field" setting and use the wording: "Open browser on double clicking URL field in entry view"

Also fix the tab ordering

@libklein
Copy link
Contributor Author

libklein commented Oct 8, 2024

Please move the setting up a couple spots right under the "double click field" setting and use the wording: "Open browser on double clicking URL field in entry view"

Done.

Also fix the tab ordering

Sorry, the tab ordering? What are you referring to?

@droidmonkey
Copy link
Member

Just for reference:

image

I fixed it for you and updated translations

@droidmonkey droidmonkey force-pushed the feature/disable-double-click-on-url branch from e97ea50 to 9642ea2 Compare October 8, 2024 23:33
@droidmonkey droidmonkey merged commit 740994e into keepassxreboot:develop Oct 9, 2024
11 checks passed
droidmonkey added a commit that referenced this pull request Oct 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add option to disable opening URL on double click
2 participants