Feed Advanced Search

Aug 1 2018

rkflx added a comment to D9342: Make sure, a newly saved image is selected in ContextManager.

Added modifications from P250 by rkflx

Aug 1 2018, 4:01 PM
rkflx added a comment to D9342: Make sure, a newly saved image is selected in ContextManager.

Okay, here's my patch (don't laugh, I know it looks fishy):

1diff --git a/lib/contextmanager.cpp b/lib/contextmanager.cpp
2index b04e4026..2243ea99 100644
3--- a/lib/contextmanager.cpp
4+++ b/lib/contextmanager.cpp
5@@ -348,7 +348,6 @@ void ContextManager::selectUrlToSelect()
6 // and manually set current URL
7 d->mSelectionModel->clearSelection();
8 setCurrentUrl(d->mUrlToSelect);
9- d->mUrlToSelect.clear();
10 }
11 }
12
13diff --git a/lib/documentview/documentview.cpp b/lib/documentview/documentview.cpp
14index fa9d3f5b..ee8dd85e 100644
15--- a/lib/documentview/documentview.cpp
16+++ b/lib/documentview/documentview.cpp
17@@ -464,6 +464,10 @@ DocumentView::DocumentView(QGraphicsScene* scene)
18 d->setCurrentAdapter(new EmptyAdapter);
19
20 setAcceptDrops(true);
21+
22+ connect(DocumentFactory::instance(), &DocumentFactory::documentChanged, this, [this]() {
23+ d->updateCaption();
24+ });
25 }
26
27 DocumentView::~DocumentView()

Aug 1 2018, 4:57 AM
rkflx updated the title for P250 P170 replacement from untitled to P170 replacement.
Aug 1 2018, 4:55 AM

Jul 31 2018

rkflx committed R241:9829d0ef9e74: Top-align labels in properties dialog (authored by rkflx).
Top-align labels in properties dialog
Jul 31 2018, 5:55 PM
rkflx closed D14501: Top-align labels in properties dialog.
Jul 31 2018, 5:55 PM · Frameworks
rkflx added a comment to D14501: Top-align labels in properties dialog.

Just realized this actually fixes a problem present in KDE 3 already (KDE 2 did not have the second line yet, as far as I could tell in a short but very interesting test).

Jul 31 2018, 5:55 PM · Frameworks
rkflx triaged T9297: Polish file/folder properties dialog as Low priority.
Jul 31 2018, 5:54 PM · Frameworks
rkflx added a comment to D10427: Fix drag-and-drop to Chromium.

Drag-and-drop to the Desktop still works

Jul 31 2018, 5:53 PM
rkflx added a comment to D13249: Refine behaviour for dragging modified images to external applications.

Thanks for investigating!

Jul 31 2018, 5:53 PM

Jul 30 2018

rkflx requested review of D14501: Top-align labels in properties dialog.
Jul 30 2018, 10:19 PM · Frameworks
rkflx added a comment to D14491: [Draft] sRGB-aware resizing for gwenview.

I knew I came across this link before, and indeed, we have a bug about this: https://bugs.kde.org/show_bug.cgi?id=228934. Quote:

Jul 30 2018, 8:19 PM · Gwenview
rkflx added a reviewer for D14491: [Draft] sRGB-aware resizing for gwenview: Gwenview.

Hi, thanks for your contribution.

Jul 30 2018, 7:43 PM · Gwenview
rkflx added a comment to D14485: [Draft] Set zoom cursor in edit tools while Ctrl is pressed.

Thanks for the patch.

Jul 30 2018, 7:43 PM · Gwenview
rkflx added a comment to D13249: Refine behaviour for dragging modified images to external applications.

Gwenview, we have a problem:

Jul 30 2018, 7:43 PM
rkflx added a comment to D9342: Make sure, a newly saved image is selected in ContextManager.

Short report on this issue: I worked pretty hard on this the last weekend and also the weeks before. Every time I think I got it, there is one minor detail breaking everything again. There must be a way to eliminate mDirListerFinished (and meanwhile I also suspect mUrlToSelect can and should go), however I still have not found it :/

Jul 30 2018, 7:43 PM
rkflx committed R260:53abefd612fb: Add shortcut for Red Eye Reduction tool (authored by rkflx).
Add shortcut for Red Eye Reduction tool
Jul 30 2018, 7:41 PM
rkflx closed D14475: Add shortcut for Red Eye Reduction tool.
Jul 30 2018, 7:41 PM
rkflx added a comment to D14449: Modify device usage information.
Device capacity: 94.4 Gib
Device usage:    ==------ 24% full (71.9 GiB free, 22.5 GiB used)

