Feed Advanced Search

Nov 22 2019

meven updated the diff for D25460: Add a descriptive warning when inotify_add_watch returned ENOSPC.

Improve messange : ENOSPC for inotify_add_watch only when inotify_add_watch was reached

Nov 22 2019, 6:37 PM · Frameworks
meven added a comment to D25117: file ioslave: stop copying as soon as the ioslave is killed.

Nice, I didn't realize the slave had 5 seconds to cleanup after being killed, I thought it died immediately
(genericsig_handler in slavebase.cpp).

I didn't realize there was a timeout somewhere.

Hmm, the Windows code is probably a no-op then, there's no signal handler there to call setKillFlags(), so no opportunity to cleanup before dying.
Some research indicates that we'd have to use SetConsoleCtrlHandler on Windows for similar behaviour.
https://stackoverflow.com/questions/2007516/is-there-a-posix-sigterm-alternative-on-windows-a-gentle-kill-for-console-ap
https://danielkaes.wordpress.com/2009/06/04/how-to-catch-kill-events-with-python/

I did not realize that.

Nov 22 2019, 12:33 PM · Frameworks
meven added a comment to D25448: EBN cleanup of autotests transfer protocol.

Please run arc amend to fix the typo in the commit message before landing.

Nov 22 2019, 12:00 PM · Frameworks
meven retitled D25448: EBN cleanup of autotests transfer protocol from EBN cleanup of autests transfer protocal to EBN cleanup of autests transfer protocol.
Nov 22 2019, 11:59 AM · Frameworks
meven committed R128:a2f7d308f9b5: Don't CacheUser/UnCacheUser when editing Realname (authored by meven).
Don't CacheUser/UnCacheUser when editing Realname
Nov 22 2019, 11:41 AM
meven closed D25439: Don't CacheUser/UnCacheUser when editing Realname.
Nov 22 2019, 11:41 AM · Plasma
meven committed R241:04edc7738cc3: Ftp ioslave: Fix ProxyUrls parameter passing (authored by meven).
Ftp ioslave: Fix ProxyUrls parameter passing
Nov 22 2019, 11:40 AM
meven closed D25438: Ftp ioslave: Fix ProxyUrls parameter passing.
Nov 22 2019, 11:40 AM · Frameworks
meven requested review of D25460: Add a descriptive warning when inotify_add_watch returned ENOSPC.
Nov 22 2019, 11:30 AM · Frameworks
meven added inline comments to D25435: [Network Ioslave] Add Display name to network:/.
Nov 22 2019, 9:30 AM · Frameworks, Dolphin
meven requested review of D25454: Prevent a crash when deleting a device Interface.
Nov 22 2019, 8:59 AM · Frameworks
meven added a comment to D24860: Use non-deprecated KDEInstallDirs variables.

Did you push it ? Because I Haven't yet.

Nov 22 2019, 8:54 AM · Kate

Nov 21 2019

meven added a comment to T11535: Organize 2019 KF6 sprint.

I'll attend remotely, via IRC/matrix/chat_of_the_day.

Nov 21 2019, 3:15 PM · KF6
meven added a comment to D25398: Check values have changed before setting the model.

Agreed. Works for me and looks safe, but maybe let's do master only for safety.

Can you file a bug upstream on the odd behavior in AccountsService?

Nov 21 2019, 3:11 PM · Plasma
meven requested review of D25439: Don't CacheUser/UnCacheUser when editing Realname.
Nov 21 2019, 3:10 PM · Plasma
meven committed R320:2f6f67aba31b: [Network Ioslave] Add Display name to network:/ (authored by meven).
[Network Ioslave] Add Display name to network:/
Nov 21 2019, 2:40 PM
meven closed D25435: [Network Ioslave] Add Display name to network:/.
Nov 21 2019, 2:40 PM · Frameworks, Dolphin
meven committed R128:b279882ad9e4: Check values have changed before setting the model (authored by meven).
Check values have changed before setting the model
Nov 21 2019, 2:37 PM
meven closed D25398: Check values have changed before setting the model.
Nov 21 2019, 2:37 PM · Plasma
meven committed R241:20c25a1941ad: [Remote ioslave] Add Display Name to remote:/ (authored by meven).
[Remote ioslave] Add Display Name to remote:/
Nov 21 2019, 2:34 PM
meven closed D25436: [Remote ioslave] Add Display Name to remote:/.
Nov 21 2019, 2:34 PM · Frameworks
meven requested review of D25438: Ftp ioslave: Fix ProxyUrls parameter passing.
Nov 21 2019, 2:33 PM · Frameworks
meven added a comment to D25432: Fix HTTP proxy settings.

