Feed Advanced Search

Apr 7 2018

muhlenpfordt requested review of D12023: Fix shortcut config changes sometimes not updating until restart.
Apr 7 2018, 4:27 PM

Apr 6 2018

muhlenpfordt added a comment to D11942: Fix SVGs overlapping selection rect in View compare mode.

Can you guys confirm this happens with no animations?

Apr 6 2018, 1:01 PM
muhlenpfordt added a comment to D11942: Fix SVGs overlapping selection rect in View compare mode.

I followed the steps in D11942#241060 and tried different svg and png combinations but can't spot anything wrong. No artifacts as shown in the video above.
The selection rectangle always displays perfect like in this screenshot:

Apr 6 2018, 11:42 AM

Apr 4 2018

muhlenpfordt added a comment to D11105: Update window title when changing selection in comparison mode.

Works perfect now, I can't find any more issues. Just a little style hint (see inline comment).
I hand over to @rkflx for further inspection. ;)

Apr 4 2018, 8:05 AM · Gwenview
muhlenpfordt committed R260:75b1ab4d2355: Merge remote-tracking branch 'origin/Applications/18.04' (authored by muhlenpfordt).
Merge remote-tracking branch 'origin/Applications/18.04'
Apr 4 2018, 6:44 AM
muhlenpfordt committed R260:7369f4719529: Set focus back to image view after leaving edit tool (authored by muhlenpfordt).
Set focus back to image view after leaving edit tool
Apr 4 2018, 6:44 AM
muhlenpfordt closed D11899: Set focus back to image view after leaving edit tool.
Apr 4 2018, 6:44 AM
muhlenpfordt added a comment to D11899: Set focus back to image view after leaving edit tool.

wonder why you branched from master, though, because to me the bugfix sounds like material for the stable branch.

Apr 4 2018, 6:30 AM

Apr 3 2018

muhlenpfordt added a comment to D11105: Update window title when changing selection in comparison mode.

Sorry to say - there is still a problem. When adding the 6th image, the caption jumps from 'a.jpg' to 'f.jpg' and after deselecting it again the caption still shows 'f.jpg'.

Apr 3 2018, 1:49 PM · Gwenview
muhlenpfordt added a reviewer for D11899: Set focus back to image view after leaving edit tool: Gwenview.
Apr 3 2018, 6:25 AM
muhlenpfordt requested review of D11899: Set focus back to image view after leaving edit tool.
Apr 3 2018, 6:24 AM

Mar 29 2018

muhlenpfordt added a comment to D11715: Fix thumbnail update after undo.

one thing caught my eye: QTest::qWait(100) – Is there anything in Qt where you could wait for a condition or a signal instead? The timeout seems brittle and looks a bit weird ;)

Mar 29 2018, 7:22 AM

Mar 28 2018

muhlenpfordt added a comment to P179 Gwenview Test #11 (urlutilstest) failed.

Test #11 failure maybe a config problem on my side? Error log: P179.

Mar 28 2018, 1:37 PM · Gwenview
muhlenpfordt updated the diff for D11715: Fix thumbnail update after undo.

Excluded D11714 from diff again

Mar 28 2018, 12:16 PM
muhlenpfordt updated the diff for D11715: Fix thumbnail update after undo.

Updated test to wait for signals

Mar 28 2018, 12:09 PM
muhlenpfordt added a comment to D11715: Fix thumbnail update after undo.

Found the problem. :)
Since the modified and saved signals are not emitted directly but after finishing the undo job the test just needed some more delay.

Mar 28 2018, 12:08 PM
muhlenpfordt created P179 Gwenview Test #11 (urlutilstest) failed in the S1 KDE Community space.
Mar 28 2018, 12:06 PM · Gwenview
muhlenpfordt added a comment to D11715: Fix thumbnail update after undo.

Just noticed that this patch breaks test #4 documenttest. :(
Seems to be an undo problem but I'll have to take a closer look what's going wrong here.
For current master sometimes #11 urlutilstest fails too.

Mar 28 2018, 11:41 AM

Mar 26 2018

muhlenpfordt added a reviewer for D11715: Fix thumbnail update after undo: Gwenview.
Mar 26 2018, 1:22 PM
muhlenpfordt added a reviewer for D11714: Fix thumbnail bar update after editing a viewed image: Gwenview.
  • Updating the thumbnail after the first edit is a side effect of the appearing save bar and therefore changing the view geometry.
  • In Browse Mode the provided QModelIndex and thumbail update is correct since the base model is used here.
  • In fullscreen mode all visible thumbnails in the autohide bar are repainted after the image view is updated so this problem is not noticeable here.