Could you give this a try with screenshot?

Jul 30 2018, 5:55 PM · Frameworks
rkflx added a comment to D14449: Modify device usage information.

Here's another idea for how to express everything while remaining compact in the horizontal dimension:

Device capacity: ====---------- 24% full
                 22.5 GiB used, 71.9 GiB free
                 94.4 Gib total size
Jul 30 2018, 5:08 AM · Frameworks
rkflx requested review of D14475: Add shortcut for Red Eye Reduction tool.
Jul 30 2018, 4:57 AM

Jul 29 2018

rkflx added a comment to D14449: Modify device usage information.
Device capacity: 94.4 Gib
Device usage:    ==------ 24% full (71.9 GiB free, 22.5 GiB used)
Jul 29 2018, 5:18 PM · Frameworks
rkflx committed R260:fc51bc201bef: Improve wording for red eye reduction (authored by rkflx).
Improve wording for red eye reduction
Jul 29 2018, 5:14 PM
rkflx closed D14407: Improve wording for red eye reduction.
Jul 29 2018, 5:14 PM
rkflx added a comment to D13901: Touch support for Gwenview.

Awesome. I'll look at it soon (but not sure how much time I can spend during the week, so please bear with me…).

Jul 29 2018, 5:12 PM · Gwenview
rkflx added a comment to D14407: Improve wording for red eye reduction.

Use "Reduce Red Eye" for now.
I guess "Fix Red Eye" or "Correct Red Eye" would also be fine, I cannot really make up my mind. @ngraham Let me know if you prefer one of those.

Jul 29 2018, 3:33 PM

Jul 28 2018

rkflx committed R260:4acdc4d2886c: Fix integer underflow warning in ImageMetaInfoModel (authored by rkflx).
Fix integer underflow warning in ImageMetaInfoModel
Jul 28 2018, 9:47 PM

Jul 27 2018

rkflx added projects to T9273: Announcement text for the Applications 18.08 release: Gwenview, Spectacle.
Jul 27 2018, 7:33 PM · KDE Promo, KDE Applications
rkflx added a comment to R260:28754fa2d95e: Use QStringLiteral/nullptr/override.

Checked this now more thoroughly. There are a couple of unrelated changes that sneaked in, but it's mostly fine I guess.

Jul 27 2018, 5:56 PM · Gwenview
rkflx updated the test plan for D14407: Improve wording for red eye reduction.
Jul 27 2018, 10:08 AM
rkflx accepted R260:28754fa2d95e: Use QStringLiteral/nullptr/override.

@lbeltrame fixed it for @mlaurent in 1cab13f0970f – Thanks.

Jul 27 2018, 10:05 AM · Gwenview
rkflx committed R260:034a61ea83ac: Merge remote-tracking branch 'origin/Applications/18.08' (authored by rkflx).
Merge remote-tracking branch 'origin/Applications/18.08'
Jul 27 2018, 10:04 AM
rkflx committed R260:72d5aedf283a: Remove crosshair cursor from crop tool (authored by rkflx).
Remove crosshair cursor from crop tool
Jul 27 2018, 10:04 AM
rkflx closed D14406: Remove crosshair cursor from crop tool.
Jul 27 2018, 10:04 AM
rkflx added a comment to D14406: Remove crosshair cursor from crop tool.

I tested a couple of situations in crop tool witch your first patch but never noticed the cross hair cursor until you pointed it out.

Jul 27 2018, 10:03 AM
rkflx updated the test plan for D14406: Remove crosshair cursor from crop tool.
Jul 27 2018, 10:03 AM
rkflx updated the diff for D14407: Improve wording for red eye reduction.

Use "Reduce Red Eye" for now.

Jul 27 2018, 10:02 AM

Jul 26 2018

rkflx updated subscribers of R260:28754fa2d95e: Use QStringLiteral/nullptr/override.

@muhlenpfordt Did you get a notification about my last comment here? If not, perhaps you should consider adding yourself as a "Watcher" of the project…

Jul 26 2018, 7:05 PM · Gwenview
rkflx added a project to R260:28754fa2d95e: Use QStringLiteral/nullptr/override: Gwenview.