Hmm, I've just git grep the repo and found another place that is most probably affected by the same problem in FTP slave;
https://github.com/KDE/kio/blob/d03551cd0367ac7760224c56bda943c937ba5dac/src/ioslaves/ftp/ftp.cpp#L320

Could you check out if it's a QVariant with QByteArray type and fix it on your own?

Also now I think the code would be more self-descriptionly if I would use QByteArray() instead of QString() as a default value for mapConfig().value() in my fix.
So if the second place is a bug and you think the same about default values feel free to improve my commit in HTTP with your fix too.

Nov 21 2019, 2:27 PM · Frameworks
meven added a comment to D25427: [Wayland] Allow to take full resolution screenshot when scaling is used.

GLRenderTarget::virtualScreenScale() is currently only set to screen->scale during the paint method.

Nov 21 2019, 2:14 PM · KWin
meven added a comment to D25435: [Network Ioslave] Add Display name to network:/.

Ah, I see why: because the bug report is about remote:/, not network:/. I guess network needs this patch too, but it's not fully complete unless remote:/` gets the same fix.

Nov 21 2019, 2:11 PM · Frameworks, Dolphin
meven updated the diff for D25117: file ioslave: stop copying as soon as the ioslave is killed.

Rebase on master

Nov 21 2019, 1:13 PM · Frameworks
meven updated the diff for D25117: file ioslave: stop copying as soon as the ioslave is killed.

Keep FileCopyJob::doKill

Nov 21 2019, 1:09 PM · Frameworks
meven updated the diff for D25427: [Wayland] Allow to take full resolution screenshot when scaling is used.

Rename variable to proper name

Nov 21 2019, 10:52 AM · KWin
meven added a comment to D25435: [Network Ioslave] Add Display name to network:/.