Mar 26 2018, 1:22 PM
muhlenpfordt added a dependent revision for D11714: Fix thumbnail bar update after editing a viewed image: D11715: Fix thumbnail update after undo.
Mar 26 2018, 1:19 PM
muhlenpfordt requested review of D11715: Fix thumbnail update after undo.
Mar 26 2018, 1:19 PM
muhlenpfordt requested review of D11714: Fix thumbnail bar update after editing a viewed image.
Mar 26 2018, 1:16 PM

Mar 24 2018

muhlenpfordt added a comment to D11630: Add "None" option for transparent background in Image view.

I wonder whether we should make this option the new default?

Mar 24 2018, 4:38 PM · Gwenview

Mar 22 2018

muhlenpfordt added a comment to T8194: Fix remaining issues with clearing recent files and folders.
In T8194#133776, @rkflx wrote:

looking again at #1 there is not really a good solution, because this affects all apps and it's very tricky to make this foolproof. Should we mark the task as resolved?

Mar 22 2018, 7:45 AM · Gwenview

Mar 21 2018

muhlenpfordt accepted D11495: Align slideshow terminology to MPRIS behaviour.

The naming looks good to me.
Menu/button always displays Start Slideshow in normal mode and after switching to fullscreen. Only after starting/pausing a slideshow Pause / Resume Slideshow is displayed.

Mar 21 2018, 9:04 AM
muhlenpfordt committed R260:7a22bd4202e2: Merge remote-tracking branch 'origin/Applications/18.04' (authored by muhlenpfordt).
Merge remote-tracking branch 'origin/Applications/18.04'
Mar 21 2018, 7:59 AM
muhlenpfordt committed R260:3a02df6e4e7e: Fix context menus for Recent Files / Folders on Start Page (authored by muhlenpfordt).
Fix context menus for Recent Files / Folders on Start Page
Mar 21 2018, 7:58 AM
muhlenpfordt added a commit to T8194: Fix remaining issues with clearing recent files and folders: R260:3a02df6e4e7e: Fix context menus for Recent Files / Folders on Start Page.
Mar 21 2018, 7:58 AM · Gwenview
muhlenpfordt closed D11479: Fix context menus for Recent Files / Folders on Start Page.
Mar 21 2018, 7:58 AM
muhlenpfordt updated the diff for D11479: Fix context menus for Recent Files / Folders on Start Page.

Capture member variables only

Mar 21 2018, 7:45 AM

Mar 20 2018

muhlenpfordt added a comment to D11493: Prettify display of URLs in Recent Folders and Places.

Most normal users don't know that ~ is a shorthand for "my home folder", and we should keep in mind Gwenview's target user.

Mar 20 2018, 2:26 PM
muhlenpfordt added a comment to D11479: Fix context menus for Recent Files / Folders on Start Page.

@rkflx Sorry, I don't want to rush - if it doesn't make it for this version it's absolutely ok for me! ;)

Mar 20 2018, 10:36 AM
muhlenpfordt added a comment to D11479: Fix context menus for Recent Files / Folders on Start Page.

Here is an alternative idea: Change this to Add Containing Folder to Places.

Mar 20 2018, 10:32 AM
muhlenpfordt updated the diff for D11479: Fix context menus for Recent Files / Folders on Start Page.

"Add File to Places" -> "Add Containing Folder..." / uppercase "This"

Mar 20 2018, 10:31 AM
muhlenpfordt added a revision to T8194: Fix remaining issues with clearing recent files and folders: D11479: Fix context menus for Recent Files / Folders on Start Page.
Mar 20 2018, 10:31 AM · Gwenview
muhlenpfordt accepted D11493: Prettify display of URLs in Recent Folders and Places.

Looks good to me - code and Start Page. ;)
What do you think about displaying /home/user/ just as ~? Personally I would prefer this. ;)

Mar 20 2018, 9:38 AM
muhlenpfordt committed R260:c6e514eefddd: Merge remote-tracking branch 'origin/Applications/18.04' (authored by muhlenpfordt).
Merge remote-tracking branch 'origin/Applications/18.04'
Mar 20 2018, 8:57 AM
muhlenpfordt committed R260:d2afcfe25460: Extend action "Clear Recent List" to clear model and recent folders (authored by muhlenpfordt).
Extend action "Clear Recent List" to clear model and recent folders
Mar 20 2018, 8:55 AM
muhlenpfordt added a commit to T8194: Fix remaining issues with clearing recent files and folders: R260:d2afcfe25460: Extend action "Clear Recent List" to clear model and recent folders.
Mar 20 2018, 8:55 AM · Gwenview
muhlenpfordt closed D11477: Extend action "Clear Recent List" to clear model and recent folders.
Mar 20 2018, 8:55 AM
muhlenpfordt added a comment to D11477: Extend action "Clear Recent List" to clear model and recent folders.

