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 120424 - there should be better defaults
there should be better defaults
Status: RESOLVED FIXED
Product: GIMP
Classification: Other
Component: General
git master
Other All
: Normal enhancement
: 2.0
Assigned To: GIMP Bugs
GIMP Bugs
Depends on:
Blocks:
 
 
Reported: 2003-08-21 22:32 UTC by Jakub Steiner
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: Unversioned Enhancement


Attachments
Patch to add a long dirty flag to title bar. Doesn't change the defaults. (1.40 KB, patch)
2004-01-06 20:14 UTC, Dave Neary
none Details | Review

Description Jakub Steiner 2003-08-21 22:32:14 UTC
Here is a list of default settings that I think should be changed. I'm sure
there's more.

* The transformation tools have "None (Fastest)" as the default. I suggest
Linear
* The Window title/statusbar is "%f-%p.%i (%t)" and "%f-%p.%i (%t)" resp.
It could be something like 

"%f-%p.%i (%t) : %z%%" and 
"%w x %h px (%W%u x %H%u)  :  %l layers  :  %z%%  :  %m" resp

* open recent could list more entries, since it's a 2nd level menu now.
Comment 1 gsr.bugs 2003-08-21 22:44:32 UTC
Title could be "%D*%f[%L]-%p.%i (%t) %z%%", showing active layer
and "dirtiness". Status bar could use less spaces too and not
repeat zoom.
Comment 2 Sven Neumann 2003-08-21 23:48:05 UTC
The default for the transform tools interpolation setting is a bug. It
should default to what's set in the prefs and that's Linear by
default. The code looks fine but for some strange reason, None seems
to be used.
Comment 3 Michael Natterer 2003-08-26 17:47:29 UTC
The bug part if this report is fixed in CVS:

2003-08-26  Michael Natterer  <mitch@gimp.org>

	* app/tools/gimptransformoptions.c
	(gimp_transform_options_class_init): it's GIMP_INTERPOLATION_LINEAR,
	not just GIMP_LINEAR, argh. Fixes part 1 of bug #120424.

The rest is an enhancment request.
Comment 4 Jérôme DESPATIS 2003-09-21 21:58:38 UTC
* zoom ratio :

in each image's title, it would be better to put the zoom ratio

For example, for a new image whose name is foo, the title is:
foo (100%), than if I zoom in the title is foo (200%)

* cancelation

it's possible to cancel the last 5 operations, i think 5 is not
enough, would be nice to have at least 10
Comment 5 Sven Neumann 2003-09-23 13:53:52 UTC
Please note that the semantics of undo-levels has changed in 1.3. It
is now the minimum number of undo levels. As described in the manpage:

    More undo levels are kept available  until the undo-size
    limit is reached.

So it is probably reasonable to keep the default for undo-levels at 5.
We could however discuss to increase the default for undo-size which
is currently set to 1024K.
Comment 6 Sven Neumann 2003-09-23 14:04:27 UTC
2003-09-23  Sven Neumann  <sven@gimp.org>

	* app/config/gimpguiconfig.c: increased the default
	last-opened-size from 4 to 10; increased the max-new-image-size
	from 32M to 64M.
Comment 7 Henrik Brix Andersen 2003-10-12 11:53:28 UTC
I think we should consider changing the default image title/image
statusbar formats as Jimmac suggests at the beginning of this bug report.

I suggest we use Jimmacs suggestion with the following modifications:

Image Title (indicate dirtyness as suggested by gsromero):
%D*%f-%p.%i (%t) : %z%%