I think this needs a add_definitions(-DTRANSLATION_DOMAIN and Messages.sh file?

Nov 21 2019, 10:46 AM · Frameworks, Dolphin
meven updated the diff for D25435: [Network Ioslave] Add Display name to network:/.

Clean

Nov 21 2019, 10:45 AM · Frameworks, Dolphin
meven updated the diff for D25435: [Network Ioslave] Add Display name to network:/.

fix

Nov 21 2019, 10:44 AM · Frameworks, Dolphin
meven updated the diff for D25435: [Network Ioslave] Add Display name to network:/.

Add translation and Messages.sh to network:/

Nov 21 2019, 10:42 AM · Frameworks, Dolphin
meven updated the diff for D25436: [Remote ioslave] Add Display Name to remote:/.

Update commit message

Nov 21 2019, 10:29 AM · Frameworks
meven retitled D25436: [Remote ioslave] Add Display Name to remote:/ from [Remote ioslave] Add Display Name to remote:// to [Remote ioslave] Add Display Name to remote:/.
Nov 21 2019, 10:28 AM · Frameworks
meven added a comment to D25335: [Details mode] Allow to fill the column size of directories with actual size.

ping @ngraham anything to add ?

Nov 21 2019, 10:27 AM · Dolphin
meven updated the diff for D25435: [Network Ioslave] Add Display name to network:/.

Formatting

Nov 21 2019, 10:14 AM · Frameworks, Dolphin
meven updated the test plan for D25436: [Remote ioslave] Add Display Name to remote:/.
Nov 21 2019, 10:13 AM · Frameworks
meven requested review of D25436: [Remote ioslave] Add Display Name to remote:/.
Nov 21 2019, 10:13 AM · Frameworks
meven requested review of D25435: [Network Ioslave] Add Display name to network:/.
Nov 21 2019, 10:08 AM · Frameworks, Dolphin
meven accepted D25432: Fix HTTP proxy settings.

Thank you for digging it !

Nov 21 2019, 9:06 AM · Frameworks
meven added a reviewer for D25432: Fix HTTP proxy settings: Frameworks.
Nov 21 2019, 8:59 AM · Frameworks
meven added a comment to D25010: [StatJob] Use A QFlag to specify the details returned by StatJob.

Hmm, I meant Name is always useful when *listing*. But when *stating*, we don't always need to get the name back. The NoDetails comment is about a stat that really can just succeed/fail.

I added

enum StatDetail {
    /// No field returned, useful to check if a file exists
    NoDetails = 0x0,

Funny thing is that statx includes always the name, down to syscall we can save at most STATX_SIZE , STATX_TYPE fields in NoDetails case.
I updated kdiroperator.cpp to use it line 748 since it only checks if a file exists.
This code path is not run for local files anyway.

Nov 21 2019, 8:48 AM · Frameworks
meven updated the diff for D25010: [StatJob] Use A QFlag to specify the details returned by StatJob.

Add NoDetails to StatDetail, add StatJob::setDetails\(KIO::StatDetail detail\), small comment update

Nov 21 2019, 8:42 AM · Frameworks

Nov 20 2019

meven committed R241:9550ad88a995: [KDirOperator] Add Backspace shortcut to back action (authored by meven).
[KDirOperator] Add Backspace shortcut to back action
Nov 20 2019, 7:35 PM
meven closed D25402: [KDirOperator] Add Backspace shortcut to back action.
Nov 20 2019, 7:35 PM · Frameworks
meven added a comment to D25427: [Wayland] Allow to take full resolution screenshot when scaling is used.

This approach will probably fail when the geometry stretches across multiple outputs with different scales.

Nov 20 2019, 6:53 PM · KWin
meven updated the diff for D25402: [KDirOperator] Add Backspace shortcut to back action.

Move shortcut to Back action instead of cdUp

Nov 20 2019, 6:43 PM · Frameworks
meven retitled D25402: [KDirOperator] Add Backspace shortcut to back action from [KDirOperator] Add Backspace shortcut to cdUp action to [KDirOperator] Add Backspace shortcut to back action.
Nov 20 2019, 6:40 PM · Frameworks
meven added a comment to D25402: [KDirOperator] Add Backspace shortcut to back action.

Generally this key is used for "Back," not "Up." If we do this, it will be inconsistent with Dolphin. Maybe we should just match Dolphin's behavior.

Nov 20 2019, 6:40 PM · Frameworks
meven requested review of D25427: [Wayland] Allow to take full resolution screenshot when scaling is used.
Nov 20 2019, 6:22 PM · KWin
meven committed R128:a6f37349cd40: Make avatar icon dpr aware aka HiDPI rendered (authored by meven).
Make avatar icon dpr aware aka HiDPI rendered
Nov 20 2019, 5:13 PM
meven closed D25395: Make avatar icon dpr aware aka HiDPI rendered.
Nov 20 2019, 5:13 PM · Plasma
meven added reviewers for D25402: [KDirOperator] Add Backspace shortcut to back action: ngraham, elvisangelaccio.
Nov 20 2019, 1:23 PM · Frameworks
meven updated the diff for D25010: [StatJob] Use A QFlag to specify the details returned by StatJob.

Typos, rephrase a comment, move FileProtocol::getStatDetails to file.cpp, add a TODO for in file_win.cpp

Nov 20 2019, 1:16 PM · Frameworks
meven requested review of D25420: [KFileWidget] Avoid calling slotOk right after the url changed.
Nov 20 2019, 12:08 PM · Frameworks
meven added a reviewer for D25395: Make avatar icon dpr aware aka HiDPI rendered: ngraham.
Nov 20 2019, 6:58 AM · Plasma
meven added a comment to D25398: Check values have changed before setting the model.

I had a look at the others :

Something I noticed when having an avatar and setting any other parameter.
Apparently AccountService removes the icon as it considered it transient cache data :
https://github.com/magcius/accountsservice/blob/eb166ec7592704a897594f7ca4c47b70d871a85c/src/daemon.c#L1105

So it's an upstream issue? Is that really where upstream AccountsService lives? Some random guy's GitHub?

This was a clone of an old version.

Nov 20 2019, 6:56 AM · Plasma

Nov 19 2019

meven added a comment to D25398: Check values have changed before setting the model.

Nice. Does this fix any of these?

This diff fix this one

Nov 19 2019, 7:31 PM · Plasma
meven updated the summary of D25398: Check values have changed before setting the model.
Nov 19 2019, 7:18 PM · Plasma
meven updated the diff for D25395: Make avatar icon dpr aware aka HiDPI rendered.

Code style

Nov 19 2019, 5:26 PM · Plasma
meven requested review of D25402: [KDirOperator] Add Backspace shortcut to back action.
Nov 19 2019, 2:42 PM · Frameworks
meven added a comment to D25398: Check values have changed before setting the model.
In D25398#564639, @apol wrote:

The commit message looks wrong, maybe you meant PolicyKit? PackageKit should be irrelevant.

Nov 19 2019, 2:07 PM · Plasma
meven updated the test plan for D25398: Check values have changed before setting the model.
Nov 19 2019, 2:06 PM · Plasma
meven requested review of D25398: Check values have changed before setting the model.
Nov 19 2019, 11:55 AM · Plasma
meven updated the test plan for D25395: Make avatar icon dpr aware aka HiDPI rendered.
Nov 19 2019, 11:21 AM · Plasma
meven requested review of D25395: Make avatar icon dpr aware aka HiDPI rendered.
Nov 19 2019, 11:17 AM · Plasma

Nov 18 2019

meven added a comment to D25328: Always rehiglhight() after definition was changed.

Hmm, the use case is that it re-highlights if you set an invalid definition?

Nov 18 2019, 4:55 PM · Frameworks, Kate
meven committed R241:3874f9f8a4b7: [Samba] Improve warning message about netbios name (authored by meven).
[Samba] Improve warning message about netbios name
Nov 18 2019, 1:09 PM
meven closed D25355: [Samba] Improve warning message about netbios name.
Nov 18 2019, 1:09 PM · Frameworks
meven updated the diff for D25355: [Samba] Improve warning message about netbios name.

Improve reliability

Nov 18 2019, 1:06 PM · Frameworks

Nov 17 2019

meven updated the diff for D25355: [Samba] Improve warning message about netbios name.

Fix

Nov 17 2019, 3:35 PM · Frameworks
meven updated the summary of D25355: [Samba] Improve warning message about netbios name.
Nov 17 2019, 3:30 PM · Frameworks
meven updated the diff for D25355: [Samba] Improve warning message about netbios name.

Display leftovers warnings if any

Nov 17 2019, 3:29 PM · Frameworks
meven requested review of D25355: [Samba] Improve warning message about netbios name.
Nov 17 2019, 3:27 PM · Frameworks
meven added a comment to D25335: [Details mode] Allow to fill the column size of directories with actual size.

I have an idea to perhaps replace the recursiveDirectorySizeLimit : using a timeout
That is, for instance, give 10ms per subdirectory 100 ms for the whole directory, to retrieve the directory size, if timeout is reached return the not-complete results : it will adapt to the IO system load and to drive speed.
This timeout might be configurable.

Nov 17 2019, 11:36 AM · Dolphin
meven added a reviewer for D25347: Remove dead code: elvisangelaccio.
Nov 17 2019, 10:31 AM · Dolphin
meven accepted D25347: Remove dead code.

Was introduced in https://phabricator.kde.org/D19926 but the feature changed quite a lot in the meantime.

Nov 17 2019, 10:31 AM · Dolphin

Nov 16 2019

meven added a comment to D25328: Always rehiglhight() after definition was changed.

Can't you call rehighlight() yourself after calling setDefinition()?

Btw, tanks for looking into this!

Nov 16 2019, 10:58 PM · Frameworks, Kate
meven added a comment to D25335: [Details mode] Allow to fill the column size of directories with actual size.

This is a feature I've wanted for ages, so I'm very excited to see a patch that implements it!

In terms of the UI, this shouldn't only be for Details view; it's possible to view sizes in icon view too, by adding the size metadata item below the filename.

Nov 16 2019, 3:22 PM · Dolphin
meven updated the summary of D25335: [Details mode] Allow to fill the column size of directories with actual size.
Nov 16 2019, 11:26 AM · Dolphin
meven updated the summary of D25335: [Details mode] Allow to fill the column size of directories with actual size.
Nov 16 2019, 11:25 AM · Dolphin
meven updated the test plan for D25335: [Details mode] Allow to fill the column size of directories with actual size.
Nov 16 2019, 11:24 AM · Dolphin
meven requested review of D25335: [Details mode] Allow to fill the column size of directories with actual size.
Nov 16 2019, 11:22 AM · Dolphin

Nov 15 2019

meven updated the summary of D25323: [text thumbnail] Force Syntax Highligthing when no definition for file was found.
Nov 15 2019, 2:10 PM · Frameworks, Dolphin
meven added a comment to D25323: [text thumbnail] Force Syntax Highligthing when no definition for file was found.

Thanks for looking at the issue. No time to look closer the next days, but curious about this partial change (which has been discussed before and discarded):
changing QColor ( 245, 245, 245 ); // light-grey background to highlightingTheme.editorColor(KSyntaxHighlighting::Theme::EditorColorRole::BackgroundColor) implies, one cannot use KSyntaxHighlighting to render text highlighted e.g. for a print-out on a paper (or only for a PDF). Compare e.g. the example https://phabricator.kde.org/source/syntax-highlighting/browse/master/examples/codepdfprinter/.

Nov 15 2019, 2:10 PM · Frameworks, Dolphin
meven updated the test plan for D25328: Always rehiglhight() after definition was changed.
Nov 15 2019, 2:09 PM · Frameworks, Kate
meven requested review of D25328: Always rehiglhight() after definition was changed.
Nov 15 2019, 2:08 PM · Frameworks, Kate
meven added a comment to D20766: Use appropriate background color for text previews.

I have opened https://phabricator.kde.org/D25323 to fix the missing highlighting in kio-extras.

Nov 15 2019, 10:55 AM · Frameworks, Dolphin
meven requested review of D25323: [text thumbnail] Force Syntax Highligthing when no definition for file was found.
Nov 15 2019, 10:54 AM · Frameworks, Dolphin

Nov 14 2019

meven added a comment to D20766: Use appropriate background color for text previews.

I believe the issue currently is that for text files or files without associated definition we end up with an invalid definition that prevents SyntaxHighlighter::setDefinition to call rehighlight().
QTextDocument uses then whatever it get from the theme I guess.
Kate has an explicit special case in KateHighlighting::KateHighlighting to insert a default Format.

Nov 14 2019, 6:00 PM · Frameworks, Dolphin
meven requested review of D25301: Move createUDSEntry from file.cpp to file_unix.cpp.
Nov 14 2019, 10:15 AM · Frameworks
meven updated subscribers of D22801: [KIO] silence a QFileInfo warning.

Are you not seeing these for instance when browsing an MSWin share in Dolphin (with the same or newer versions of kio-extras, Samba and MSWin)?ç

Nov 14 2019, 9:18 AM · Frameworks
meven added a comment to D25010: [StatJob] Use A QFlag to specify the details returned by StatJob.

friendly ping

Nov 14 2019, 8:41 AM · Frameworks
meven added a comment to D25117: file ioslave: stop copying as soon as the ioslave is killed.

Anyone to review this ? 30 lines change + test

Nov 14 2019, 8:37 AM · Frameworks
meven committed R241:80d5f52b0675: [DeleteJob] Use a separate worker thread to run actual IO operation (authored by meven).
[DeleteJob] Use a separate worker thread to run actual IO operation
Nov 14 2019, 8:35 AM
meven closed D24962: [DeleteJob] Use a separate worker thread to run actual IO operation.
Nov 14 2019, 8:35 AM · Frameworks

Nov 13 2019

meven added a comment to D23507: Replace custom single threaded merge sort with std::stable_sort.

Seems sane to me and nice since it removes some code.

Nov 13 2019, 12:43 PM · Dolphin
meven added a comment to D22801: [KIO] silence a QFileInfo warning.

The issue could be as well located in previewjob.cpp.
Could you debug why KMountPoint::List::findByPath is called with an empty string or non-existing file.
We might want to prevent this to happen instead.

Nov 13 2019, 12:35 PM · Frameworks

Nov 12 2019

meven added a comment to D20427: When renaming files, move to next file using tab key..

This is a nice patch with just a few rough edges to polish.
I encourage @msciubidlo to have a look again.

Nov 12 2019, 2:03 PM · Dolphin
meven added a comment to D22802: [dolphin] make link with LLVM.

ping @rjvbb
Do you want someone else to commit this patch or do you want to do it yourself https://community.kde.org/Infrastructure/Phabricator ?

Nov 12 2019, 1:54 PM · Dolphin