yuyichao (Yichao Yu)
User

Projects

User does not belong to any projects.

Today

  • Clear sailing ahead.

Tomorrow

  • Clear sailing ahead.

Sunday

  • Clear sailing ahead.

User Details

User Since
Feb 15 2017, 5:03 PM (374 w, 1 d)
Availability
Available

Recent Activity

Jul 7 2020

yuyichao added a comment to D20790: Add highdpi support for RDP and VNC.

but I wanted to illustrate some of the unintended effects of your patch.

Jul 7 2020, 4:23 PM
yuyichao added a comment to D20790: Add highdpi support for RDP and VNC.

1920x1080 + /smart-sizing:3840x2160: bounds the window to 1920x1080, but xfreerdp is showing a 3840x2160 window, so it is cropped. (works without patch)

Jul 7 2020, 2:22 PM
yuyichao added a comment to D20790: Add highdpi support for RDP and VNC.

it will actually set a resolution of 7680x4320?

Jul 7 2020, 1:09 PM

Jul 6 2020

yuyichao added a comment to D20790: Add highdpi support for RDP and VNC.

Any review? I believe this is a bug fix and should not affect users without scaling so I'd like to merge in a few days if no one else is reviewing...

Jul 6 2020, 2:53 PM

Jun 13 2020

yuyichao closed D29822: Signal the main window about vnc disconnection.
Jun 13 2020, 1:46 PM

Jun 8 2020

yuyichao committed R241:f21fdf1fffc2: [KPropertiesDialog] Add Apply button to apply the change without closing the… (authored by yuyichao).
[KPropertiesDialog] Add Apply button to apply the change without closing the…
Jun 8 2020, 4:41 PM
yuyichao added a comment to D29822: Signal the main window about vnc disconnection.

Ping?

Jun 8 2020, 1:05 PM

May 25 2020

yuyichao added inline comments to D29822: Signal the main window about vnc disconnection.
May 25 2020, 8:12 PM

May 24 2020

yuyichao committed R626:5e667cab3bd9: [qt4] fix compiler warnings (authored by yuyichao).
[qt4] fix compiler warnings
May 24 2020, 5:45 AM
yuyichao committed R626:d50c9a51e5f3: [gtk2] compiler warnings (authored by yuyichao).
[gtk2] compiler warnings
May 24 2020, 5:45 AM
yuyichao committed R626:a47a9478e1ec: [gtk2, qt4] disable warnings from qt4 and gtk2 header by including them as… (authored by yuyichao).
[gtk2, qt4] disable warnings from qt4 and gtk2 header by including them as…
May 24 2020, 5:45 AM
yuyichao committed R626:531f498ab605: [qt5] Fix QTime depwarn (authored by yuyichao).
[qt5] Fix QTime depwarn
May 24 2020, 4:53 AM
yuyichao committed R626:eba616f607ce: [qt5] more sprintf depwarn fix (authored by yuyichao).
[qt5] more sprintf depwarn fix
May 24 2020, 4:27 AM
yuyichao committed R626:7a3e1220e89f: [qt5] Fix rects iteration depwarn (authored by yuyichao).
[qt5] Fix rects iteration depwarn
May 24 2020, 4:27 AM
yuyichao committed R626:9a18af508ef1: [qt5] Fix sprintf depwarn (authored by yuyichao).
[qt5] Fix sprintf depwarn
May 24 2020, 4:27 AM
yuyichao committed R626:72471b83ca1a: [qt5] More warnings (authored by yuyichao).
[qt5] More warnings
May 24 2020, 3:40 AM
yuyichao committed R626:12abc66407a3: [qt5] compiler warnings and formatting (authored by yuyichao).
[qt5] compiler warnings and formatting
May 24 2020, 3:23 AM
yuyichao committed R626:4a15c43a4d29: [qt5] Fix override suggestions from gcc 10 (authored by yuyichao).
[qt5] Fix override suggestions from gcc 10
May 24 2020, 3:23 AM
yuyichao committed R626:3c9d28531b0a: [utils] remove QTC_DISABLED_BORDER (authored by yuyichao).
[utils] remove QTC_DISABLED_BORDER
May 24 2020, 3:09 AM

May 23 2020

yuyichao committed R626:e25256333ecf: [qt5] duplicated component... (authored by yuyichao).
[qt5] duplicated component...
May 23 2020, 9:19 PM
yuyichao committed R626:ded557655156: [cmake] More casing fixes (authored by yuyichao).
[cmake] More casing fixes
May 23 2020, 8:50 PM
yuyichao committed R626:1f3b6cbf8b9c: [cmake] fix warning (authored by yuyichao).
[cmake] fix warning
May 23 2020, 8:47 PM
yuyichao committed R626:ed5a48fc0c25: [qt5] get rid of kdelibs4support dependency (authored by yuyichao).
[qt5] get rid of kdelibs4support dependency
May 23 2020, 8:46 PM

May 20 2020

yuyichao updated the diff for D29822: Signal the main window about vnc disconnection.

Add comment about preserving error messages for the user.

May 20 2020, 5:41 AM
yuyichao updated the diff for D29822: Signal the main window about vnc disconnection.

Include more disconnection cases than the ones from the vnc library.

May 20 2020, 5:38 AM
yuyichao requested review of D29822: Signal the main window about vnc disconnection.
May 20 2020, 5:04 AM

May 19 2020

yuyichao added reviewers for D20790: Add highdpi support for RDP and VNC: uwolfer, ahmadsamir, murrant, cfeck.
May 19 2020, 10:31 PM
yuyichao added a comment to D20790: Add highdpi support for RDP and VNC.

P.S. I'll add that I do prefer my version of the patch since it doesn't require multiplying and then dividing... Not particularly comfortable with that when scaling integers by a floating point factor....

May 19 2020, 10:23 PM
yuyichao added a comment to D20790: Add highdpi support for RDP and VNC.

What is holding back this review now? I've recently hit https://bugs.kde.org/show_bug.cgi?id=417310 (ok, 3 months ago... not that recent...)

May 19 2020, 10:19 PM

Apr 23 2020

yuyichao committed R626:0f528efd50ef: Fix compilation (authored by yuyichao).
Fix compilation
Apr 23 2020, 9:49 PM

Apr 11 2020

yuyichao committed R119:c20db943b994: Fix initial loading of autostart program names (authored by yuyichao).
Fix initial loading of autostart program names
Apr 11 2020, 1:53 PM
yuyichao closed D28113: Fix initial loading of autostart program names.
Apr 11 2020, 1:53 PM · Plasma

Apr 10 2020

yuyichao committed R205:6437967ce68f: Handle all Qt command line options (--help-all) (authored by yuyichao).
Handle all Qt command line options (--help-all)
Apr 10 2020, 7:20 PM
yuyichao closed D28704: Handle all Qt command line options (--help-all).
Apr 10 2020, 7:20 PM · KDE PIM

Apr 9 2020

yuyichao added a comment to D28704: Handle all Qt command line options (--help-all).

That's possible. This appears to be added (back?) with https://code.qt.io/cgit/qt/qtbase.git/commit/?id=341c8b9cd08 last May which is newer than the 5.12 branch point it seems. My kalarm --help (as well as most other KDE/Qt programs) shows (a variant of),

Apr 9 2020, 3:37 PM · KDE PIM
yuyichao requested review of D28704: Handle all Qt command line options (--help-all).
Apr 9 2020, 2:17 PM · KDE PIM

Apr 8 2020

