Commit Graph

256 Commits

Author SHA1 Message Date
Jehan b5298d0673 etc: smaller default position and size of main image window.
Existing default was requesting a window of size 1024×768 at position
(200,100). While it may seem a reasonable default on nowadays displays,
it was not on some intermediate size displays which are considered HiPPI
anyway.

Taking my personal example, my screen is 2560×1440, which is considered
HiPPI by GNOME 3 with a scale ratio of ×2. As a consequence, setting a
size of 1024×768 was actually creating a window of 2048×1536, which is
already higher than the screen. Worse, gtk_window_resize() resize the
window without taking into consideration the title bar, which in my case
added 74 pixels, so GIMP window started at 1610 pixels of height, much
bigger than my screen size, hence unusable (and for some reason, with
the title bar out of the screen so without knowing Super+click shortcut
to move or Super+Up to maximize, people would have a hard time to resize
or close GIMP).

This issue only happens at the first launch of GIMP, when no user
sessionrc exists yet. Once you resize yourself the main window, then
restart GIMP, it is fine (as next times, it will use the user's
sessionrc). Yet it is already a bad first impression.

For temporary workaround, let's use a smaller 800×600 defaults (which
will actually span on 1600×1200 pixels + decoration size on scale ratio
×2).

Still I don't like using arbitrary numbers for window size default.
As we see here, it can end up into all sort of weird result. Even more
with all the scale ratio business which didn't exist back in GTK+2.
Instead, the defaults should have no size, and our code should just
resize to whatever makes the most sense on the current display, which I
believe should likely be maximized. Unfortunately I have a hard time
with gtk_window_maximize() which doesn't seem to do anything at all
(does GNOME ignore _NET_WM_STATE_MAXIMIZE_* hints when requested by
applications maybe?). So until we find the right system, let's go with
this lower window size defaults at least.
2020-09-27 22:06:22 +02:00
Ell fa53e1433f etc: add a default toolrc file, using tool groups to oragnize the tools
Add a default toolrc file, installed in the sysconf dir, with a
more minimalistic tool layout using groups, inspired by Photoshop
(not identical, though, don't kill me! :)
2020-01-30 02:53:24 +02:00
Jehan 738dab0fce meson: fix relocatable-bundle feature and mypaint-brushes dependency.
It must not be a boolean but a `feature` option, with `auto` by default.
`auto` value mean enabled for macOS and Win32, and disabled for other
cases. This default logics disappeared in the meson build.

Also the mypaint-brushes package is a mandatory dependency, which must
always be checked. Absence is fatale.
Finally properly set the MYPAINT_BRUSHES_DIR macro depending on the
proper relocatable case.
2019-09-21 14:21:00 +02:00
Félix Piédallu 65eff6f150 Meson port. 2019-09-11 16:42:04 +02:00
Michael Natterer 5866e48f8a docs, etc: regenerate system gimprc and its manpage 2018-10-20 11:34:15 +02:00
Michael Natterer a0805e460a Issue #1521 - First time start: GIMP-Error: Error while parsing templaterc
Don't use deprecated "fill-type" value names in the defailt templaterc.
2018-05-29 00:04:31 +02:00
Michael Natterer 21e51d2c0f port gtkrc files to CSS (incompletely and stuff commented out) 2018-05-20 21:06:28 +02:00
Michael Natterer dbd9797a13 Switch to version 2.99/3.0 in a lot of places and depend on GTK+ 3.22
and lots of other newer libraries.
2018-05-20 21:06:26 +02:00
Michael Natterer d568a23aae docs, etc: regenerate the default gimprc and its manpage 2018-05-20 18:45:05 +02:00
Michael Natterer 36586f291a docs, etc: system gimprc and its manpage regenerated 2018-04-27 13:20:59 +02:00
Michael Natterer 93313cd93c docs, etc: system gimprc and manpage regenerated with new setting
(filter-tool-use-last-settings no)
2018-04-17 12:56:39 +02:00
Ville Pätsi cf21dcbe37 Rework and rename the default Dark theme 2018-04-05 23:59:27 +03:00
Jehan 617d0c4550 etc: add 4K Ultra HD template and fix DCI 4K.
The dimension currently set in DCI 4K were rather ones of common 5K.
2018-04-01 23:44:22 +02:00
Michael Natterer 452b1bd558 Stop leaking properties of the distcheck machine into the tarball
Some gimprc properties' default values depend on the machine where
"make dist" in run. We had an ugly hack in place to force
(num-processors 1) in the installed system gimprc and its manpage, but
were still leaking "tile-cache-size" and "mypaint-brush-path".

The files are generated by the hidden options --dump-gimprc-system
and --dump-gimprc-manpage which exist only for this purpose.

In gimpconfig-dump.c, special case the three properties in
dump_gimprc_system() and dump_gimprc_manpage() to output constant
default values for "num-processors" and "tile-cache-size" and
output @mypaint_brushes_dir@ in "mypaint-brush-path" which can
be replaced at configure time.

Also introduce etc/gimprc.in so @mypaint_brushes_dir@ can actually be
substituted for the installed system gimprc.
2018-03-30 13:19:22 +02:00
Michael Natterer 368c7c0511 docs, etc: default gimprc and its manpage regenerated by distcheck 2018-03-27 01:07:28 +02:00
Alexandre Prokoudine b84874a798 Fix the 1280x720 document template 2017-12-23 22:25:29 +03:00
Michael Natterer e2eaf1a02a etc, docs: push changes generated by distcheck 2017-12-12 20:41:01 +01:00
Jehan cc057bfe20 docs, etc: regenerate default gimprc and its manpage.
These were modified after a `make distcheck`.
Push the changes as per devel-docs/release-howto.txt.
2017-12-12 01:40:30 +01:00
Michael Natterer d230ca24c6 docs, etc: regenerate default gimprc and its manpage 2017-08-21 20:34:29 +02:00
Michael Natterer 82e34fb557 docs, etc: regenerated default gimprc and its manpage 2017-07-25 08:13:23 +02:00
Alexandre Prokoudine ceb43bf713 Better typography in template names 2017-06-12 04:46:27 +03:00
Alexandre Prokoudine 1b9fd0315e Remove more obsolete templates 2017-06-12 04:09:48 +03:00
Alexandre Prokoudine 70b389a7b1 Cherry-pick template updates from icons-wip branch by Klaus Staedtler 2017-06-12 03:24:32 +03:00
Jehan f0bd6e7da3 etc: s/gtk-cdrom/media-optical/ and s/gtk-floppy/media-floppy/
Use Freedesktop standard names in priority when possible.
2016-09-04 02:06:19 +02:00
Michael Natterer a802bd2a20 docs, etc: regenerated the default gimprc and the gimprc manpage 2016-07-12 21:08:30 +02:00
Michael Natterer ce741342ce Bug 737570 - Shortcut [some modifier] + Mousewheel for changing pen size
Change the default controllerrc to do some useful things with the
current tool.
2016-03-28 02:01:25 +02:00
Jehan 7fe64b747c app, libgimpwidgets: Dark theme and Symbolic icons as defaults.
These seem the expected theming defaults nowaydays, for a graphics
software, and so GIMP will follow these recommendations.
2016-03-25 20:53:22 +01:00
Jehan 0f67e21c98 themes: rename theme "Default" into "System".
Since we have many themes now, this new name better indicates that it
is meant to follow your desktop theme settings.
Also it will likely not remain the default theme.
2016-03-22 16:37:10 +01:00
Michael Natterer f8d760279c docs, etc: regenerate the default gimprc and the gimprc manpage 2015-12-22 21:28:06 +01:00
Michael Natterer 6c89ed96fd docs, etc: regenerate the default gimprc and its manpage 2015-11-25 18:58:14 +01:00
Michael Natterer e50103ccda Bug 754171 - cmd - missing modifier key to configure input controllers
Don't hardcode modifier masks in the wheel and keyboard input
controllers. Instead, hardcode accelerator strings and get the right
modifier mask from gtk_accelerator_parse() at runtime.

This turns e.g. "<Shift><Primary>" into Shift+Cmd on OS X and into
Shift+Ctrl on X11 and Windows.

Also rename the events accordingly and change the event names in the
default controllerrc.

Unrelated: reorder the actions so the ones with less modifiers are
listed first, and change the order of action matching to match the
actions with most modifiers (the last ones) first.
2015-09-08 23:24:48 +02:00
Michael Natterer 431959df70 etc, docs: regenerate the default gimprc and the gimprc manpage 2015-05-30 23:24:37 +02:00
Michael Natterer 1ff8933496 etc, docs: regenerated the default gimprc and its manpage 2015-04-27 17:41:08 -04:00
Michael Natterer 2d071a086b Bug 674538 - Single Window Mode is not default
New defauilt sessionrc which uses single-window-mode.
2015-01-15 18:58:50 +01:00
Michael Natterer 6c2b0c66bb etc: s/tools-value-1-*/tools-opacity-*/ in the default controllerrc
The actions were renamed a while ago, this change fixes the default
mapping.
2014-09-29 21:57:33 +02:00
Michael Natterer b7d3772b10 docs, etc: update the default gimprc and the gimprc manpage 2014-09-03 22:21:40 +02:00
Michael Natterer 239dbeef64 etc: s/stock-id/icon-name/ in the default templaterc 2014-05-08 09:39:10 +02:00
Michael Natterer 382428773f Changes to generated files due to making dist in 2.8 for the first time 2012-04-03 02:24:14 +02:00
Michael Natterer aeaee84df7 Update generated gimprc files 2012-04-03 00:56:41 +02:00
Michael Natterer 0b97416971 etc: use <Primary> instead of <Control> in the default menurc 2012-02-12 15:09:14 +01:00
Michael Natterer 60defd6c9b Regenerate gimprc.5.in and default gimprc after session property moving 2011-11-05 20:52:17 +01:00
Martin Nordholts 0d17a5c709 Update gimprc 2011-08-12 21:26:01 +02:00
Martin Nordholts 01a52b8d00 Update gimprc 2011-03-10 17:14:39 +01:00
peter sikking, m+mi works 7cb5c67bc8 removing references to ps-menurc 2011-02-06 19:57:59 +01:00
peter sikking, m+mi works 691c0d9e6d Both unsupported in UI and sending all the wrong signals ("GIMP is ps clone"), this file is gone...
Signed-off-by: peter sikking, m+mi works <peter@mmiworks.net>
2011-02-06 18:49:44 +01:00
Martin Nordholts 232adf8eb5 Update gimprc 2010-11-07 15:02:20 +01:00
Sven Neumann 2a67bfcb10 app: document the new display title option 2010-09-30 10:14:43 +02:00
Sven Neumann 8d93dfa923 app: remove xor-color property from gimprc 2010-09-26 23:21:40 +02:00
Martin Nordholts 410d4426e8 Update gimprc 2010-08-16 21:58:14 +02:00
Martin Nordholts 9bc0303ede Regenerate gimprc 2010-06-19 11:08:18 +02:00