Don't forget that Applications/18.04 has now been branched off ;)

Mar 20 2018, 8:40 AM
muhlenpfordt updated the diff for D11477: Extend action "Clear Recent List" to clear model and recent folders.

Renamed function and code alignment

Mar 20 2018, 8:40 AM
muhlenpfordt added a revision to T8194: Fix remaining issues with clearing recent files and folders: D11477: Extend action "Clear Recent List" to clear model and recent folders.
Mar 20 2018, 8:40 AM · Gwenview
muhlenpfordt accepted D11492: Prevent duplicate slashes in Recent Folders.

Works as promised for local urls given as commandline argument or by navigating inside Gwenview. :)
I found only one way to add multiple recent folder entries with multiple slashes: commandline urls like sftp://server/ and e.g. sftp://server/// or http://...////. This is not handled by UrlUtils::fixUserEnteredUrl() inside MainWindow::setInitialUrl(). But I'm not sure if we should touch remote urls?

Mar 20 2018, 8:04 AM

Mar 19 2018

muhlenpfordt added a reviewer for D11479: Fix context menus for Recent Files / Folders on Start Page: Gwenview.

Maybe it would be cleaner to handle the context menu in HistoryThumbnailViewHelper like e.g. ThumbnailViewHelper does. But this needs some bigger changes to keep track of the selected item. This is done by ContextManager elsewhere.

Mar 19 2018, 9:26 AM
muhlenpfordt requested review of D11479: Fix context menus for Recent Files / Folders on Start Page.
Mar 19 2018, 9:23 AM
muhlenpfordt added a reviewer for D11477: Extend action "Clear Recent List" to clear model and recent folders: Gwenview.

Since the user can't see any recent folders in FileOpen Recent I think it would be confusion to show separate Clear Recent Files and Clear Recent Folders.
But it's no problem to add menu entries here if we find a more obvious way.

Mar 19 2018, 8:29 AM
muhlenpfordt requested review of D11477: Extend action "Clear Recent List" to clear model and recent folders.
Mar 19 2018, 8:28 AM

Mar 15 2018

muhlenpfordt committed R260:1e66de8f8f26: Keep click position in focus on middle-click zoom (authored by muhlenpfordt).
Keep click position in focus on middle-click zoom
Mar 15 2018, 1:47 PM
muhlenpfordt closed D11336: Keep click position in focus on middle-click zoom.
Mar 15 2018, 1:47 PM
muhlenpfordt claimed T8194: Fix remaining issues with clearing recent files and folders.
Mar 15 2018, 10:59 AM · Gwenview
muhlenpfordt added a comment to D11202: Add ability to constrain crop tool to current image ratio.

I guess my question is, is it worth re-working how we store the ratios in order to accommodate this? I'm thinking something like a list of custom objects that contain some metadata in addition to a ratio would be necessary.
Any other ideas?

Mar 15 2018, 8:34 AM

Mar 14 2018

muhlenpfordt created T8220: Zoom buttons out of sync sometimes.
Mar 14 2018, 6:30 PM · Gwenview
muhlenpfordt added a reviewer for D11336: Keep click position in focus on middle-click zoom: Gwenview.

The click position is not centered but kept at the same location as it is done with Ctrl+Scroll / Ctrl+Click. This feels more convenient to me than the click location jumping to viewport center as suggested in the bug report.
But maybe there are other opinions to this?

Mar 14 2018, 6:29 PM
muhlenpfordt requested review of D11336: Keep click position in focus on middle-click zoom.
Mar 14 2018, 6:27 PM
muhlenpfordt added a comment to D11329: Swap position and size in crop tool.

Simple change - but feels more convenient this way. 👍

