Skip to content

Add option to disable selection popup#1649

Open
king6cong wants to merge 1 commit intojohnfactotum:gtk4from
king6cong:add-disable-selection-popup-option
Open

Add option to disable selection popup#1649
king6cong wants to merge 1 commit intojohnfactotum:gtk4from
king6cong:add-disable-selection-popup-option

Conversation

@king6cong
Copy link
Copy Markdown

Summary

  • Add selection-popup boolean key to com.github.johnfactotum.Foliate.viewer schema (default: true)
  • Expose it as a toggle in the book menu alongside "Autohide Cursor"
  • When disabled, selecting text no longer shows the popup toolbar; annotation popovers for existing highlights are unaffected

Toggle via UI

Book menu → "Show Selection Popup"

Toggle via command line

```
gsettings set com.github.johnfactotum.Foliate.viewer selection-popup false
```

Add a `selection-popup` boolean GSettings key (default: true) to the
viewer schema. When disabled, selecting text no longer shows the popup
toolbar; annotation popovers for existing highlights are unaffected.

A toggle is exposed in the book menu alongside "Autohide Cursor".

Can also be set via:
  gsettings set com.github.johnfactotum.Foliate.viewer selection-popup false
@king6cong
Copy link
Copy Markdown
Author

could close #1192

@johnfactotum
Copy link
Copy Markdown
Owner

I think ideally the popup should still be accessible as a context menu when not opened automatically upon selection.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants