Commit Graph

630 Commits

Author SHA1 Message Date
Hombre
adb2ec1241 Fix font size from FontButton, behave differently from Gtk3.18 vs. 3.20
Gtk3.18 use px unit, Gtk3.20 use pt unit. Font selection does not
necessarily select the correct font where variant exists, expect strange
result. Nothing will be done to fix that.
2016-12-25 17:56:57 +01:00
Hombre
c6c5610333 Bugfix in RTWindow class, better handling of state change (#3446) 2016-12-20 21:45:17 +01:00
Hombre
c7be386c3a Solving issue #3531, assign classes to Gtk::Window and MyWidget
- Curve editor buttons are set to expand by default, but they are set to
shrink as soon as an accompagnying widget is set to expand
- White Balance's method button now has a centered ellipse ("...")
- White Balance's buttons are now aligned on their right
- A "withScrollbar" class is added to MyExpander if the ToolPanel's
vertical scrollbar is visible. This can let you add padding space for
the scrollbar (see #MyExpander.withScrollbar in RT default theme)
- A "maximized" and "fullscreen" class is added to the RTWindow whenever
it change state ; BEWARE: if you maximize the window then make it
fullscreen, Gtk says that the window is in a "maximized & fullscreen"
state, which mean that both class can be added at the same time to the
window.

One Gtk oddity (at least on Windows) is that you can make your window
fullscreen and still drag it around by its header bar... That's not very
practical to click on the unfullscreen button if in Single Editor mode
with vertical Tab.

I also managed to see the window in a Inconified + Maximized state. This
part of Gtk doesn't seem very robust, on Windows at least.
2016-12-20 01:58:37 +01:00
Morgan Hardwood
29af9f3bd3 Merge branch 'gtk3' into gtk3-bugfix 2016-12-19 17:01:39 +01:00
Morgan Hardwood
aead4c5488 Removed TP_DIRPYRDENOISE_LUMAFR_TOOLTIP again. This was removed in
master in commit 0ba62 but somehow slipped through into gtk3.
2016-12-19 17:00:04 +01:00
Hombre
c993906d07 Restoring the FonButton in Preferences (#3540) 2016-12-18 22:50:59 +01:00
Hombre
7de1ec2d66 Merge branch 'gtk3' into gtk3-bugfix 2016-12-18 18:30:58 +01:00
Morgan Hardwood
78ab525330 Merge branch 'master' into gtk3 2016-12-18 18:21:07 +01:00
Beep6581
7fdcc8f172 Review of thumb size defaults, closes #3535 2016-12-18 18:17:52 +01:00
Morgan Hardwood
76314b9422 Merge branch 'master' into gtk3 2016-12-18 17:49:03 +01:00
Beep6581
e5dba2e890 Remove intrusive tooltips, issue #3537 (#3538)
* Remove intrusive tooltips - TP_SHARPENING_TOOLTIP
* Remove TP_SHARPENING_TOOLTIP from default
2016-12-16 11:38:26 +01:00
Hombre
1901f3a440 Fix issue #3173, patch from Floessie in issue #3446 2016-12-13 23:47:13 +01:00
Hombre
a7d4f76364 Merge branch 'gtk3' into gtk3-bugfix 2016-12-13 23:04:25 +01:00
Hombre
e1c5e76c10 Merge branch 'master' into gtk3 2016-12-13 23:00:47 +01:00
Flössie
23f17bd9bc Fully check thumb data size (#3529)
Also, take rotation into account when falling back to
`Thumbnail::loadFromRaw()`.
2016-12-13 20:44:05 +01:00
Hombre
3b3a14bb93 Name added to the History panel and Snapshots treeview (issue #3446)
+ gap added in the File Panel's fast export tab, filter tab and around
History panel.
2016-12-12 21:49:21 +01:00
Hombre
e6aff9cbf7 Tweaked some space here and there, thanks to Beep6581 (issue #3446) 2016-12-12 01:18:27 +01:00
Hombre
1f080e0438 Bugfix: RT could crash while displaying Color Pickers (no issue) 2016-12-11 17:17:36 +01:00
Hombre
6bd0dbacfe Solving isse #3524 2016-12-11 00:23:38 +01:00
Hombre57
f3f317e5bd Issue #3446: Updated Gtk3.18 theme
Harcoded style has been reintroduced for Gtk < 3.20 only ; a cleanup
will have to be done once Gtk3.18 support will be dropped.
2016-12-06 01:33:03 +01:00
Morgan Hardwood
5ecd50b1cd Merge branch 'master' into gtk3 2016-12-05 12:01:45 +01:00
heckflosse
981a534920 Fixes #3517, build fails when using libcairo 1.15 2016-11-29 13:11:42 +01:00
Hombre
8094ce7c99 Solving issue #3483 2016-11-29 01:11:14 +01:00
Hombre
a4703c54b4 Reverted some code to hardcode some style for Gtk3.18 only. 2016-11-26 22:54:41 +01:00
Hombre
6676e3d271 BUGFIX: The selected theme was not necessarilly used. 2016-11-25 22:41:41 +01:00
Hombre
330cd49840 Making the vertical ProgressBar fill bottom up (see #3446) 2016-11-24 23:50:26 +01:00
Hombre
17ff228177 Making the codified theme file name mandatory (#3446)
...which mean that TooWaBlue.css can't be loaded until it has been
reworked and renamed to the new mechanism. The default theme will be
loaded instead.
2016-11-20 12:33:47 +01:00
Hombre
55759c04e3 See #3446: the theme filenames now includes a code for version handling.
The theme filename must use a template, that will be explained with this
example:

mytheme-GTK3-20_22.css

Everything before -GTK3... is the theme (short) name, the [-GTK3-] is a
mandatory part, 20 is the included version where support begins and 22
is the included version where the support ends. One of this two version
parameters can be ommited (but not both of course), which make RT
understand "is compatible from all version up to xx" (e.g.
mytheme-GTK3-_22.css) or "is compatible from version yy and above" (e.g.
mytheme-GTK3-20_.css)

The RawTherapee-GTK3-_19.css comes 'as is' from the gtk3 branch and has
still to be tuned.
2016-11-20 02:22:03 +01:00
Morgan Hardwood
0ebac85970 Non-monospace font for Release Notes. 2016-11-19 18:58:41 +01:00
Hombre
7209f4f1c9 Previous behavior for Profile Panel's combobox size restored
See issue #3300 and #3446.
2016-11-17 20:09:31 +01:00
Hombre
0ab931c287 From issue #3446: remove the "Use system theme" option + slight rework
of the Preferences general panel.
2016-11-17 01:50:03 +01:00
Hombre
2b913bf213 More style fine tuning, including for the Preferences window 2016-11-14 03:06:49 +01:00
Morgan Hardwood
666698dc02 GTK3 fixes, handles issue #3446 and fixes #3495 2016-11-12 20:13:10 +01:00
Hombre
b3167eadce Merge branch 'gtk3' into gtk3-bugfix 2016-11-12 01:19:27 +01:00
Hombre
024905a8ca Merge branch 'master' into gtk3 2016-11-11 23:05:29 +01:00
Hombre
cbd0060bcd Merge branch 'gtk3' into gtk3-bugfix 2016-11-11 21:28:59 +01:00
Hombre
4c26501fd2 Fixing issue #3496 (again) 2016-11-10 01:35:49 +01:00
Hombre
2fcc5b75c8 Solving issue #3497, #3500, #3498 and #3483
For issue #3483, the old behavior is restored, i.e. the minimum width of
the ProfilePanel combobox is the maximum width of its content.

Style updated for the Exif and IPTC sub-tabs
2016-11-09 00:09:52 +01:00
Flössie
25c67ab3c1 Fix some Clang warnings reported by @Partha1b 2016-11-08 20:23:48 +01:00
Flössie
495c0938f4 Fix Clang warnings and build failure on OSX 10.12
Kudos to Partha over at pixls.us for finding and fixing!
2016-11-06 17:09:27 +01:00
Morgan Hardwood
a961325397 Merge commit 'b961e31' into gtk3 2016-11-05 20:43:58 +01:00
Hombre
2bf87d5c5c Fixing issue #3497: "Lockable color picker interacts with info text on
image area"
2016-11-05 19:13:59 +01:00
Hombre
6438645b21 Reverting the "no title when maximized" change, better tab style,
Editor tab icon now correctly set to the left of the label

(see issue #3446)
2016-11-03 00:36:35 +01:00
Hombre
965cadb52e New batch of update for issue 3446
This commit include :
- cleanup rtgui/retinex.cc file (constructor only) and switched to
Gtk::Grid (the new standard) instead of Gtk::Box. This however doesn't
solve the issue of the Transmission curves in the Retinex tool, with
wrong resize of the Frame when folding/unfolding the curves.
- better alignment of the Histogram panel now with 4px of padding on the
left and right side
- Threshold selector now use the Scale's Trough style to draw its box
and sliders
- Curve's background are darker and restricted to the curve diagram
- Diagonal and Flat curves has been converted to Gtk::Grid as well
- A special color is now used for unsensitive Threshold selector and
Sclaes widgets
- Gap around the main Window has been removed on windows to circumvent a
bug in Gtk3, but the window can now only be maximized (usual use case)
or resized vertically by the top border only.
- Buttons at the bottom of the Editor panel has now the same height
2016-11-01 20:39:41 +01:00
Morgan Hardwood
e35e46e0ad Fixes Preferences > Color Management layout, #3488 2016-10-30 20:52:13 +01:00
heckflosse
3ae608d5ca Fixes #3486, gtk3: progress bar remaining blue after processing is annoying 2016-10-30 12:52:30 +01:00
Hombre
e4e474ca8a Merge branch 'gtk3' into gtk3-bugfix 2016-10-28 23:48:22 +02:00
heckflosse
b16ef8d1f5 Merge master into gtk3 2016-10-28 17:59:47 +02:00
Morgan Hardwood
2a2dd2af8b Small fix to Preferences > Default Theme frame, no issue. 2016-10-24 21:04:13 +02:00
Hombre
4d19b97109 More bugfix for Gtk3.22 2016-10-24 01:58:52 +02:00