Mar 14 2018, 4:20 PM · Gwenview
muhlenpfordt committed R260:8bd2f625c679: Prevent saving Recent Files and LastTargetDir if history is disabled (authored by muhlenpfordt).
Prevent saving Recent Files and LastTargetDir if history is disabled
Mar 14 2018, 8:25 AM
muhlenpfordt closed D11263: Prevent saving Recent Files and LastTargetDir if history is disabled.
Mar 14 2018, 8:25 AM
muhlenpfordt committed R260:fee2942254d6: Set default path of "Copy/Move/Link To" dialog to current folder (authored by muhlenpfordt).
Set default path of "Copy/Move/Link To" dialog to current folder
Mar 14 2018, 8:06 AM
muhlenpfordt closed D11280: Set default path of "Copy/Move/Link To" dialog to current folder.
Mar 14 2018, 8:06 AM

Mar 13 2018

muhlenpfordt added inline comments to D11263: Prevent saving Recent Files and LastTargetDir if history is disabled.
Mar 13 2018, 10:57 AM
muhlenpfordt added a reviewer for D11280: Set default path of "Copy/Move/Link To" dialog to current folder: Gwenview.
Mar 13 2018, 10:32 AM
muhlenpfordt updated the diff for D11263: Prevent saving Recent Files and LastTargetDir if history is disabled.

Moved default for LastTargetDir part to other diff

Mar 13 2018, 10:31 AM
muhlenpfordt added a dependent revision for D11280: Set default path of "Copy/Move/Link To" dialog to current folder: D11263: Prevent saving Recent Files and LastTargetDir if history is disabled.
Mar 13 2018, 10:26 AM
muhlenpfordt added a dependency for D11263: Prevent saving Recent Files and LastTargetDir if history is disabled: D11280: Set default path of "Copy/Move/Link To" dialog to current folder.
Mar 13 2018, 10:26 AM
muhlenpfordt requested review of D11280: Set default path of "Copy/Move/Link To" dialog to current folder.
Mar 13 2018, 10:25 AM

Mar 12 2018

muhlenpfordt added a reviewer for D11263: Prevent saving Recent Files and LastTargetDir if history is disabled: Gwenview.

There's one section in the config file that remains after disabling the history. It's from the QFileDialog/KFileWidget (e.g. Copy/Move/Link dialog).

[KFileDialog Settings]
Recent Files...
Recent URLs...

I found no option to disable this. But probably this should be a KDE thing and maybe affected by System SettingsActivitiesPrivacy.

Mar 12 2018, 1:06 PM
muhlenpfordt requested review of D11263: Prevent saving Recent Files and LastTargetDir if history is disabled.
Mar 12 2018, 1:03 PM
muhlenpfordt added a comment to D11202: Add ability to constrain crop tool to current image ratio.

Just an idea and probably out of focus here: Should we add some kind of shortcut to e.g. square and/or image dimension selection with Ctrl/ + mouse drag like some image manipulation programs do?

Mar 12 2018, 8:19 AM
muhlenpfordt added a comment to D11105: Update window title when changing selection in comparison mode.

The title updates correctly when selecting the image by mouse click.
But when adding or removing images to the multi view or while resizing the window (zoom factor change) the title does not always stick to the selected image.

Mar 12 2018, 7:55 AM · Gwenview

Mar 2 2018

muhlenpfordt committed R260:a08587f77fd0: Use QPointer member variables in Gwenview StartHelper (authored by muhlenpfordt).
Use QPointer member variables in Gwenview StartHelper
Mar 2 2018, 4:00 PM
muhlenpfordt closed D10964: Use QPointer member variables in Gwenview StartHelper.
Mar 2 2018, 4:00 PM
muhlenpfordt added a comment to D10964: Use QPointer member variables in Gwenview StartHelper.

I guess you used arc diff --edit --verbatim without using arc amend first.

Mar 2 2018, 3:58 PM
muhlenpfordt added a reviewer for D10964: Use QPointer member variables in Gwenview StartHelper: rkflx.

removed a reviewer: rkflx.

Mar 2 2018, 2:14 PM
muhlenpfordt updated the diff for D10964: Use QPointer member variables in Gwenview StartHelper.

Removed StartHelper destructor

Mar 2 2018, 2:12 PM
muhlenpfordt added inline comments to D10964: Use QPointer member variables in Gwenview StartHelper.
Mar 2 2018, 2:00 PM
muhlenpfordt added a reviewer for D10964: Use QPointer member variables in Gwenview StartHelper: Gwenview.
Mar 2 2018, 10:17 AM
muhlenpfordt requested review of D10964: Use QPointer member variables in Gwenview StartHelper.
Mar 2 2018, 10:15 AM

Mar 1 2018

muhlenpfordt added a comment to D10853: Remember fullscreen mode and restore on next start.