This breaks the build, please fix: https://build.kde.org/job/Applications%20gwenview%20kf5-qt5%20FreeBSDQt5.10/63/console

Jul 26 2018, 7:03 PM · Gwenview
rkflx added a comment to D14407: Improve wording for red eye reduction.

I mainly opened this Diff to discuss about the wording of that tool in general. In particular in the sidebar most image operations use the imperative form, only Red Eye Reduction is different. This is relevant not only in the sidebar, but also in the Edit menu and for the accepting button (future patch ;).

Jul 26 2018, 6:46 PM
rkflx requested review of D14407: Improve wording for red eye reduction.
Jul 26 2018, 6:46 PM
rkflx added a comment to D14406: Remove crosshair cursor from crop tool.

I (and the reviewers for D14386) should have grepped for Qt::CrossCursor… Anyway, we catched it in time ;)

Jul 26 2018, 6:44 PM
rkflx requested review of D14406: Remove crosshair cursor from crop tool.
Jul 26 2018, 6:44 PM
rkflx committed R260:e06cac87196d: Merge remote-tracking branch 'origin/Applications/18.08' (authored by rkflx).
Merge remote-tracking branch 'origin/Applications/18.08'
Jul 26 2018, 6:38 PM
rkflx closed D14386: Fix crosshair cursor not showing in red eye reduction tool.
Jul 26 2018, 6:36 PM
rkflx committed R260:e97eda1df871: Fix crosshair cursor not showing in red eye reduction tool (authored by rkflx).
Fix crosshair cursor not showing in red eye reduction tool
Jul 26 2018, 6:36 PM
rkflx accepted D14396: Keep crop handles inside selection rectangle.

Wow, I didn't even know Gwenview did that!

Jul 26 2018, 6:36 PM
rkflx added a comment to D14324: Propagate unused mouse press events in edit tools.

Found the reason for this. :)
The previous mousePressEvent needs to be accepted somewhere (for zooming in AbstractImageView), otherwise the subsequent mouseReleaseEvent is not triggered.

Jul 26 2018, 6:36 PM

Jul 25 2018

rkflx requested review of D14386: Fix crosshair cursor not showing in red eye reduction tool.
Jul 25 2018, 11:20 PM
rkflx added a comment to D13901: Touch support for Gwenview.

It sounds a bit strange that setting different keyboard shortcuts for the rotate actions will get it working. Is it possible that you have some kind of global gesture recognizer running in your desktop session, which detects that action and then sends the keyboard shortcut combination to Gwenview?

Yes, I know it is strange. I found this in OpenSuse Leap 15.0 and a fresh KDE Neon 5.13, no global gesture recognizer is running.I found this by accident, I was looking which event I get in the DocumentView::sceneEventFilter with a qDebug()<<event;, to my surprise I found this:

Jul 25 2018, 7:14 PM · Gwenview
rkflx committed R260:619dcde267fd: Always set transformation mode when setting zoom in image scaler (authored by rkflx).
Always set transformation mode when setting zoom in image scaler
Jul 25 2018, 7:14 PM
rkflx closed D14346: Always set transformation mode when setting zoom in image scaler.
Jul 25 2018, 7:14 PM
rkflx accepted D14252: Rework rectangle/arrow key handling to avoid "stuck edges" and 0x0px rectangle.

Thanks, can confirm that the issue with doubled resizing is fixed. Accepting for now, even though the code is not the most concise yet.

Jul 25 2018, 10:03 AM
rkflx added a comment to D13901: Touch support for Gwenview.

@steffenh Could you report how touchpad gestures are working for you in Qt's example app (see https://doc.qt.io/qt-5/qtwidgets-gestures-imagegestures-example.html)?

Jul 25 2018, 10:02 AM · Gwenview
rkflx accepted D14324: Propagate unused mouse press events in edit tools.

Off you go!

Jul 25 2018, 10:02 AM
rkflx accepted D14329: Reactivate size slider in Red Eye Reduction tool.
Jul 25 2018, 10:02 AM

Jul 24 2018

rkflx requested review of D14346: Always set transformation mode when setting zoom in image scaler.
Jul 24 2018, 11:21 PM
rkflx retitled D14252: Rework rectangle/arrow key handling to avoid "stuck edges" and 0x0px rectangle from Rework rectamgle/arrow key handling to avoid "stuck edges" and 0x0px rectangle to Rework rectangle/arrow key handling to avoid "stuck edges" and 0x0px rectangle.
Jul 24 2018, 5:55 PM
rkflx requested changes to D14252: Rework rectangle/arrow key handling to avoid "stuck edges" and 0x0px rectangle.

