After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 775636 - "New folder" creation popover warnings about trailing spaces flashes in an annoying way
"New folder" creation popover warnings about trailing spaces flashes in an an...
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
3.22.x
Other Linux
: Normal normal
: ---
Assigned To: gtk-bugs
Depends on:
Blocks:
 
 
Reported: 2016-12-05 14:10 UTC by Jean-François Fortin Tam
Modified: 2017-07-18 19:12 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
screencast (60.07 KB, video/webm)
2016-12-05 14:10 UTC, Jean-François Fortin Tam
  Details
filechooserwidget: Let the rename entry hexpand (999 bytes, patch)
2017-02-04 09:54 UTC, Timm Bäder
committed Details | Review
filechooserwidget: Add GtkFileChooserErrorStack (19.53 KB, patch)
2017-02-04 09:54 UTC, Timm Bäder
none Details | Review
filechooserwidget: Add GtkFileChooserErrorStack (19.70 KB, patch)
2017-05-09 07:50 UTC, Timm Bäder
committed Details | Review

Description Jean-François Fortin Tam 2016-12-05 14:10:23 UTC
Created attachment 341398 [details]
screencast

See the attached screencast... the filechooser should either not care about these things, or it should size the popover 2-3 times larger, in a way that this text would stop resizing it everytime I type a new word in my folder names (this would have the advantage that I could also see what I'm typing whenever I have a long folder name)
Comment 1 Timm Bäder 2017-02-04 09:54:14 UTC
Created attachment 344920 [details] [review]
filechooserwidget: Let the rename entry hexpand

This makes a difference with other locals where error messages are
longer than the standard width of entry+spacing+button.
Comment 2 Timm Bäder 2017-02-04 09:54:46 UTC
Created attachment 344921 [details] [review]
filechooserwidget: Add GtkFileChooserErrorStack

Showing all the different errors and warnings when renaming and creating
files/folders without potentially resizing popovers on every keystroke
requires us to know the size of the error messages beforehand, so pack
all of the possible error messages and warnings in labels and those into
a stack. This way we can also neatly crossfade transition between them.
Comment 3 Matthias Clasen 2017-02-15 23:17:39 UTC
Review of attachment 344920 [details] [review]:

ok
Comment 4 Matthias Clasen 2017-02-15 23:18:38 UTC
Review of attachment 344921 [details] [review]:

quite a bit of work! thanks
Comment 5 Timm Bäder 2017-05-09 07:50:49 UTC
Created attachment 351408 [details] [review]
filechooserwidget: Add GtkFileChooserErrorStack
Comment 6 Matthias Clasen 2017-07-18 19:11:56 UTC
Attachment 344920 [details] pushed as 20d47e2 - filechooserwidget: Let the rename entry hexpand
Attachment 351408 [details] pushed as 3505e0d - filechooserwidget: Add GtkFileChooserErrorStack