虽迟但到！GNOME 的文件选取器在 18 年后增加了缩略图视图
缩略图 GNOME

> 
> 一个长期缺位、也是急需的功能请求，终于通过了！
> 
> 
> 


![](/data/attachment/album/202212/25/120757n0fj9w983j9h6j9a.png)


如今，程序的用户界面是非常重要的；即使是最简单的交互也能决定用户的体验。


GNOME 的文件选取器在查看文件时缺乏适当的缩略图预览，而是依赖于一个普通的列表视图。这对许多人来说可能是不直观的。


多年来，缺乏这一功能也成了许多段子和讨论的主题。


但是现在，在最初的 [功能请求](https://bugzilla.gnome.org/show_bug.cgi?id=141154) 提出 18 年之后，GNOME 终于可以支持一个合适的缩略图视图了。


让我们来看看这个即将到来的对 GNOME 文件选取器的改变。


### 该功能将随着 GNOME 44 到来


![GNOME 文件缩略图视图](/data/attachment/album/202212/25/120758i13x1979vvdt1dpt.png)


正如这个由 GNOME 开发者 [Matthias Clasen](https://twitter.com/matthias_clasen) 提供的早期构建截图所展示的。GNOME 上的文件选取器将具有一个缩略图视图。


这就是它在 GNOME 43 上的样子：


![GNOME 43 的文件选取器](/data/attachment/album/202212/25/120758lo00trt2ettt05t0.png)


**如何访问它？** 在 GNOME 上文件选取器的网格视图里，可以显示文件和文件夹的缩略图预览。


现在将很容易区分文件管理器中的项目；不再需要打开一个文件来查看它包含的内容了！


![GNOME 文件缩略图视图选取器](/data/attachment/album/202212/25/120759gdybx4e9dkqkr8q4.png)


当这个功能到来时，你可以通过点击右上方的新视图切换按钮来启用它。


**有什么变化？** 对于一个简单的功能添加来说，18 年是一个很长的时间。众多的技术原因使其实施成为一项艰巨的任务。


但我很高兴，它终于来了。?


使之成为可能的原因之一是最近在 GTK 代码库中进行的废弃和现代化工作。



> 
> ? GTK 是 GNOME 的一切的核心的工具箱。
> 
> 
> 


而且，这些变化导致 [GtkListView](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtklistview.c) 和 [GtkGridView](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkgridview.c) 使用相同的数据模型来实现这个功能。


**预期何时？** 这个历史上的 [合并请求](https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5163) 已经被接受，并为其引入 GNOME 铺平道路。


你可以期待它在 2023 年的某个时候与 GNOME 44 一起到来。


我很期待！?


我们将把它作为 GNOME 44 功能提供的一部分来报道。所以，请继续关注我们的报道吧！




---


via: <https://news.itsfoss.com/gnome-file-picker/>


作者：[Sourav Rudra](https://news.itsfoss.com/author/sourav/) 选题：[lkxed](https://github.com/lkxed) 译者：[wxy](https://github.com/wxy) 校对：[wxy](https://github.com/wxy)


本文由 [LCTT](https://github.com/LCTT/TranslateProject) 原创编译，[Linux中国](https://linux.cn/) 荣誉推出


OK
![](/assets/images/pikapods-banner-v3.webp)


![](/assets/images/pikapods-banner-v3.webp)

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](https://bugzilla.gnome.org/show_bug.cgi?id=141154&ref=news.itsfoss.com) 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 📖

[‘Don’t be Afraid to Contribute’: Mirko Brombin Talks about Vanilla OS and Other Future ProjectsA conversation with Mirko Brombin, founder of Vanilla OS and Bottles creator.](https://news.itsfoss.com/interview-mirko-brombin/)![](https://news.itsfoss.com/content/images/2022/12/interview-with-mirko-brombin.png)


![](https://news.itsfoss.com/content/images/2022/12/interview-with-mirko-brombin.png)

## Feature to Arrive With GNOME 44

![gnome file thumbnail view](https://news.itsfoss.com/content/images/2022/12/GNOME_File_Thumbnail.png)

As demonstrated by this early build screenshot provided by GNOME developer [Matthias Clasen](https://twitter.com/matthias_clasen?ref=news.itsfoss.com). 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](https://news.itsfoss.com/content/images/2022/12/file-picker-now.png)

**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](https://news.itsfoss.com/content/images/2022/12/GNOME_File_Thumbnail-2.png)

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.

And, those changes resulted in [GtkListView](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtklistview.c?ref=news.itsfoss.com) and [GtkGridView](https://gitlab.gnome.org/GNOME/gtk/-/blob/main/gtk/gtkgridview.c?ref=news.itsfoss.com) using the same data models to make this feature work.

**When to expect?: **The historical [merge request](https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/5163?ref=news.itsfoss.com) 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 and Twitter! Feel free to share your thoughts on this in the comments below.*

[Notion – One workspace. Every team.We’re more than a doc. Or a table. Customize Notion to work the way you do.](https://notion.grsm.io/itsfoss?ref=news.itsfoss.com)![](https://www.notion.so/front-static/meta/default.png)


![](https://www.notion.so/front-static/meta/default.png)

## More from It's FOSS...

- Support us by opting for
[It's FOSS Plus](https://itsfoss.com/#/portal/signup)membership. - Join our
[community forum](https://itsfoss.community/). - 📩 Stay updated with the latest on Linux and Open Source. Get our
[weekly Newsletter](https://itsfoss.com/newsletter/).