Feed Advanced Search

May 7 2017

markg committed R135:7a7dfffba98d: Implement QPlatformTheme::fileIconPixmap() to make QFileIconProvider work. (authored by eshalygin).
Implement QPlatformTheme::fileIconPixmap() to make QFileIconProvider work.
May 7 2017, 2:49 PM
markg closed D5538: Implement QPlatformTheme::fileIconPixmap() by committing R135:7a7dfffba98d: Implement QPlatformTheme::fileIconPixmap() to make QFileIconProvider work. (authored by eshalygin).
May 7 2017, 2:49 PM · Plasma
markg accepted D5538: Implement QPlatformTheme::fileIconPixmap().

Oke by me. Commit lands in a few minutes.

May 7 2017, 2:43 PM · Plasma

May 2 2017

markg added a comment to D5538: Implement QPlatformTheme::fileIconPixmap().

I would prefer if someone else ships it on your behalf, my setup is rather broken.
If nobody does it, i will somewhere next weekend.

May 2 2017, 8:43 PM · Plasma

Apr 30 2017

markg accepted D5670: Avoid deep copy of image data when getting pixmaps in SNIs.
Apr 30 2017, 11:41 PM · Plasma
markg accepted D5538: Implement QPlatformTheme::fileIconPixmap().

Ship it :)

Apr 30 2017, 11:17 PM · Plasma

Apr 25 2017

markg accepted D5582: [Media Controller] Support CanPlay/CanPause.

Looks good to me. Nice :)

Apr 25 2017, 8:27 PM · Plasma

Apr 21 2017

markg accepted D5538: Implement QPlatformTheme::fileIconPixmap().

Looks OK to me.
Wait for a second accept though.

Apr 21 2017, 2:52 PM · Plasma
markg added a comment to D5538: Implement QPlatformTheme::fileIconPixmap().

It pains me a bit to say this since it looks like you've spend quite a bit of time writing that code.
But please do look at KIO::iconNameForUrl [1] (like also suggested by Kai on reviewboard). Much of the code can likely be replaced by just using that instead.

Apr 21 2017, 2:26 PM · Plasma

Apr 20 2017

markg added inline comments to D5524: Use System Dictionary for Suggestions Model.
Apr 20 2017, 2:12 PM · Plasma

Apr 19 2017

markg accepted D5506: Don't even try to create icons with empty sizes.

:)

Apr 19 2017, 12:34 PM · Frameworks
markg requested changes to D5506: Don't even try to create icons with empty sizes.
Apr 19 2017, 12:19 PM · Frameworks

Apr 16 2017

markg accepted D5461: Don't update the focused pointer Surface if a button is pressed.

Fine by me :)

Apr 16 2017, 1:41 PM · Plasma

Apr 15 2017

markg added inline comments to D5461: Don't update the focused pointer Surface if a button is pressed.
Apr 15 2017, 3:59 PM · Plasma
markg accepted D5424: [Notifications] Introduce "settings" action.

Imho, it looks a lot better! Nice job!
Don't push it just yet though. Wait for the VDG to chime in.

Apr 15 2017, 11:29 AM · Plasma
markg added inline comments to D5461: Don't update the focused pointer Surface if a button is pressed.
Apr 15 2017, 10:01 AM · Plasma

Apr 11 2017

markg added a comment to D5345: Calendar: Use correct language for month and day names.

I'm just curious. Why is the day name determined in QML (in the lines you edited, but was there before as well) and on the C++ side?
It smells like a redundancy.

Apr 11 2017, 3:13 PM · Frameworks, Plasma

Apr 4 2017

markg added a reviewer for D5299: Fix KDirlister Gui Test setting URL scheme twice: dfaure.
Apr 4 2017, 5:35 PM · Frameworks

Mar 27 2017

markg added a comment to D5199: Reflect trash state in iconNameForUrl.

Hmm, i don't know about the performance penalty you get when using KConfig...
It "looks" ok, but that's without knowing the above.

Mar 27 2017, 5:08 PM · Frameworks
markg accepted D5198: [Folder View] Use KIO::iconNameForUrl.

Fancy!
I learned something new, thank you :)

Mar 27 2017, 5:00 PM · Plasma
markg accepted D5192: Connect aboutToHide signal from QMenu to relevant libdbusmenu-qt slot.
Mar 27 2017, 11:55 AM · Plasma

Mar 25 2017

markg added inline comments to D5172: Implement high DPI support in KWin QPA.
Mar 25 2017, 4:00 PM · Plasma

Feb 27 2017

markg added a comment to D4818: Make the hover state optional..

