68 Commits

Author SHA1 Message Date
Ingo Weyrich
e682b364b5 Further reduction of include dependencies 2019-11-01 14:51:33 +01:00
Ingo Weyrich
068847eb5a Further cleanup of include dependencies 2019-10-29 21:06:27 +01:00
Morgan Hardwood
60b2196bce Updated gnu.org links to use HTTPS 2019-09-10 12:34:57 +02:00
Andy Dodd
a060b57ff6 rtgui/thumbbrowserbase - Improve behavior with smooth scrolling devices
Devices such as trackpads will emit smooth scrolling (GDK_SMOOTH_SCROLL) events with
deltas smaller than +/-1.0 at high frequency.

Quantizing these to +/-1.0 leads to significant amplification of scroll speed to the point
of unusability

Scroll by delta instead of +/-1.0 in these cases, permitting smooth scrolling through thumbnails

Some mice emit GDK_SMOOTH_SCROLL with deltas of +/-1.0 per detent.  This patch will not change behavior
with such devices.  However, if any mice emit deltas of smaller magnitude, the per-detent behavior will
change.
2019-08-30 16:55:29 -04:00
Ingo Weyrich
4bf4b818c0 cppcheck fixes 2019-08-08 13:41:14 +02:00
Ingo Weyrich
c82aafb748 Merge branch 'dev' into filebrowser-catalog-speedups 2019-07-30 16:16:46 +02:00
Ingo Weyrich
f85de946e6 Fix some corner cases in thumb selection, #5393 2019-07-30 14:44:18 +02:00
Ingo Weyrich
6b868a8d4d Make thumbnail range-selection more similar to OS behaviour, fixes #5393 2019-07-30 13:22:15 +02:00
Ingo Weyrich
287bd5bbe3 boolean > bool 2019-07-29 23:05:01 +02:00
Ingo Weyrich
0f0dc03849 Fix broken thumbnail butto tooltips 2019-07-29 15:21:23 +02:00
Ingo Weyrich
e748f42427 Some code cleanups 2019-07-27 21:26:00 +02:00
Ingo Weyrich
de963c54de Further speedups for filebrowser/catalog 2019-07-27 17:39:16 +02:00
Ingo Weyrich
1320791052 Backwards thumbnail selection using Shift-key unexpectedly shifts starting point of selection, fixes #5389 2019-07-27 11:40:01 +02:00
Morgan Hardwood
a9edbcf47b Improve page-up/down scrolling in File Browser
Patch by Ingo
2019-07-25 14:11:40 +02:00
Morgan Hardwood
4cbc2a9091 Fix missing filename tooltip
When hovering over a thumb which has characters in its filename which
are used in markup, such as '&', the tooltip was missing, due to the
ampersand being parsed as markup. Now the filename is treated as plain
text.
2019-07-25 12:04:45 +02:00
Morgan Hardwood
a6b1eb46fd Filmstrip horizontal scroll rate
When scrolling with the mouse scroll-wheel while hovering over a
thumbnail in the Filmstrip, now it scrolls by an amount equal to
the first thumb's width. Previously it used the height.
Spotted by Ingo.
2019-07-25 11:49:17 +02:00
Ingo Weyrich
cbb3f05b7e use empty() instead of comparison with an empty string 2019-07-22 13:49:08 +02:00
Ingo Weyrich
bbdd774afb Further speedups for filebrowser 2019-07-17 21:29:24 +02:00
heckflosse
bd2ee13e7b revert commit 6e364e4, fixes #5308 2019-04-25 21:09:35 +02:00
heckflosse
6e364e4c80 First doubleclick on an image after starting rt does not open the image. Patch provided by @Pandagrapher, fixes #5294 2019-04-22 21:18:44 +02:00
Hombre
97824da6de Histogram and Navigator now handle Hi-DPI.
+ widgets are now sized depending on Hi-DPI
see issue #3547
2019-01-04 15:32:35 +01:00
Hombre
78fa7dc063 SHCSelector, ThresholdSelector, LabGrid and Curves now handles HiDPI
see issue #3547
2019-01-02 18:04:58 +01:00
Hombre57
7e01976ab2 Bugfix and cleanup
See issue #3547
2018-12-14 01:05:11 +01:00
Hombre
7ab3893b2b Merge branch 'dev' into hidpi-icons 2018-12-09 00:13:01 +01:00
heckflosse
2ec094b1ce remove special windows code, #5058 2018-12-03 13:30:51 +01:00
Hombre
434e121f99 Merge branch 'dev' into hidpi-icons 2018-11-29 00:15:57 +01:00
heckflosse
d06e26356b Fix scrolling in wrong direction when using mouse wheel in filebrowser, #5036 2018-11-27 19:54:26 +01:00
heckflosse
e7a04bb77e Fix coverity issues 2018-11-20 21:23:37 +01:00
Hombre
785a0e6a46 Merge branch 'dev' into hidpi-icons 2018-10-25 20:43:41 +02:00
Hombre
4eb8a8f70c Adding HiDPI support (WIP) 2018-10-25 20:22:33 +02:00
Hombre
8a18300a76 Removing debug printf (no issue) 2018-10-15 23:13:57 +02:00
Hombre
0d61f14bae Added support for GDK_SCROLL_SMOOTH in some widgets
see #4781, #4786
2018-09-15 21:14:48 +02:00
heckflosse
bb9e7c5d66 Filmstrip height not high enough after latest dev, fixes #4655 2018-07-02 11:03:19 +02:00
Thanatomanic
cccfb02b51 Hide scrollbar if necessary 2018-07-01 15:53:29 +02:00
Thanatomanic
fc79968108 Sanity checks for height, horizontal thumb browser automatically scales. 2018-07-01 15:52:21 +02:00
Thanatomanic
3d7772d0c6 The scrolling distance now takes into account the effective height of the thumbnail (including exif if necessary) 2018-07-01 13:47:42 +02:00
Thanatomanic
b5310d4bc6 Scrolling speed changed to height of thumbnail.
This works really well in the browser. Horizontal scrolling has the same speed, which works reasonably well too (unless you have images with abnormal aspect ratio's).
2018-07-01 09:36:38 +02:00
Hombre
bf6702fa56 Scroll wheel (and possibly touchpad) better handled, see #3923 2018-03-23 23:21:05 +01:00
heckflosse
57adea62cc Small optimization in ThumbBrowserBase::arrangeFiles() 2017-07-07 21:31:05 +02:00
Flössie
30ef9092c4 Additional cleanups for ThumbBrowserBase::arrangeFiles() 2017-07-07 20:51:07 +02:00
Flössie
c792facb73 Fix filtered horizontal thumbs
Take two images, the first in portrait, the second in landscape
orientation. Mark the second with a red dot and filter for red.
Now open that image in SETM. The top tumb is too slim.
2017-07-07 20:26:10 +02:00
heckflosse
ebbb44c3f5 Cleanup for last commit 2017-06-25 21:42:43 +02:00
heckflosse
8aff354df9 Fix some coverity and cppcheck issues 2017-06-18 18:40:40 +02:00
heckflosse
18076077c0 Fix some coverity issues 2017-06-14 13:50:46 +02:00
Alberto Griggio
4ef3fc16de fixed warnings in rtgui/thumbbrowserbase.cc 2017-04-01 13:38:38 +02: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
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
Hombre
b2af94ac74 More bugfix to the Gtk3 RawTherapee theme, see issue #3446 2016-10-22 02:13:50 +02:00
Hombre
f6a9e13297 New batch of Theme bugfix, see issue #3446 (still WIP) 2016-10-20 22:38:37 +02:00