Thanks, this fixes the issue of getting stuck, as well as the minimum size.

Jul 24 2018, 5:54 PM
rkflx requested changes to D14329: Reactivate size slider in Red Eye Reduction tool.

Haha, I worked on the same issue, but you catched an earlier time window to post the Diff. Good for you ;) That said, this way I also know exactly where I can break you patch (see inline comment, obviously was also broken in the KDE 4 version).

Jul 24 2018, 5:54 PM
rkflx requested changes to D14324: Propagate unused mouse press events in edit tools.

Thanks! Uses accept and ignore just like I suspected when suggesting this, and works very well for middle click.

Jul 24 2018, 5:54 PM
rkflx committed R260:1ce062a458b1: Fix image smoothing sometimes not getting applied (authored by rkflx).
Fix image smoothing sometimes not getting applied
Jul 24 2018, 6:04 AM
rkflx closed D14269: Fix image smoothing sometimes not getting applied.
Jul 24 2018, 6:04 AM
rkflx committed R260:07ff10d35b6d: Merge remote-tracking branch 'origin/Applications/18.08' (authored by rkflx).
Merge remote-tracking branch 'origin/Applications/18.08'
Jul 24 2018, 6:04 AM

Jul 23 2018

rkflx accepted D14286: Propagate unused mouse wheel events in edit tools.

LGTM, works great!

Jul 23 2018, 11:59 PM
rkflx added a comment to D14201: Set system default shortcut Ctrl+0 for "Actual Size" action.

Thanks for your support ;)

Jul 23 2018, 9:04 PM · Frameworks
rkflx added a comment to T9250: Revive bug triaging days.

After your research it'd be better to pick another program, but I am not sure which choice would work out well. Do you have an idea for an alternative?

Jul 23 2018, 8:24 PM · Bugsquad
rkflx added a comment to D14201: Set system default shortcut Ctrl+0 for "Actual Size" action.

@ngraham Would this patch be something you could back?

Jul 23 2018, 7:18 PM · Frameworks
rkflx added a comment to D14284: Display full path of image on main window.

Thank you for the help, I have it working now.

Jul 23 2018, 7:17 PM
rkflx added a comment to T9250: Revive bug triaging days.

Thanks for the initiative, Julian.

Jul 23 2018, 7:06 PM · Bugsquad
rkflx added a comment to D14284: Display full path of image on main window.

I not sure, I have used KDevelop 5.2.3 to get the Gwenview source from git. I make a new branch from master to do my coding and use the run or the debug function from KDevelop to test my work. It should pick up my self-compiled library or not?

Jul 23 2018, 2:49 PM
rkflx committed R166:c8b41805e427: Merge remote-tracking branch 'origin/Applications/18.08' (authored by rkflx).
Merge remote-tracking branch 'origin/Applications/18.08'
Jul 23 2018, 12:38 PM
rkflx committed R166:68487fd0ca01: Add license header to TextLabel.qml (authored by rkflx).
Add license header to TextLabel.qml
Jul 23 2018, 12:35 PM
rkflx added a comment to D11203: Prevent grouping/duplicating notifications and fix "Open" button issue.

Fix "Open" button in screenshot notification not responding to click

I don't really understand how to reproduce the problem from your test plan. Could you add detailed steps to reproduce, so I can check how it works before and after your patch? Ideally in terms of Spectacle's command line arguments, which should be similar to the global shortcuts.

In the first screen recording you can see that open button does not work sometimes, it might be because of QTimer:singleShot

Jul 23 2018, 10:23 AM · Spectacle
rkflx added a comment to D11203: Prevent grouping/duplicating notifications and fix "Open" button issue.

@rkflx i think someone else should take over

Jul 23 2018, 10:05 AM · Spectacle
rkflx added a comment to D14284: Display full path of image on main window.

display the active image name, if you have more than one image in the view mode

Do you mean that in Compare mode the window title should change when clicking on another image? For me this is already the case without your patch.

Interesting, in KDE Neon 5.13 (Plasma 5.13.2, KDE Framework 5.47.0, Qt 5.11.0) yes it works without my patch. In my working Linux (OpenSuse Leap15.0, Plasma 5.12.5, KDE Framework 5.45.0, Qt 5.9.4) is it doesn't work without my patch.