What do you think about the draft in P172 to solve the memleak warning?

Mar 1 2018, 9:46 AM
muhlenpfordt created P172 Using QPointer member variable to avoid cppcheck complain.
Mar 1 2018, 9:44 AM · Gwenview
muhlenpfordt committed R260:59dd364b4bfc: Remember fullscreen mode and restore on next start (authored by muhlenpfordt).
Remember fullscreen mode and restore on next start
Mar 1 2018, 8:56 AM
muhlenpfordt closed D10853: Remember fullscreen mode and restore on next start.
Mar 1 2018, 8:56 AM
muhlenpfordt added a comment to D10853: Remember fullscreen mode and restore on next start.

memleak

Anything to worry about? Perhaps it' worth trying out Valgrind or ASAN, might solve some of the random crashes on Bugzilla…

Mar 1 2018, 8:51 AM
muhlenpfordt accepted D10926: Enlarge small SVGs too.

Works as it should and adjust display immediately after changing the option.
I shortly thought about moving it back to AbstractImageView but there may be future derived views where it makes sense to ignore/separate this option - so it's fine here. :)

Mar 1 2018, 8:31 AM

Feb 28 2018

muhlenpfordt updated the summary of D10917: Update document cache after renaming a file.
Feb 28 2018, 3:50 PM
muhlenpfordt updated subscribers of D10917: Update document cache after renaming a file.

This patch does not improve renaming in browse mode since it's done inside KDirModel::SetData(). Maybe a rename detection e.g. in ContextManager could solve this issue.

Feb 28 2018, 2:02 PM
muhlenpfordt requested review of D10917: Update document cache after renaming a file.
Feb 28 2018, 1:58 PM
muhlenpfordt added inline comments to D10844: Replace "Fit Width" feature with "Fill".
Feb 28 2018, 8:24 AM · Gwenview

Feb 27 2018

muhlenpfordt added a comment to D10897: Enlarge smaller images by default.

I can't see any disadvantages for the normal photo browsing user so why not as default.
The users handling with small icons and don't like it should be able to find the off switch. ;)

Feb 27 2018, 8:24 PM · Gwenview
muhlenpfordt added a comment to D10844: Replace "Fit Width" feature with "Fill".

Works as described and I can't spot any technical issues.
Just a hint to the BUG-keyword: maybe it works but policy says uppercase.

Feb 27 2018, 9:38 AM · Gwenview

Feb 26 2018

muhlenpfordt added a comment to D10853: Remember fullscreen mode and restore on next start.

Therefore, could we simply add this to kstart?

Feb 26 2018, 4:59 PM
muhlenpfordt updated the diff for D10853: Remember fullscreen mode and restore on next start.

Removed config/commandline options

Feb 26 2018, 2:36 PM
muhlenpfordt added a comment to D10853: Remember fullscreen mode and restore on next start.

It's not easy to have to say no to a new feature like that, especially when the patch is already written. But I guess someone has to do this once in a while to keep Gwenview on track. I hope you understand…

Feb 26 2018, 2:18 PM
muhlenpfordt added a comment to D10853: Remember fullscreen mode and restore on next start.

Also, is there any other app which has a similar GUI config option? We could take a look at how they phrase it, but if there is none with a similar target user base as Gwenview perhaps this is an indication we should not add this feature.

Feb 26 2018, 11:09 AM
muhlenpfordt added a reviewer for D10853: Remember fullscreen mode and restore on next start: Gwenview.

I thought about a three state option instead of the on/off switch. Any preferences for this version?

Space saving version... or similar to other radio buttons
Feb 26 2018, 9:28 AM
muhlenpfordt requested review of D10853: Remember fullscreen mode and restore on next start.
Feb 26 2018, 9:13 AM

Feb 25 2018

muhlenpfordt added a comment to D10745: Update filename in fullscreen view on rename.

Perhaps because of the else in FileOpsContextManagerItem::rename? I guess for Browse mode we'd also need to call setCurrentUrl. Where to get newUrl from, though?

Feb 25 2018, 4:04 PM · Gwenview
muhlenpfordt committed R260:00ee923edea5: Update filename in fullscreen view on rename (authored by slenz).
Update filename in fullscreen view on rename
Feb 25 2018, 1:14 PM
muhlenpfordt committed R260:f87cd4b930fc: Merge branch 'origin/Applications/17.12' (authored by muhlenpfordt).
Merge branch 'origin/Applications/17.12'
Feb 25 2018, 1:14 PM