Image Statusbar (more compact format, don't show zoom percentage here):
%wx%hpx (%Wx%H%u) : %l layers : %m
Comment 8 Sven Neumann 2003-10-12 12:35:07 UTC
Should we enable perfect-mouse by default?
Comment 9 Henrik Brix Andersen 2003-10-12 18:49:23 UTC
I have never been able to tell the practical difference between
(perfect-mouse yes) and (perfect-mouse no) on my system... I'll leave
that up to you.
Comment 10 Henrik Brix Andersen 2003-10-12 21:12:32 UTC
gsromero was kind enough to teach/show me the difference between the
two modes - having seen this I definately think we should provide
(perfect-mouse yes) as the default setting.
Comment 11 Jakub Steiner 2003-10-12 23:37:22 UTC
I also think pefect cursor should be the default since it was largely
the reason why I thought bug #119423 sucked so bad. If I had it on, I
may have not thought of the lack of redraw as such a drawback.
Comment 12 Henrik Brix Andersen 2003-10-15 18:38:17 UTC
I see that Sven has changed the default title/status bar format in
app/config/gimpdisplayconfig.c version 1.22 - but not to what was
suggested in this bug report?
Comment 13 Sven Neumann 2003-10-15 23:49:44 UTC
Well, there were multiple suggestions here, most of them IMO go too
far and lead to visual clutter. I tried to find a good compromise.
Nothing is final yet though.
Comment 14 Henrik Brix Andersen 2003-10-22 18:25:13 UTC
I like the new defaults except for one thing: the missing 'dirty'
indicator.
Comment 15 Sven Neumann 2004-01-06 13:29:19 UTC
IMHO the dirty indicator is not useful enough to be in the defaults.
The star isn't intuitive and irritates new users. It clutters the
image title and gives not much extra value. GIMP warns you anway if
you attempt to close an image that has been modified. Just my opinion
though...
Comment 16 Henrik Brix Andersen 2004-01-06 14:02:32 UTC
But since 1.2.x users expects the star to be there I consider it a
regression if it isn't there by default.

A compromise would be to add the title from the 1.2.x series
(%D*%f-%p.%i (%t) %z%%) to format_strings[] in
app/gui/preferences-dialog.c under the name "Classic".
Comment 17 Sven Neumann 2004-01-06 14:13:41 UTC
I don't think your suggesting is helpful. "Classic" is as arbitrarily
as "Misc" or "Foobar".

If enough people disagree with me, then we should probably add the
dirty indicator back.
Comment 18 Raphaël Quinet 2004-01-06 16:25:27 UTC
I would also like to have the dirty indicator back, please.  It is
very useful to have it as the first character of the title, especially
when you have several dozen images iconified/minimized and you want to
be able to check (qucikly) which ones need saving.

Having the width and height in the title would also be useful.  In
fact, I think that the status bar should be reserved for transient
messages (such as the size of the current selection, and so on) or for
help messages such as those used in the path tool.  The help messages
should be expanded and used in all tools, so that would replace the
"default" message for the status bar (i.e., the current indications
would not be used anymore).  I know that this is a bit different from
what was suggested in this bug, but I think that it would make the
GIMP easier to use.  Should I open a separate bug report for that, or
is it close enough that we can discuss it here?
Comment 19 Sven Neumann 2004-01-06 16:40:05 UTC
Raphael, what you suggest is completely off-topic and can certainly
not go into a bug report with milestone 2.0.

Please ignore your personal preferences here and think about what the
casual user and newbies will find useful. I doubt the dirty indicator
in the image title counts as such a thing.
Comment 20 gsr.bugs 2004-01-06 17:09:29 UTC
Well, I think the * was nice. In the past I remember it was a
common practice in lots of apps, so you could save the ones
unsaved or discard them, and finally close the rest in one go.
I guess that for the sake of simplicity and less clutter it is
prefered that now you have to slowly go one by one if you want
to be sure.
Comment 21 Raphaël Quinet 2004-01-06 17:40:25 UTC
Sven, please do not be so agressive in your reply.  While the second
part of my comment would be more appropriate for a separate bug report
(and I suggested exactly that), the first part is not really about
personal preferences.  This is a real problem that I have observed when
working with a large number of images.  With the dirty indicator
(default in gimp-1.2), it is easy to see which ones need saving.
Without it, it is necessary to check each image separately.  It is
simply more convenient and it does not cost much in terms of space (one
character).  I haven't seen any users complaining about its presence.
Comment 22 Daniel Rogers 2004-01-06 18:17:41 UTC
I also like the dirty indicator.  Btw, Apple the prince of "doing it
our way and screw your preferences" and duke of "minimalistic,
intuitive interfaces" thought the "dirty" indicator was important
enough to include it in the gui for the close box of every window.
Comment 23 Sven Neumann 2004-01-06 18:22:33 UTC
I am not concerned about the space it takes up. I am concerned about
the fact that the user doesn't have much chance of understanding what
the star is trying to tell her.
Comment 24 Daniel Rogers 2004-01-06 18:51:57 UTC
what about, instead of a star, we put (changed) or some such?
Comment 25 Raphaël Quinet 2004-01-06 19:04:16 UTC
I have seen other programs adding " (modified)" or " (edited)" at the
end of the title.  This is easier to understand but less convenient
than a single star because it takes more space and because it is
displayed at the end instead of the beginning so it may not be displayed
by some WMs if the title (or icon name) is too long.

As I wrote above, I haven't seen reports of users complaining about the
star or asking what it was about, so maybe it is not that hard for
novices to figure out why it is there?
Comment 26 Manish Singh 2004-01-06 19:19:25 UTC
Have both a long form ("(modified)" is what gedit uses, so lets be
consistent) and a short form ("*") for the format string. And default
to the long form, and perhaps put a "Compact" preset in prefs for the
old style.
Comment 27 gsr.bugs 2004-01-06 19:37:54 UTC
Yeah, having current %Dx and some other for long (and I guess
i18n) version would be the wisest compromise.
Comment 28 Dave Neary 2004-01-06 20:14:05 UTC
Created attachment 23029 [details] [review]
Patch to add a long dirty flag to title bar. Doesn't change the defaults.
Comment 29 Henrik Brix Andersen 2004-01-08 14:58:04 UTC
A "long dirty flag indicator" would be a nice addition. The patch
looks good to me.

I still think we per default should have the title bar indicate the
dirty status somehow - but it's not something I wish to keep pushing
to get.
Comment 30 Sven Neumann 2004-01-08 17:15:10 UTC
I thought this was possible already using the %D format string.
Doesn't "%D(modified)" work? If not, perhaps it should do.
Comment 31 Raphaël Quinet 2004-01-08 17:59:22 UTC
You are right, Sven: the %D format was added precisely for doing that.
See bug #5843 for details.

This means that translators would have to translate the whole format
string.  This is the right solution, IMHO.
Comment 32 Henrik Brix Andersen 2004-01-08 18:05:20 UTC
Judging from the code in app/display/gimpdisplayshell-title.c lines
244-254 %D only works with the following char.
Comment 33 Henrik Brix Andersen 2004-01-08 22:08:40 UTC
Partly fixed in CVS HEAD - bumping the patch from bolsh to milestone 2.2.

2004-01-08  Henrik Brix Andersen  <brix@gimp.org>

	* app/config/gimpdisplayconfig.c: added %D* to
	DEFAULT_IMAGE_TITLE_FORMAT.

	Fixes part of bug #120424 - the patch for including a long dirty
	indicator (%B) should be applied for gimp-2.2.
Comment 34 Raphaël Quinet 2004-01-08 22:19:19 UTC
I take back what I wrote above: after thinking a bit more about it, I
am not sure that %D would be the right solution in this case.  It
would require the format string to be translated by the GIMP and
stored in the user's gimprc.  Although this would be fine for strings
defined by the user, this is not a good idea for those that are part
of the default settings because this means that if the user starts the
GIMP for the first time in the C locale and then switches to another
one (or vice-versa), then the whole interface would be translated
except for the message in the title bar because the incorrect
translation would already be in the gimprc.

So I think that Dave's solution would be OK as a special case.  It
could be documented as: %B is a shortcut for %D[(modified)] except
that the "(modified)" message is automatically translated.
Comment 35 Sven Neumann 2004-01-08 22:21:12 UTC
I'd like to see an enhancement request for a long %D format string and
this bug being closed. Would that be doable?
Comment 36 Henrik Brix Andersen 2004-01-08 22:43:07 UTC
The enhancement request for a long dirty indicator is tracked in bug
#130943. Closing this bug as FIXED.