Jul 23 2018, 10:03 AM
rkflx added a comment to D14284: Display full path of image on main window.

Bug 378061

Jul 23 2018, 8:20 AM
rkflx added a comment to D14269: Fix image smoothing sometimes not getting applied.

Thanks for the review!

Jul 23 2018, 7:47 AM
rkflx added a comment to D14284: Display full path of image on main window.

Interesting idea ;)

Jul 23 2018, 7:38 AM
rkflx updated the title for P246 gwenview-startpage-browse from untitled to gwenview-startpage-browse.
Jul 23 2018, 7:31 AM
rkflx updated the title for P245 gwenview-startpage-setcaption from untitled to gwenview-startpage-setcaption.
Jul 23 2018, 7:31 AM
rkflx updated the title for P244 gwenview-startpage-refactor from untitled to gwenview-startpage-refactor.
Jul 23 2018, 7:30 AM

Jul 22 2018

rkflx committed R166:311749e9ba7f: Merge remote-tracking branch 'origin/Applications/18.08' (authored by rkflx).
Merge remote-tracking branch 'origin/Applications/18.08'
Jul 22 2018, 10:59 PM
rkflx committed R166:e0b52fa258c9: Fix rendering of on-screen help texts for fractional scaling (authored by rkflx).
Fix rendering of on-screen help texts for fractional scaling
Jul 22 2018, 10:54 PM
rkflx closed D14254: Fix rendering of on-screen help texts for fractional scaling.
Jul 22 2018, 10:54 PM
rkflx added inline comments to D7962: Implement several new print scaling options.
Jul 22 2018, 10:54 PM · Okular

Jul 21 2018

rkflx created T9252: Improve default filename when saving.
Jul 21 2018, 11:12 PM · Spectacle
rkflx updated the summary of D14254: Fix rendering of on-screen help texts for fractional scaling.
Jul 21 2018, 11:11 PM
rkflx added a comment to D11203: Prevent grouping/duplicating notifications and fix "Open" button issue.

It seems like your patch fixes multiple things, so it would be better if you could split your patch into separate Diffs too (see also https://community.kde.org/Infrastructure/Phabricator#.22Please_do_that_in_a_separate_commit.22).

Jul 21 2018, 11:09 PM · Spectacle
rkflx added a comment to D14269: Fix image smoothing sometimes not getting applied.

Refactoring sneak peek (headed for master, will post a Diff once the bug fix landed), which still needs testing and a commit message: P243

Jul 21 2018, 10:54 PM
rkflx updated the title for P243 Image smoothing refactoring from untitled to Image smoothing refactoring.
Jul 21 2018, 10:52 PM
rkflx requested review of D14269: Fix image smoothing sometimes not getting applied.
Jul 21 2018, 10:50 PM
rkflx committed R260:db566133b6e6: Adapt comment to recent change in smoothing threshold (authored by rkflx).
Adapt comment to recent change in smoothing threshold
Jul 21 2018, 10:46 PM

Jul 20 2018

rkflx updated the diff for D14254: Fix rendering of on-screen help texts for fractional scaling.

Add comment. There is no TODO, because I hope with D12626 we'll still be able to support Qt 5.6.

Jul 20 2018, 9:48 PM
rkflx requested review of D14254: Fix rendering of on-screen help texts for fractional scaling.
Jul 20 2018, 9:39 PM
rkflx committed R166:9de3f7628ef8: Fix Clang's mismatched tags warning instead of disabling it (authored by rkflx).
Fix Clang's mismatched tags warning instead of disabling it
Jul 20 2018, 9:32 PM

Jul 19 2018

rkflx added a comment to D14196: Improve inline documentation for magnifier toggle feature.

Thanks for the explanation.

Jul 19 2018, 9:23 PM
rkflx added a comment to D14196: Improve inline documentation for magnifier toggle feature.

Is there something wrong with our Git branch setup for KDE Applications? Today Scott, Peter and you all had problems with merging stable into master…

Jul 19 2018, 9:08 PM
rkflx accepted D14196: Improve inline documentation for magnifier toggle feature.
Jul 19 2018, 8:22 PM
rkflx added a comment to D14196: Improve inline documentation for magnifier toggle feature.

Thanks, commit it already ;)

Jul 19 2018, 8:22 PM
rkflx added a comment to D14196: Improve inline documentation for magnifier toggle feature.

"while dragging selection box" is pretty common and well understood in English.

Jul 19 2018, 7:33 PM