yuyichao committed R626:1f9dcbe43034: [qt5] fix more depwarns (authored by yuyichao).
[qt5] fix more depwarns
Apr 8 2020, 11:51 PM
yuyichao committed R626:399d6a564874: [qt5] fix more depwarns (authored by yuyichao).
[qt5] fix more depwarns
Apr 8 2020, 11:36 PM
yuyichao committed R626:a234574b387f: [qt5] Fix `QPalette::background()` depwarn (authored by yuyichao).
[qt5] Fix `QPalette::background()` depwarn
Apr 8 2020, 11:00 PM
yuyichao committed R626:50a81a1a36ef: [qt5] Fix SpinMirror drawing in kalarm (authored by yuyichao).
[qt5] Fix SpinMirror drawing in kalarm
Apr 8 2020, 10:47 PM
yuyichao committed R626:edf540f1a5ef: [qt5, NFC] Format to match QCommonStyle implemenation better. (authored by yuyichao).
[qt5, NFC] Format to match QCommonStyle implemenation better.
Apr 8 2020, 10:47 PM

Mar 30 2020

yuyichao added a comment to D28113: Fix initial loading of autostart program names.

Ping?

Mar 30 2020, 10:08 PM · Plasma

Mar 18 2020

yuyichao requested review of D28113: Fix initial loading of autostart program names.
Mar 18 2020, 3:07 AM · Plasma

Feb 29 2020

yuyichao committed R404:45d7ed4ec3ae: Fix accidental revealing of items when the game is restarted after lost from a… (authored by yuyichao).
Fix accidental revealing of items when the game is restarted after lost from a…
Feb 29 2020, 4:24 PM
yuyichao closed D27716: Fix accidental revealing of items when the game is restarted after lost from a middle click..
Feb 29 2020, 4:24 PM
yuyichao added a comment to D27716: Fix accidental revealing of items when the game is restarted after lost from a middle click..

Yeah I was also looking for a test and didn't find any...

Feb 29 2020, 2:57 PM

Feb 28 2020

yuyichao updated the diff for D27716: Fix accidental revealing of items when the game is restarted after lost from a middle click..

Grammar & format.

Feb 28 2020, 3:34 PM
yuyichao updated the diff for D27716: Fix accidental revealing of items when the game is restarted after lost from a middle click..

Change comment style.

Feb 28 2020, 3:05 AM
yuyichao updated the summary of D27716: Fix accidental revealing of items when the game is restarted after lost from a middle click..
Feb 28 2020, 3:04 AM
yuyichao added a comment to D27716: Fix accidental revealing of items when the game is restarted after lost from a middle click..

P.S. is 404 really the number of this repo?.... I seriously thought there was an error when searching for kmine here showed me R404: KMines .....

Feb 28 2020, 3:02 AM
yuyichao updated the summary of D27716: Fix accidental revealing of items when the game is restarted after lost from a middle click..
Feb 28 2020, 2:59 AM
yuyichao requested review of D27716: Fix accidental revealing of items when the game is restarted after lost from a middle click..
Feb 28 2020, 2:56 AM

Jul 24 2019

yuyichao added a comment to D22719: Avoid yet another crash on exit.

Not necessarily, QStringList::at(0) could return an empty QString instance if the list is empty.

Jul 24 2019, 10:49 PM
yuyichao accepted D22719: Avoid yet another crash on exit.

Didn't know this can happen and lgtm.

Jul 24 2019, 3:42 PM

Jun 5 2019

yuyichao committed R626:ee2228ea2f18: [utils/gtkprops] Remove unnecessary constexpr, this is not allowed in C++14 (authored by yuyichao).
[utils/gtkprops] Remove unnecessary constexpr, this is not allowed in C++14
Jun 5 2019, 7:05 PM

Sep 11 2018

yuyichao committed R626:38117fb9e4f2: Bump version for 1.9 release (authored by yuyichao).
Bump version for 1.9 release
Sep 11 2018, 11:49 AM

Jun 26 2018

yuyichao accepted D13741: Switch from ENABLE_TEST to the ECM/CMake standard BUILD_TESTING.
Jun 26 2018, 4:21 PM

Feb 21 2018

yuyichao accepted D10725: QtCurve/KF5 : migrate away from KGlobalSettings::*Font() methods.
Feb 21 2018, 7:50 PM

Dec 11 2017

