PrismLauncher/launcher
Mark Deneen bbc94272be Disable tooltips if using gamescope / Steam Deck. (#4096)
* Disable tooltips if using gamescope / Steam Deck.

On a Steam Deck, Prism Launcher's window is scaled to fit the screen.
Whenever a tool tip is shown, it is often display outside of the window,
causing the compositor to scale the view to fit the new bounding box.

This effect is quite jarring, and I don't like it.  This patch adds a
small global event filter which swallows up the tool tip events.  It is
currently not configurable, although I suppose that could be an option.

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Move tooltip filter addition from the Main Window to the Application.

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Add license information to new files

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Remove other authors, they should not have been added in the first place

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Correct the years as well

Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Update launcher/ui/ToolTipFilter.cpp

Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

* Update launcher/ui/ToolTipFilter.h

Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
Signed-off-by: Mark Deneen <mdeneen@gmail.com>

---------

Signed-off-by: Mark Deneen <mdeneen@gmail.com>
Co-authored-by: Alexandru Ionut Tripon <alexandru.tripon97@gmail.com>
(cherry picked from commit 133842d6a8)
2026-01-09 20:14:02 +00:00
..
archive Use multibyte encoding aware libarchive functions when dealing with filenames (#4457) 2025-12-15 08:09:25 -05:00
console feat(ansi-console): Format console with ansi excapes 2025-04-18 00:39:19 -07:00
filelink feat(ansi-console): Format console with ansi excapes 2025-04-18 00:39:19 -07:00
icons fix: icon import with dot in name 2025-06-28 23:34:13 +03:00
include feat: Use pre-compiled headers 2025-12-26 21:41:46 +00:00
java move more zip parsings 2025-11-26 18:40:40 +02:00
launch refactor(MessageLevel): move and rename 'FromLine*' functions 2025-12-11 09:59:33 -07:00
logs chore: Re-simplify IndexVersionType and MessageLevel with c++20 2025-12-11 09:59:33 -07:00
macsandbox Pick out additional fixes, functionality to SecurityBookmarkFileAccess 2025-11-09 14:43:57 -05:00
meta Remove ensure JSON helpers 2025-11-09 21:35:11 +00:00
minecraft Fix oversights and make requested changes 2026-01-06 21:53:30 +00:00
modplatform fix Pre-release filter 2025-12-22 21:45:48 +00:00
net refactor: remove broken Qt includes 2026-01-06 11:06:15 +00:00
news Remove unnecessary QObject:: 2025-06-05 21:41:06 +08:00
resources fix: declare the flame icon like the others in multimc.qrc 2025-11-09 10:43:36 +01:00
screenshots feat: add sink fail reason and correctly propagate it through the NetRequest 2025-05-10 12:16:10 +03:00
settings Use security-scoped bookmarks to keep track of data directory settings on macOS 2025-11-09 14:43:55 -05:00
tasks Reduce usage of [[nodiscard]] attributes 2025-07-07 20:56:29 +01:00
tools Remove usage of SIGNAL/SLOT macro 2025-06-05 21:35:19 +08:00
translations Remove ensure JSON helpers 2025-11-09 21:35:11 +00:00
ui Disable tooltips if using gamescope / Steam Deck. (#4096) 2026-01-09 20:14:02 +00:00
updater use libarchive to extract release files 2026-01-06 12:15:48 +00:00
Application.cpp Disable tooltips if using gamescope / Steam Deck. (#4096) 2026-01-09 20:14:02 +00:00
Application.h Replace getThemedIcon with APPLICATION->logo() 2025-09-19 00:07:05 +01:00
ApplicationMessage.cpp
ApplicationMessage.h
BaseInstaller.cpp
BaseInstaller.h
BaseInstance.cpp Remove some duplicate code 2025-06-05 16:15:29 +08:00
BaseInstance.h Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
BaseVersion.h Make BaseVersion const-correct in order to remove const-cast from Meta::Version 2025-09-17 10:30:00 +01:00
BaseVersionList.cpp
BaseVersionList.h
CMakeLists.txt Disable tooltips if using gamescope / Steam Deck. (#4096) 2026-01-09 20:14:02 +00:00
Commandline.cpp
Commandline.h
DataMigrationTask.cpp Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
DataMigrationTask.h Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
DefaultVariable.h
DesktopServices.cpp revert: "fix(appimage): launch external processes with bundled linker" 2025-12-20 17:48:36 +01:00
DesktopServices.h revert: "fix(appimage): launch external processes with bundled linker" 2025-12-20 17:48:36 +01:00
Exception.h
ExponentialSeries.h
FastFileIconProvider.cpp
FastFileIconProvider.h
FileIgnoreProxy.cpp Properly show shaderpacks in export 2026-01-06 21:53:30 +00:00
FileIgnoreProxy.h Properly show shaderpacks in export 2026-01-06 21:53:30 +00:00
FileSystem.cpp revert: "fix(appimage): launch external processes with bundled linker" 2025-12-20 17:48:36 +01:00
FileSystem.h revert: "fix(appimage): launch external processes with bundled linker" 2025-12-20 17:48:36 +01:00
Filter.h Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
GZip.cpp fix: gzip file parsing as a stream 2025-04-19 00:41:24 +03:00
GZip.h fix: gzip file parsing as a stream 2025-04-19 00:41:24 +03:00
InstanceCopyPrefs.cpp
InstanceCopyPrefs.h Reduce usage of [[nodiscard]] attributes 2025-07-07 20:56:29 +01:00
InstanceCopyTask.cpp Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
InstanceCopyTask.h Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
InstanceCreationTask.cpp Fix file remaingin open after program closure 2024-11-14 13:27:16 +02:00
InstanceCreationTask.h
InstanceDirUpdate.cpp Use CustomMessageBox::selectable 2025-03-31 07:14:09 +08:00
InstanceDirUpdate.h Remove names from header comments 2025-03-27 20:25:30 +08:00
InstanceImportTask.cpp fix curseforge import 2026-01-09 19:24:31 +00:00
InstanceImportTask.h improve archive detection 2025-12-11 12:54:49 +02:00
InstanceList.cpp Validate JSON parsing results 2025-06-02 07:36:53 +08:00
InstanceList.h Delete shortcut when deleting instances 2025-06-01 08:13:18 +08:00
InstancePageProvider.h Merge remote-tracking branch 'upstream/develop' into unused-code 2025-09-19 11:06:34 +01:00
InstanceTask.cpp
InstanceTask.h Reduce usage of [[nodiscard]] attributes 2025-07-07 20:56:29 +01:00
JavaCommon.cpp Merge remote-tracking branch 'upstream/develop' into rework-settings 2025-05-22 23:04:57 +01:00
JavaCommon.h chore:fixed some codeql warnings 2025-03-24 22:25:35 +02:00
Json.cpp Check specifically for GarbageAtEnd error 2025-12-18 21:51:35 +00:00
Json.h Check specifically for GarbageAtEnd error 2025-12-18 21:51:35 +00:00
KonamiCode.cpp
KonamiCode.h
LaunchController.cpp fix: skip asking for offline name when using offline account 2026-01-07 10:26:04 +00:00
LaunchController.h fix(LaunchController): correctly communicate if asking for offline name was successful 2025-12-06 14:37:39 +05:00
Launcher.in chore: simplify Launcher.in quite a bit 2025-12-31 12:25:38 +00:00
LoggedProcess.cpp remove qt5compat 2025-11-27 22:37:31 +02:00
LoggedProcess.h Simplify MessageLevel::Enum -> MessageLevel 2025-12-07 13:15:22 +00:00
main.cpp fix: remove locale forcing as unnecessary 2025-12-14 22:43:22 -07:00
MangoHud.cpp Remove ensure JSON helpers 2025-11-09 21:35:11 +00:00
MangoHud.h
Markdown.cpp
Markdown.h
MessageLevel.cpp refactor(MessageLevel): move and rename 'FromLine*' functions 2025-12-11 09:59:33 -07:00
MessageLevel.h refactor: remove broken Qt includes 2026-01-06 11:06:15 +00:00
MMCTime.cpp refactor: remove broken Qt includes 2026-01-06 11:06:15 +00:00
MMCTime.h
MMCZip.cpp add libarchive as actions dependency 2025-11-26 18:41:22 +02:00
MMCZip.h move more zip parsings 2025-11-26 18:40:40 +02:00
MTPixmapCache.h
NullInstance.h Remove several warnings when building the project 2025-06-02 17:00:13 +08:00
ProblemProvider.h
PSaveFile.h
QObjectPtr.h
qtlogging.ini fix: use after free begone! 2025-04-28 04:49:23 -07:00
QVariantUtils.h
RecursiveFileSystemWatcher.cpp Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
RecursiveFileSystemWatcher.h Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
ResourceDownloadTask.cpp Simplify implementation by removing some unused code 2025-12-09 11:42:17 +00:00
ResourceDownloadTask.h Simplify implementation by removing some unused code 2025-12-09 11:42:17 +00:00
RuntimeContext.h
RWStorage.h
SeparatorPrefixTree.h
StringUtils.cpp refactor: remove broken Qt includes 2026-01-06 11:06:15 +00:00
StringUtils.h
SysInfo.cpp
SysInfo.h chore: fixe some codeql warnings 2025-06-05 00:34:45 +03:00
Usable.h
Version.cpp chore: make all the regexes static const 2025-04-28 22:37:29 +03:00
Version.h Reduce usage of [[nodiscard]] attributes 2025-07-07 20:56:29 +01:00
VersionProxyModel.cpp Replace getThemedIcon with APPLICATION->logo() 2025-09-19 00:07:05 +01:00
VersionProxyModel.h Replace IPathMatcher stuff with Filter 2025-08-04 15:03:22 +01:00
WatchLock.h