I really doubt the usefulness in supporting this "feature".
It smalls like something one distribution apparently wants, but the vast majority is fine with having the hover effect there. In fact, they might even consider it a bug - i would - if it doesn't change on hover.

Feb 27 2017, 11:47 AM · Plasma

Feb 21 2017

markg added a comment to D4491: Let make taskmanager tooltip readable again.

I must investigate why elide does not work, margins are a bit different from others like systray, kicker, etc.
I figure out it, maximumLineCount or height sould be setted, i unsetted height...
maximumLineCount should be 1 or more? Elided should be left if application is RightToLeft ? Also margins to abobt to others ?

Feb 21 2017, 11:27 PM · Plasma

Feb 19 2017

markg reopened D4491: Let make taskmanager tooltip readable again.

So now i'm on the correct revision it seems.

Feb 19 2017, 8:25 PM · Plasma
markg added a comment to D3738: [Task Manager] Tooltips redesign.
In D3738#87617, @subdiff wrote:
In D3738#87601, @markg wrote:

...

There has already been a commit to master tackling this issue: https://phabricator.kde.org/D4491

Feb 19 2017, 8:01 PM · VDG, Plasma
markg reopened D3738: [Task Manager] Tooltips redesign.

Hmm, i don't know if this is the appropriate way in a phabricator workflow. But this does reach exactly those involved in this change which is what i intent.

Feb 19 2017, 4:32 PM · VDG, Plasma

Feb 5 2017

markg added a comment to D4439: KDirWatch: fix memory leak on destruction..
In D4439#83310, @aacid wrote:
In D4439#83166, @dfaure wrote:

It's not crazy, but

  • then it should use QVector instead of QList (Client is a "big" struct, bigger than a pointer)

The problem with QVector is that it doesn't have erase(iterator) built in like QList has.

  • I would be worried about copies happening unexpectedly (can this code compile with forbidden copy ctor for Client? I guess not as is due to insertion into the vector.... but maybe std::move can be used there, or simply setting the members directly onto a ref for vector[i]).

Without the copy constructor there's quite a lot of things that don't work. OTOH all the data in Client is basiclaly POD, but i guess at some point it could be "a lot of copying", if you think it's worth it i can investigate some "less Q and more C++11-y stuff" and see if std::move or something works

Feb 5 2017, 8:33 PM · Frameworks
markg added a comment to D4439: KDirWatch: fix memory leak on destruction..

Hmm, this is exactly the reason why i always go for either smart pointers or stack objects. Both prevent this issue from occurring in the first place.

Feb 5 2017, 12:18 PM · Frameworks

Feb 4 2017

markg accepted D4431: Add KUrlRequester::setMimeTypeFilters..

Looks good to me.

Feb 4 2017, 6:44 PM · Frameworks

Jan 9 2017

markg added a comment to D4057: Reuse QAction and QMenu items on updates.

Hi David,

Jan 9 2017, 11:57 PM · Plasma

Jan 8 2017

markg accepted D4028: Sort out compile warnings on unused vars.
Jan 8 2017, 11:27 PM · Plasma
markg accepted D4031: warning on unused var.
Jan 8 2017, 11:24 PM · Plasma
markg accepted D4030: Remove shell's copy of PlasmaQuick headers.

Ahh, now it's gone.

Jan 8 2017, 11:22 PM · Plasma
markg requested changes to D4030: Remove shell's copy of PlasmaQuick headers.
Jan 8 2017, 11:20 PM · Plasma
markg accepted D4029: Remove private include of PlasmaQuick.
Jan 8 2017, 11:14 PM · Plasma
markg accepted D4012: Introduce Units singleton.

Looks nice and clean to me now :)
Nice job!

Jan 8 2017, 2:51 PM · Frameworks, Plasma
markg added inline comments to D4019: [ToolTipDialog] Use KWindowSystem::isPlatformX11() which is cached.
Jan 8 2017, 2:48 PM · Frameworks, Plasma
markg requested changes to D4012: Introduce Units singleton.
Jan 8 2017, 2:36 PM · Frameworks, Plasma

Sep 10 2016

markg committed R108:a83c177f07f5: Merge branch 'KDE/4.11' (authored by markg).
Merge branch 'KDE/4.11'
Sep 10 2016, 6:26 AM
markg committed R106:8e16a170619e: Make tooltip background blurred. (authored by markg).
Make tooltip background blurred.
Sep 10 2016, 3:56 AM

May 15 2016

markg added inline comments to D1366: Add Event Sounds stream to Applications list.
May 15 2016, 8:17 PM · Plasma