@wxy
https://linux.cn/article-15380-1.html
This commit is contained in:
Xingyu Wang 2022-12-25 12:10:31 +08:00
parent e8aa3554bf
commit 60425c91ec
2 changed files with 88 additions and 94 deletions

View File

@ -0,0 +1,88 @@
[#]: subject: "Better Late Than Never! GNOME's File Picker Adds Thumbnail View After 18 Years"
[#]: via: "https://news.itsfoss.com/gnome-file-picker/"
[#]: author: "Sourav Rudra https://news.itsfoss.com/author/sourav/"
[#]: collector: "lkxed"
[#]: translator: "wxy"
[#]: reviewer: "wxy"
[#]: publisher: "wxy"
[#]: url: "https://linux.cn/article-15380-1.html"
虽迟但到GNOME 的文件选取器在 18 年后增加了缩略图视图
======
> 一个长期缺位、也是急需的功能请求,终于通过了!
![][1]
如今,程序的用户界面是非常重要的;即使是最简单的交互也能决定用户的体验。
GNOME 的文件选取器在查看文件时缺乏适当的缩略图预览,而是依赖于一个普通的列表视图。这对许多人来说可能是不直观的。
多年来,缺乏这一功能也成了许多段子和讨论的主题。
但是现在,在最初的 [功能请求][2] 提出 18 年之后GNOME 终于可以支持一个合适的缩略图视图了。
让我们来看看这个即将到来的对 GNOME 文件选取器的改变。
### 该功能将随着 GNOME 44 到来
![GNOME 文件缩略图视图][3]
正如这个由 GNOME 开发者 [Matthias Clasen][4] 提供的早期构建截图所展示的。GNOME 上的文件选取器将具有一个缩略图视图。
这就是它在 GNOME 43 上的样子:
![GNOME 43 的文件选取器][5]
**如何访问它?** 在 GNOME 上文件选取器的网格视图里,可以显示文件和文件夹的缩略图预览。
现在将很容易区分文件管理器中的项目;不再需要打开一个文件来查看它包含的内容了!
![GNOME 文件缩略图视图选取器][6]
当这个功能到来时,你可以通过点击右上方的新视图切换按钮来启用它。
**有什么变化?** 对于一个简单的功能添加来说18 年是一个很长的时间。众多的技术原因使其实施成为一项艰巨的任务。
但我很高兴,它终于来了。😃
使之成为可能的原因之一是最近在 GTK 代码库中进行的废弃和现代化工作。
> 💡 GTK 是 GNOME 的一切的核心的工具箱。
而且,这些变化导致 [GtkListView][7] 和 [GtkGridView][8] 使用相同的数据模型来实现这个功能。
**预期何时?** 这个历史上的 [合并请求][9] 已经被接受,并为其引入 GNOME 铺平道路。
你可以期待它在 2023 年的某个时候与 GNOME 44 一起到来。
我很期待!😁
我们将把它作为 GNOME 44 功能提供的一部分来报道。所以,请继续关注我们的报道吧!
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/gnome-file-picker/
作者:[Sourav Rudra][a]
选题:[lkxed][b]
译者:[wxy](https://github.com/wxy)
校对:[wxy](https://github.com/wxy)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/sourav/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w2000/2022/12/gtk-file-chooser-gets-thumbnail-preview-support.png
[2]: https://bugzilla.gnome.org/show_bug.cgi?id=141154
[3]: https://news.itsfoss.com/content/images/2022/12/GNOME_File_Thumbnail.png
[4]: https://twitter.com/matthias_clasen
[5]: https://news.itsfoss.com/content/images/2022/12/file-picker-now.png
[6]: https://news.itsfoss.com/content/images/2022/12/GNOME_File_Thumbnail-2.png
[7]: https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtklistview.c
[8]: https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkgridview.c
[9]: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5163
[10]: https://mastodon.social/@itsfoss
[11]: https://twitter.com/itsfoss2
[12]: https://notion.grsm.io/front-static/logo-ios.png
[13]: https://www.notion.so/front-static/meta/default.png

View File

@ -1,94 +0,0 @@
[#]: subject: "Better Late Than Never! GNOME's File Picker Adds Thumbnail View After 18 Years"
[#]: via: "https://news.itsfoss.com/gnome-file-picker/"
[#]: author: "Sourav Rudra https://news.itsfoss.com/author/sourav/"
[#]: collector: "lkxed"
[#]: translator: " "
[#]: reviewer: " "
[#]: publisher: " "
[#]: url: " "
Better Late Than Never! GNOME's File Picker Adds Thumbnail View After 18 Years
======
A long-lost request, and a much-needed one, finally made its way through!
![Better Late Than Never! GNOME's File Picker Adds Thumbnail View After 18 Years][1]
Nowadays, the user interface of a program is extremely important; even the simplest of interactions can make or break the user's experience.
The GNOME file picker lacked a proper thumbnail preview for viewing files, instead relying on a plain list view. This may have been unintuitive for many.
The lack of this feature was also the topic of many memes and debates over the years.
But now, finally, after 18 long years since the original [feature request][2] was put out, GNOME is set to receive support for a proper thumbnail view.
Let's look at this upcoming change to GNOME's file picker.
#### Recommended Read 📖
### Feature to Arrive With GNOME 44
![gnome file thumbnail view][3]
As demonstrated by this early build screenshot provided by GNOME developer [Matthias Clasen][4]. The file picker on GNOME is going to feature a thumbnail view.
This is how it looks like with GNOME 43 on board:
![file picker with gnome 43][5]
**How to access it?:** It is a grid view for the file picker on GNOME that shows the thumbnail previews of files and folders.
It will now be easy to differentiate items in the file manager; no more opening a file to see what it contains!
![gnome file thumbnail view selector][6]
When this feature arrives, you can enable it by clicking on the new view toggle button at the top right.
**What Changed?:** 18 years for a simple feature addition is a long time. Numerous technical reasons made the implementation of this an arduous task.
But I am glad that it is finally here. 😃
One of the reasons that made this possible was the recent deprecations and modernization work carried out in the GTK code base.
> 💡 GTK is the toolkit that is at the core of all things GNOME.
And, those changes resulted in [GtkListView][7] and [GtkGridView][8] using the same data models to make this feature work.
**When to expect?:** The historical [merge request][9] has already been accepted and is paving the way for its introduction to GNOME.
You can expect this to arrive with GNOME 44 sometime in 2023.
I'm looking forward to that! 😁
We would be covering it as part of GNOME 44's feature offerings. So, stay tuned to our coverage for that!
_Don't forget to follow us on [Mastodon][10] and [Twitter][11]! Feel free to share your thoughts on this in the comments below._
Notion One workspace. Every team.Were more than a doc. Or a table. Customize Notion to work the way you do.![][12]Notion![][13]
--------------------------------------------------------------------------------
via: https://news.itsfoss.com/gnome-file-picker/
作者:[Sourav Rudra][a]
选题:[lkxed][b]
译者:[译者ID](https://github.com/译者ID)
校对:[校对者ID](https://github.com/校对者ID)
本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译,[Linux中国](https://linux.cn/) 荣誉推出
[a]: https://news.itsfoss.com/author/sourav/
[b]: https://github.com/lkxed
[1]: https://news.itsfoss.com/content/images/size/w2000/2022/12/gtk-file-chooser-gets-thumbnail-preview-support.png
[2]: https://bugzilla.gnome.org/show_bug.cgi?id=141154
[3]: https://news.itsfoss.com/content/images/2022/12/GNOME_File_Thumbnail.png
[4]: https://twitter.com/matthias_clasen
[5]: https://news.itsfoss.com/content/images/2022/12/file-picker-now.png
[6]: https://news.itsfoss.com/content/images/2022/12/GNOME_File_Thumbnail-2.png
[7]: https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtklistview.c
[8]: https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkgridview.c
[9]: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5163
[10]: https://mastodon.social/@itsfoss
[11]: https://twitter.com/itsfoss2
[12]: https://notion.grsm.io/front-static/logo-ios.png
[13]: https://www.notion.so/front-static/meta/default.png