yuyichao committed R626:14eec32771fc: Introduce QTC_FALLTHROUGH (from LLVM) (authored by yuyichao).
Introduce QTC_FALLTHROUGH (from LLVM)
Dec 11 2017, 2:18 PM

Dec 8 2017

yuyichao added a comment to D9260: QtCurve: work around new QFont::setStyleName() side-effects (WIP/testing required).

Thanks, did you test?

Dec 8 2017, 6:35 PM
yuyichao accepted D9260: QtCurve: work around new QFont::setStyleName() side-effects (WIP/testing required).

It feels like the API could have hidden this completely and do all the dirty work when setting the style name... Anyway, the change looks right given the description of the problem and if this is what we have to deal with so be it........

Dec 8 2017, 4:59 PM

Dec 7 2017

yuyichao accepted D9229: QtCurve: avoid crashing/hanging on exit.
Dec 7 2017, 10:55 PM
yuyichao added a comment to D9229: QtCurve: avoid crashing/hanging on exit.

This is a qt bug that I can't reproduce and the change looks safe so LGTM....

Dec 7 2017, 10:55 PM
yuyichao added a comment to D9229: QtCurve: avoid crashing/hanging on exit.

In this case it's really an implementation detail, meant to unburden the main class which is becoming unwieldy, and make more isolated changes that don't require rebuilding the majority of the plugin each time you make a small change.

Dec 7 2017, 9:44 PM
yuyichao added a comment to D9229: QtCurve: avoid crashing/hanging on exit.

Implementation detail: the patch introduces a d pointer to a private subclass,

Dec 7 2017, 7:48 PM

Sep 2 2017

yuyichao added a comment to D7640: QtCurve: reduce progressbar timer overhead.

But I don't see how could do either for startTimer()?

Sep 2 2017, 10:27 AM · Plasma
yuyichao added a comment to D7640: QtCurve: reduce progressbar timer overhead.

Style::drawControl() is const, so one also has to move m_timer, m_progressBarAnimateTimer and m_progressBarAnimateFps to a private class, which in addition would have to have a q pointer and a startParentTimer() "proxy" so we can call Style::startTimer() from a const member function.

Sep 2 2017, 1:42 AM · Plasma
yuyichao accepted D7640: QtCurve: reduce progressbar timer overhead.
Sep 2 2017, 1:42 AM · Plasma

Jul 10 2017

yuyichao committed R626:b4d175d57a36: Translation fixes (authored by Abella).
Translation fixes
Jul 10 2017, 11:31 PM

Jun 26 2017

yuyichao accepted D6395: Search for kdelibs optionally.
Jun 26 2017, 10:15 PM

Jun 22 2017

yuyichao accepted D6341: Don't cache ENABLE_ variables.

LGTM.

Jun 22 2017, 12:51 PM
yuyichao added a comment to D6337: Consistently check for Qt dependencies.

Errors like: Error at qt5/CMakeLists.txt:34 (find_package):

Jun 22 2017, 12:33 PM
yuyichao added a comment to D6337: Consistently check for Qt dependencies.

Hmmm, option variable usually *are* stored in the cache (so that their setting persists between CMake invocations), but they indeed do have to be set to a default variable. It's possible my change didn't do that properly.

Jun 22 2017, 12:30 PM
yuyichao added a comment to D6337: Consistently check for Qt dependencies.

Also, what's the error mentioned in edebb86de2e2818f831cd2ac1967f12b83645b33 ? Does the find_package call errors even with QUIET specified? Conditionally running it should't cause much issue (qt4 is not the only one that's looking at kde4 settings but it probably doesn't matter too much at this point) the default value of enable_kde4/kf5 shouldn't need to depend on qt4/qt5 settings. That should remove cmake_dependent_option.

Jun 22 2017, 11:00 AM
yuyichao added a comment to D6337: Consistently check for Qt dependencies.

Hmm, why am I only hearing that now

Jun 22 2017, 10:45 AM
yuyichao added a comment to D6337: Consistently check for Qt dependencies.

automatic detection can still work.

Jun 22 2017, 10:31 AM
yuyichao requested changes to D6337: Consistently check for Qt dependencies.

