[Win10][Portable][App][Bug] The Ctrl+Alt+P key combination is activated even when Trilium is minimized and unfocused. #7300
-
DescriptionI've been trying to use the Ctrl+Alt+P key combination while working in Figma. It's a key combo that uses last used plugin in Figma. It turns out that this Ctrl+Alt+P key combination is being activated in Trilium even when the Trilium window is unfocused, silently making a new note any time I press it. That's very concerning. What other key combinations might possibly be activating while I'm doing other stuff? I would really hate to accidentally press something and unknowingly delete an entire book's worth of work in Trillium while doing stuff in a different program. Anyone else having this issue? TriliumNext VersionTriliumNotes-v0.97.2-windows-x64 What operating system are you using?Windows What is your setup?Local (no sync) Operating System VersionWindows 10 Pro 21H2 4/29/2021 19044.2728 Windows Feature Experience Pack 120.2212.4190.0 Error logsNo response |
Beta Was this translation helpful? Give feedback.
Replies: 6 comments 1 reply
-
Hi @Notim-Portant! I'm Dosu and I’m helping the Trilium team. Trilium Notes does register Ctrl+Alt+P as a global shortcut on Windows, which creates a new note in your day note even when Trilium is unfocused. This is a built-in feature and is not configurable or disableable through the app’s UI or settings in v0.97.2—changing or disabling it would require editing the app’s code directly. There’s no evidence that other destructive global shortcuts (like deleting notes) are registered by default, but any global shortcut added in code would be active system-wide while Trilium runs. Most other shortcuts are only active when Trilium is focused or are not global by default. For more details, see the official documentation and keyboard shortcut wiki. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
@dosu, why is that a feature? |
Beta Was this translation helpful? Give feedback.
-
The global Ctrl+Alt+P shortcut is meant to let you quickly capture a note into your "day note" from anywhere, even when Trilium isn't focused. The idea is to make it easy to jot down thoughts, todos, or diary entries instantly, without interrupting your workflow or needing to switch windows. The day note acts as a daily inbox and workspace, so this shortcut supports fast, frictionless note-taking as part of Trilium's core workflow philosophy see documentation. That said, this convenience can cause conflicts with other apps, and currently there’s no built-in way to disable or reassign this global shortcut in the UI. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
@dosu, any tips that could help me circumvent the issue? I was really hoping to be able to use Figma and Trilium together without issues. I need both of them. I just wish it at least didn't activate while the app is minimized |
Beta Was this translation helpful? Give feedback.
-
Trilium’s global Ctrl+Alt+P shortcut is hardcoded and always active while the app is running, even when minimized—there’s no built-in way to disable or remap it through settings or config files, and no conditional logic to prevent activation when minimized (source). No other destructive global shortcuts are registered by default, so the risk is limited to note creation. There aren’t any documented third-party solutions for blocking this shortcut just for Trilium, but you could try using a tool like AutoHotkey to intercept Ctrl+Alt+P while Figma is focused. For example, an AutoHotkey script could block or remap that shortcut only when Figma is the active window. If you want help with a sample script, let me know. Other practical options: temporarily quit Trilium when you need to use Ctrl+Alt+P in Figma, or change the Figma shortcut if possible. Disabling the shortcut in Trilium itself would require editing and rebuilding the app’s source code, which is only recommended for advanced users. To reply, just mention @dosu. How did I do? Good | Irrelevant | Incorrect | Verbose | Hallucination | Report 🐛 | Other |
Beta Was this translation helpful? Give feedback.
-
@Notim-Portant , @dosu is only partially right. It correctly described the global shortcuts, but it's incorrect about the fact that the global keyboard shortcut is not adjustable. To change the keyboard shortcut, simply go to Options -> Shortcuts and search for |
Beta Was this translation helpful? Give feedback.
@Notim-Portant , @dosu is only partially right. It correctly described the global shortcuts, but it's incorrect about the fact that the global keyboard shortcut is not adjustable.
To change the keyboard shortcut, simply go to Options -> Shortcuts and search for
global:
, this will reveal all the global hotkeys. By default there's only one, which is Ctrl+Alt+P. You can remove the shortcut completely if you are not using it or change it another combination that does not conflict with Figma.