Summary: | Open Recent file list in the file menu is too large which covers the entire screen with no way to go back. | ||
---|---|---|---|
Product: | [Applications] krita | Reporter: | Raghavendra kamath <raghu> |
Component: | Usability | Assignee: | Alvin Wong <alvin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | alvin |
Priority: | NOR | ||
Version: | nightly build (please specify the git hash!) | ||
Target Milestone: | --- | ||
Platform: | Other | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/graphics/krita/commit/ac1d8bd110dab88ed60e67d2c4aec9dea728d89f | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: | screenshot showing the huge recent document list |
Description
Raghavendra kamath
2021-12-21 11:26:49 UTC
Created attachment 144750 [details]
screenshot showing the huge recent document list
Okay, so here is my opinion: - We can limit the items visible from the menu (10 should be good, just like in the past) without limiting the actual maximum stored recent file. - Making the menu scrollable is likely out of the question for being too complicated to implement (if possible at all). - To reduce horizontal space consumption, we can probably remove the full path display from the menu and show it with a tooltip instead. - The recent files menu already shortens the names by putting ellipsis in the middle, but the current limit before shortening is screen width * 0.75. We may consider reducing it further. - In the future, we can add a "More Recent Files..." action to show a pop-up with the full recent files listing and a text box for searching from the list. (Inspiration from VSCode but I'm sure there are other software with similar features.) I like these suggestions. +1 Git commit ac1d8bd110dab88ed60e67d2c4aec9dea728d89f by Alvin Wong. Committed on 29/12/2021 at 10:55. Pushed by alvinwong into branch 'master'. Change recent files menu to show at most 10 items ... regardless of the maxRecentFileItems setting. This matches the previous behaviour before MR !1182. The reason is that, QMenu does not handle too many items in a nice way, and the tall thumbnail plus potentially long paths doesn't help. The current default maxRecentFileItems being 100 is too much for the menu to handle. M +14 -0 libs/widgetutils/config/krecentfilesaction.cpp M +4 -0 libs/widgetutils/config/krecentfilesaction_p.h https://invent.kde.org/graphics/krita/commit/ac1d8bd110dab88ed60e67d2c4aec9dea728d89f Git commit 4c3d3ccb1c9b46ae7f2afc648d45c222dc16af68 by Alvin Wong. Committed on 29/12/2021 at 10:55. Pushed by alvinwong into branch 'master'. Make recent files list show filename only once Remove the filename from the full path to only show the directory path, because the filename is already shown at the front, it was just duplicated information that takes up extra screen space. M +5 -4 libs/widgetutils/config/krecentfilesaction.cpp https://invent.kde.org/graphics/krita/commit/4c3d3ccb1c9b46ae7f2afc648d45c222dc16af68 |