It seems that there was an attempt to only do this if ENABLE_QT5 is not explicitly defined, but that test is flawed. There is no way to tell the difference between loading from a previous cache and the command line as -D is literally just setting a cache variable before it starts processing.

Jun 22 2017, 10:29 AM

Jun 4 2017

yuyichao committed R626:a1ec5f813fef: Bump version number to 1.9.0-rc1 (authored by yuyichao).
Bump version number to 1.9.0-rc1
Jun 4 2017, 7:21 PM

Jun 3 2017

yuyichao committed R626:63e4fac32877: A few additions to changelog (authored by yuyichao).
A few additions to changelog
Jun 3 2017, 7:17 PM
yuyichao committed R626:392e1db03470: Add missing <QtDebug> include when KDE integration is disabled. (authored by yuyichao).
Add missing <QtDebug> include when KDE integration is disabled.
Jun 3 2017, 7:09 PM

Jun 1 2017

yuyichao accepted D5909: Make X11 drop shadow size configurable (was: Revert huge shadow change).
Jun 1 2017, 1:07 PM

May 25 2017

yuyichao added inline comments to D5909: Make X11 drop shadow size configurable (was: Revert huge shadow change).
May 25 2017, 7:07 AM

May 18 2017

yuyichao requested changes to D5909: Make X11 drop shadow size configurable (was: Revert huge shadow change).

changed the shadow size from 6px to 30px

May 18 2017, 2:34 PM

May 6 2017

yuyichao added inline comments to D5702: avoid crash-on-exit issues during global destruction in stock Qt.
May 6 2017, 2:35 PM
yuyichao added inline comments to D5702: avoid crash-on-exit issues during global destruction in stock Qt.
May 6 2017, 1:50 PM
yuyichao accepted D5702: avoid crash-on-exit issues during global destruction in stock Qt.

Only very minor comments.

May 6 2017, 1:14 PM

Apr 27 2017

yuyichao accepted D5537: Add config option for SloppyMenuClose delay.

GTK config storing

Apr 27 2017, 5:20 PM

Apr 25 2017

yuyichao added a comment to D5537: Add config option for SloppyMenuClose delay.

The change LGTM. There's another copy in gtk2/common which should ideally be kept in sync (to not make it even harder to merge later) but that shouldn't cause any immediate problems since I don't think that version ever save config file.

Apr 25 2017, 2:28 PM

Apr 22 2017

yuyichao added a comment to D5537: Add config option for SloppyMenuClose delay.

I'm not familiar with what's the oldest Qt version that is still shipped by supported distributions but if

Apr 22 2017, 11:56 AM

Apr 21 2017

yuyichao accepted D5286: QtCurve alternative style for named menu section headers.

Assuming the coordinate calculations are correct (which I can never get right without seeing the result) this LGTM.

Apr 21 2017, 3:53 PM
yuyichao added a comment to D5537: Add config option for SloppyMenuClose delay.

I would, but this is new in Qt5.5

Apr 21 2017, 3:41 PM
yuyichao accepted D5539: Guard against calling.

Looks correct.

Apr 21 2017, 2:54 PM

Apr 15 2017

yuyichao accepted D5470: Make build against Qt 5.9.0.
Apr 15 2017, 10:49 PM

Mar 30 2017

yuyichao accepted D5178: QtCurve/Qt5 : further KF5 adaptation.

Is this the new review platform?

Mar 30 2017, 2:54 PM

Feb 15 2017

yuyichao added a comment to D3602: Cycle between windows of the same desktop on switch.

While this proposed behavior might indeed not be expected by everyone, this is not really a problem: Those who would not expect the wrap-around behavior would not expect anything to happen at all, and therefore not even press the shortcut if they are at the left-/rightmost window. If they do press it anyway (maybe by accident), they might be surprised at first, but it will be easy to them to get back to where they were before, and then they can still decide whether or not they want to use the shortcut in such situations in the future.

Feb 15 2017, 5:14 PM · KWin