D29140: Show POTD in lock screen

2020-06-13 Thread Yunhe Guo
guoyunhe added a comment.


  Also in KDE Invent. 
https://invent.kde.org/plasma/kdeplasma-addons/-/merge_requests/3
  
  Can someone review it?

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D29140

To: guoyunhe, #plasma, davidre, broulik
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Show POTD in lock screen

2020-05-16 Thread Yunhe Guo
guoyunhe updated this revision to Diff 82996.
guoyunhe added a comment.


  No delete engine and watcher

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D29140?vs=82994=82996

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29140

AFFECTED FILES
  CMakeLists.txt
  dataengines/potd/PoTD-list.txt
  dataengines/potd/cachedprovider.cpp
  kdeds/CMakeLists.txt
  kdeds/potd/CMakeLists.txt
  kdeds/potd/README.md
  kdeds/potd/kded_potd.cpp
  kdeds/potd/kded_potd.desktop
  kdeds/potd/kded_potd.h

To: guoyunhe, #plasma, davidre, broulik
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Show POTD in lock screen

2020-05-16 Thread Yunhe Guo
guoyunhe updated this revision to Diff 82994.
guoyunhe added a comment.


  Remove unused slots

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D29140?vs=82993=82994

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29140

AFFECTED FILES
  CMakeLists.txt
  dataengines/potd/PoTD-list.txt
  dataengines/potd/cachedprovider.cpp
  kdeds/CMakeLists.txt
  kdeds/potd/CMakeLists.txt
  kdeds/potd/README.md
  kdeds/potd/kded_potd.cpp
  kdeds/potd/kded_potd.desktop
  kdeds/potd/kded_potd.h

To: guoyunhe, #plasma, davidre, broulik
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Show POTD in lock screen

2020-05-16 Thread Yunhe Guo
guoyunhe updated this revision to Diff 82993.
guoyunhe added a comment.


  Fix leaks

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D29140?vs=82821=82993

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29140

AFFECTED FILES
  CMakeLists.txt
  dataengines/potd/PoTD-list.txt
  dataengines/potd/cachedprovider.cpp
  kdeds/CMakeLists.txt
  kdeds/potd/CMakeLists.txt
  kdeds/potd/README.md
  kdeds/potd/kded_potd.cpp
  kdeds/potd/kded_potd.desktop
  kdeds/potd/kded_potd.h

To: guoyunhe, #plasma, davidre, broulik
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Show POTD in lock screen

2020-05-15 Thread Yunhe Guo
guoyunhe added a comment.


  Maybe it is some unknown Qt bug. You can try set wallpaper as Flickr POTD and 
check if you have `~/.cache/plasmashell/plasma_engine_potd/flickr` saved. 
Anyway, for photos, JPEG makes more sense than PNG.
  
  For the leaks, I really have no idea. (also asked some friends but no help) 
C++ isn't my primary programming language. If you can share some 
document/tutorials/examples...

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D29140

To: guoyunhe, #plasma, davidre, broulik
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Show POTD in lock screen

2020-05-14 Thread Yunhe Guo
guoyunhe updated this revision to Diff 82821.
guoyunhe added a comment.


  Code improvement

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D29140?vs=82819=82821

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29140

AFFECTED FILES
  CMakeLists.txt
  dataengines/potd/PoTD-list.txt
  dataengines/potd/cachedprovider.cpp
  kdeds/CMakeLists.txt
  kdeds/potd/CMakeLists.txt
  kdeds/potd/README.md
  kdeds/potd/kded_potd.cpp
  kdeds/potd/kded_potd.desktop
  kdeds/potd/kded_potd.h

To: guoyunhe, #plasma, davidre, broulik
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Show POTD in lock screen

2020-05-14 Thread Yunhe Guo
guoyunhe updated this revision to Diff 82819.
guoyunhe marked 9 inline comments as done.
guoyunhe added a comment.


  Fix small issues

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D29140?vs=82635=82819

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29140

AFFECTED FILES
  CMakeLists.txt
  dataengines/potd/PoTD-list.txt
  dataengines/potd/cachedprovider.cpp
  kdeds/CMakeLists.txt
  kdeds/potd/CMakeLists.txt
  kdeds/potd/README.md
  kdeds/potd/kded_potd.cpp
  kdeds/potd/kded_potd.desktop
  kdeds/potd/kded_potd.h

To: guoyunhe, #plasma, davidre, broulik
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Show POTD in lock screen

2020-05-14 Thread Yunhe Guo
guoyunhe marked 9 inline comments as done.
guoyunhe added inline comments.

INLINE COMMENTS

> davidre wrote in CMakeLists.txt:44
> Seems unused?

It is necessary for the KDED module. Without it, the compilation fails.

> davidre wrote in CMakeLists.txt:68
> unrelated

Will revert.

> davidre wrote in PoTD-list.txt:8
> Unrelated

It is related. It explains why sometimes APOD still fails to show in lock 
screen even after this fix.

> davidre wrote in cachedprovider.cpp:54
> Can't we save the image in its original format?

JPEG is the original format for all POTD providers. For the `save()` function, 
you must specify format or extension. It cannot guess the original format.

> davidre wrote in kded_potd.cpp:3
> QDebug

Will remove.

> davidre wrote in kded_potd.cpp:10
> unused

Will remove.

> davidre wrote in kded_potd.cpp:12
> You can use K_PLUGIN_CLASS_WITH_JSON

Changed

> davidre wrote in kded_potd.cpp:18
> this leaks

Fixed.

> davidre wrote in kded_potd.cpp:34
> Why don't we care if the data was updated?

We only want to trigger the caching behavior of POTD data engine. No need to do 
anything with the data itself.

> davidre wrote in kded_potd.cpp:46
> Why?

It won't work without this line. Each time you change and save lockscreen 
configuration, the `QFileSystemWatcher` stop watching the configuration file.

> davidre wrote in kded_potd.cpp:51
> Couldn't we get the config directly with "kscreenlockerrc" if we use 
> cascading either way? No need to seach for the actual path

I tried but it doesn't work.

> davidre wrote in kded_potd.h:21
> remove

Will do.

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D29140

To: guoyunhe, #plasma, davidre, broulik
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Fix POTD in lock screen (complete)

2020-05-12 Thread Yunhe Guo
guoyunhe updated this revision to Diff 82635.
guoyunhe added a comment.


  Fix watcher when file is recreated

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D29140?vs=82632=82635

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29140

AFFECTED FILES
  CMakeLists.txt
  dataengines/potd/PoTD-list.txt
  dataengines/potd/cachedprovider.cpp
  kdeds/CMakeLists.txt
  kdeds/potd/CMakeLists.txt
  kdeds/potd/kded_potd.cpp
  kdeds/potd/kded_potd.desktop
  kdeds/potd/kded_potd.h

To: guoyunhe, #plasma, ngraham
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Fix POTD in lock screen (complete)

2020-05-12 Thread Yunhe Guo
guoyunhe added a comment.


  @ngraham the kded module is working now. please have a look!

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D29140

To: guoyunhe, #plasma, ngraham
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Fix POTD in lock screen (partly)

2020-05-12 Thread Yunhe Guo
guoyunhe updated this revision to Diff 82632.
guoyunhe added a comment.


  Fix config file path

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D29140?vs=82620=82632

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29140

AFFECTED FILES
  CMakeLists.txt
  dataengines/potd/PoTD-list.txt
  dataengines/potd/cachedprovider.cpp
  kdeds/CMakeLists.txt
  kdeds/potd/CMakeLists.txt
  kdeds/potd/kded_potd.cpp
  kdeds/potd/kded_potd.desktop
  kdeds/potd/kded_potd.h

To: guoyunhe, #plasma, ngraham
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Fix POTD in lock screen (partly)

2020-05-12 Thread Yunhe Guo
guoyunhe added a comment.


  I created the kded service and it seems running. But it doesn't cache the 
image as I expected. Don't know how to debug it.

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D29140

To: guoyunhe, #plasma, ngraham
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Fix POTD in lock screen (partly)

2020-05-12 Thread Yunhe Guo
guoyunhe updated this revision to Diff 82620.
guoyunhe added a comment.


  Clean up libraries

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D29140?vs=82619=82620

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29140

AFFECTED FILES
  CMakeLists.txt
  dataengines/potd/PoTD-list.txt
  dataengines/potd/cachedprovider.cpp
  kdeds/CMakeLists.txt
  kdeds/potd/CMakeLists.txt
  kdeds/potd/kded_potd.cpp
  kdeds/potd/kded_potd.desktop
  kdeds/potd/kded_potd.h

To: guoyunhe, #plasma, ngraham
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Fix POTD in lock screen (partly)

2020-05-12 Thread Yunhe Guo
guoyunhe updated this revision to Diff 82619.
guoyunhe added a comment.


  Add file watcher

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D29140?vs=82610=82619

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29140

AFFECTED FILES
  CMakeLists.txt
  dataengines/potd/PoTD-list.txt
  dataengines/potd/cachedprovider.cpp
  kdeds/CMakeLists.txt
  kdeds/potd/CMakeLists.txt
  kdeds/potd/kded_potd.cpp
  kdeds/potd/kded_potd.desktop
  kdeds/potd/kded_potd.h

To: guoyunhe, #plasma, ngraham
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Fix POTD in lock screen (partly)

2020-05-11 Thread Yunhe Guo
guoyunhe updated this revision to Diff 82610.
guoyunhe added a comment.


  Draft for PoTD KDED. Not tested.

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D29140?vs=81064=82610

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29140

AFFECTED FILES
  CMakeLists.txt
  dataengines/potd/PoTD-list.txt
  dataengines/potd/cachedprovider.cpp
  kdeds/CMakeLists.txt
  kdeds/potd/CMakeLists.txt
  kdeds/potd/kded_potd.cpp
  kdeds/potd/kded_potd.desktop
  kdeds/potd/kded_potd.h

To: guoyunhe, #plasma, ngraham
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Fix POTD in lock screen (partly)

2020-05-11 Thread Yunhe Guo
guoyunhe added a comment.


  I was looking for kded documentation but cannot find a good example. Do you 
know any?

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D29140

To: guoyunhe, #plasma, ngraham
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29625: Add global shortcut

2020-05-11 Thread Yunhe Guo
guoyunhe updated this revision to Diff 82532.
guoyunhe added a comment.


  Create symlink

REPOSITORY
  R124 System Settings

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D29625?vs=82515=82532

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29625

AFFECTED FILES
  app/CMakeLists.txt
  app/systemsettings.desktop

To: guoyunhe, #plasma
Cc: davidre, ognarb, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29625: Add global shortcut

2020-05-11 Thread Yunhe Guo
guoyunhe updated this revision to Diff 82515.
guoyunhe added a comment.


  Use KGlobalAccel instead

REPOSITORY
  R124 System Settings

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D29625?vs=82508=82515

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29625

AFFECTED FILES
  app/CMakeLists.txt
  app/systemsettings.desktop

To: guoyunhe, #plasma
Cc: davidre, ognarb, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29625: Add global shortcut

2020-05-11 Thread Yunhe Guo
guoyunhe added a comment.


  In D29625#668190 , @ognarb wrote:
  
  > I think khotkeys is deprecated: https://phabricator.kde.org/T2050
  
  
  Not yet, it is delayed to KF6.

REPOSITORY
  R124 System Settings

REVISION DETAIL
  https://phabricator.kde.org/D29625

To: guoyunhe, #plasma
Cc: ognarb, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, 
zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29625: Add global shortcut

2020-05-11 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REVISION SUMMARY
  The "Tools" key is function key in some laptops. In ThinkPad + Windows, when 
you press that key, it will open Control Panel or Windows 10 Settings. But in 
Linux, it does nothing. So I think it can be a good shortcut for System 
Settings because no other software use it.

REPOSITORY
  R124 System Settings

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29625

AFFECTED FILES
  app/CMakeLists.txt
  app/systemsettings.khotkeys

To: guoyunhe
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, 
fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D22700: Sync scaling DPI from Plasma to SDDM

2020-05-03 Thread Yunhe Guo
guoyunhe added a comment.


  In D22700#662323 , @filipf wrote:
  
  > In D22700#662134 , @guoyunhe 
wrote:
  >
  > > When I press the synchronize button, it looks like the `-dpi 144` (scale 
x1.5) option makes the UI elements huge (feel like x2 scale or more):
  > >
  > > F8280985: IMG_20200503_152810.jpg 
  >
  >
  > -dpi 144 works the same for me in Plasma and SDDM, but do file a bug under 
systemsettings->kcm_sddm and copy paste what you have in 
`/etc/sddm.conf.d/kde_settings.conf`. I'll investigate.
  
  
  I think it is more likely an SDDM issue, because its document says so and the 
issue can be reproduced without using kcm_sddm. So I reported it here 
https://github.com/sddm/sddm/issues/1253

REPOSITORY
  R123 SDDM Configuration Panel (KCM)

REVISION DETAIL
  https://phabricator.kde.org/D22700

To: filipf, #plasma, davidedmundson, ngraham
Cc: guoyunhe, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D22700: Sync scaling DPI from Plasma to SDDM

2020-05-03 Thread Yunhe Guo
guoyunhe added a comment.


  When I press the synchronize button, it looks like the `-dpi 144` (scale 
x1.5) option makes the UI elements huge (feel like x2 scale or more):
  
  F8280985: IMG_20200503_152810.jpg 

REPOSITORY
  R123 SDDM Configuration Panel (KCM)

REVISION DETAIL
  https://phabricator.kde.org/D22700

To: filipf, #plasma, davidedmundson, ngraham
Cc: guoyunhe, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Fix POTD in lock screen (partly)

2020-04-25 Thread Yunhe Guo
guoyunhe added a comment.


  Anyway, this patch just focus on fixing the cache issue.

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D29140

To: guoyunhe, #plasma
Cc: davidre, ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Fix POTD in lock screen (partly)

2020-04-25 Thread Yunhe Guo
guoyunhe added a comment.


  To totally solve the issue, there are several solutions I can find:
  
  1. POTD need to have a daemon process that can always access network. The 
lock screen send request to the daemon through DBus or other protocol.
  2. Create an invisible lock screen widget in the desktop, so it fetches and 
updates the POTD even before screen locks.
  
  The second option is much easier to do. Both will cause some performance 
impact.

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D29140

To: guoyunhe, #plasma
Cc: ngraham, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, ragreen, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Fix POTD in lock screen (partly)

2020-04-24 Thread Yunhe Guo
guoyunhe updated this revision to Diff 81064.
guoyunhe added a comment.


  Fix APOD and Flicker provider cache

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D29140?vs=81043=81064

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29140

AFFECTED FILES
  dataengines/potd/cachedprovider.cpp

To: guoyunhe, #plasma
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, 
fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29140: Fix POTD in lock screen (partly)

2020-04-23 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REVISION SUMMARY
  POTD was cached in `~/.cache/`. But lock screen seems not a process of 
current user, so it won't find the cache in user's home dir. So I changed cache 
location to `/tmp` and it starts to work. Note: it only works when your lock 
screen use the same POTD provider as your desktop wallpaper.

REPOSITORY
  R114 Plasma Addons

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29140

AFFECTED FILES
  dataengines/potd/cachedprovider.cpp

To: guoyunhe
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, 
fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D29040: Use colorful icon instead of monochrome icon for touchpad kcm

2020-04-21 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REVISION SUMMARY
  Use icons from preferences folder instead of devices folder.

REPOSITORY
  R119 Plasma Desktop

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D29040

AFFECTED FILES
  kcms/touchpad/kcm/kcm_touchpad.desktop

To: guoyunhe
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, 
fbampaloukas, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D27915: Use breeze icons for categories

2020-03-07 Thread Yunhe Guo
guoyunhe added a comment.


  In D27915#623862 , @davidre wrote:
  
  > In D27915#623859 , @guoyunhe 
wrote:
  >
  > > In D27915#623854 , @davidre 
wrote:
  > >
  > > > There is something wrong on your system, this is how before looks for 
me:
  > > >  F8163706: Screenshot_20200307_171017.PNG 

  > >
  > >
  > > Please ignore the content. I only want to compare the left panel.
  >
  >
  > Yes there is still a difference in the left panel in my screenshot compared 
to your before screenshot. Not pixelated and all categories colorful
  
  
  The "pixelated" icon only appears to HiDPI display. The "monochrome" icon 
only appears when the system has dejavu-fonts installed. It looks different in 
different distros.

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D27915

To: guoyunhe, #plasma
Cc: davidre, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D27915: Use breeze icons for categories

2020-03-07 Thread Yunhe Guo
guoyunhe added a comment.


  In D27915#623854 , @davidre wrote:
  
  > There is something wrong on your system, this is how before looks for me:
  >  F8163706: Screenshot_20200307_171017.PNG 

  
  
  Please ignore the content. I only want to compare the left panel.

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D27915

To: guoyunhe, #plasma
Cc: davidre, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D27915: Use breeze icons for categories

2020-03-07 Thread Yunhe Guo
guoyunhe updated this revision to Diff 77174.
guoyunhe added a comment.


  Change object-group to object

REPOSITORY
  R119 Plasma Desktop

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D27915?vs=77172=77174

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D27915

AFFECTED FILES
  applets/kimpanel/backend/ibus/emojier/emojier.cpp
  applets/kimpanel/backend/ibus/emojier/ui/CategoryAction.qml

To: guoyunhe, #plasma
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, 
fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D27915: Use breeze icons for categories

2020-03-07 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REPOSITORY
  R119 Plasma Desktop

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D27915

AFFECTED FILES
  applets/kimpanel/backend/ibus/emojier/emojier.cpp
  applets/kimpanel/backend/ibus/emojier/ui/CategoryAction.qml

To: guoyunhe
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, 
fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D27770: HiDPI improvement of left panel

2020-03-02 Thread Yunhe Guo
guoyunhe abandoned this revision.
guoyunhe marked an inline comment as done.
guoyunhe added a comment.


  I think there can be better solution. Use Breeze icons in the left panel 
instead of rendering the emoji.
  
  Reference design in Telegram Desktop:
  
  F8145244: image.png 
  
  In WhatsApp:
  
  F8145247: image.png 

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D27770

To: guoyunhe, #plasma, davidedmundson
Cc: davidedmundson, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D27770: HiDPI improvement of left panel

2020-03-02 Thread Yunhe Guo
guoyunhe marked an inline comment as done.
guoyunhe added inline comments.

INLINE COMMENTS

> davidedmundson wrote in emojier.cpp:83
> this is broken

Reverted

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D27770

To: guoyunhe, #plasma, davidedmundson
Cc: davidedmundson, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D27770: HiDPI improvement of left panel

2020-03-02 Thread Yunhe Guo
guoyunhe updated this revision to Diff 76758.
guoyunhe added a comment.


  Fix size

REPOSITORY
  R119 Plasma Desktop

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D27770?vs=76741=76758

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D27770

AFFECTED FILES
  applets/kimpanel/backend/ibus/emojier/emojier.cpp

To: guoyunhe, #plasma, davidedmundson
Cc: davidedmundson, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, 
jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D27770: HiDPI improvement of left panel

2020-03-01 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REPOSITORY
  R119 Plasma Desktop

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D27770

AFFECTED FILES
  applets/kimpanel/backend/ibus/emojier/emojier.cpp

To: guoyunhe
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, 
fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D27556: HiDPI pixmap

2020-02-22 Thread Yunhe Guo
guoyunhe marked an inline comment as done.
guoyunhe added inline comments.

INLINE COMMENTS

> anthonyfieroni wrote in AuthDialog.cpp:108
> You wanna use `devicePixelRatioF` right?

Fixed thanks!

REPOSITORY
  R121 Policykit (Polkit) KDE Agent

REVISION DETAIL
  https://phabricator.kde.org/D27556

To: guoyunhe, #plasma
Cc: anthonyfieroni, apol, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, 
cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, 
alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, 
ahiemstra, mart


D27556: HiDPI pixmap

2020-02-22 Thread Yunhe Guo
guoyunhe updated this revision to Diff 76146.
guoyunhe marked 2 inline comments as done.
guoyunhe added a comment.


  Change devicePixelRatio() to devicePixelRatioF()

REPOSITORY
  R121 Policykit (Polkit) KDE Agent

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D27556?vs=76145=76146

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D27556

AFFECTED FILES
  AuthDialog.cpp

To: guoyunhe, #plasma
Cc: anthonyfieroni, apol, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, 
cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, 
alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, 
ahiemstra, mart


D27556: HiDPI pixmap

2020-02-22 Thread Yunhe Guo
guoyunhe marked 2 inline comments as done.
guoyunhe added inline comments.

INLINE COMMENTS

> apol wrote in AuthDialog.cpp:108
> You should get the dpr from the window, not the qApp. Different screens will 
> have different dprs.

Fixed. Getting it from widget now.

> apol wrote in AuthDialog.cpp:133
> All are integers, why are you turning it into QPointF?

This is how HiDPI QPainter works.

Source https://doc.qt.io/qt-5/highdpi.html#migrate-existing-applications

> Always use the qreal versions of the QPainter drawing API.

REPOSITORY
  R121 Policykit (Polkit) KDE Agent

REVISION DETAIL
  https://phabricator.kde.org/D27556

To: guoyunhe, #plasma
Cc: anthonyfieroni, apol, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, 
cblack, jraleigh, zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, 
alexeymin, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, 
ahiemstra, mart


D27556: HiDPI pixmap

2020-02-22 Thread Yunhe Guo
guoyunhe updated this revision to Diff 76145.
guoyunhe added a comment.


  Get DPR from widget instead of app

REPOSITORY
  R121 Policykit (Polkit) KDE Agent

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D27556?vs=76128=76145

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D27556

AFFECTED FILES
  AuthDialog.cpp

To: guoyunhe, #plasma
Cc: apol, plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, 
zachus, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, ahiemstra, mart


D27556: HiDPI pixmap

2020-02-21 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REVISION SUMMARY
  Make the big icon at left side sharp in HiDPI screen.

REPOSITORY
  R121 Policykit (Polkit) KDE Agent

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D27556

AFFECTED FILES
  AuthDialog.cpp

To: guoyunhe
Cc: plasma-devel, Orage, LeGast00n, The-Feren-OS-Dev, cblack, jraleigh, zachus, 
fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D23831: Unsuccessful attempt to make KSignalPlotter render sharp chart in HiDPI display

2019-12-16 Thread Yunhe Guo
guoyunhe added a comment.


  CPU/IO Plasma widgets work pretty well in HiDPI screen. It should be solved 
if we make it a QML component, reusing the part from Plasma widgets.

REPOSITORY
  R111 KSysguard Library

REVISION DETAIL
  https://phabricator.kde.org/D23831

To: guoyunhe, #plasma
Cc: zzag, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25459: fix(kcm): improve i18n of device combobox

2019-12-06 Thread Yunhe Guo
guoyunhe added a comment.


  It seems impossible to align them if they are not in one QML file. 
`twinFormLayouts` can only refer ids of current context. This happens in 
several different KCMs. Would be great to have a solution for global alignment. 
But I think that need some changes to Kirigami.

REPOSITORY
  R104 KScreen

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25459

To: guoyunhe, kde-i18n-doc, #plasma, #localization, broulik, romangg
Cc: romangg, broulik, ltoscano, plasma-devel, LeGast00n, The-Feren-OS-Dev, 
jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25778: refactor(lookandfeelexplorer): Port mostly to QQC2

2019-12-06 Thread Yunhe Guo
guoyunhe added a comment.


  If your use `as QQC2` in your imports, `ComboBox` need to be changed to 
`QQC2.ComboBox`.

INLINE COMMENTS

> MetadataEditor.qml:108
>  }
>  ComboBox {
>  id: licenseField

This need to be changed to `QQC2.ComboBox`

> main.qml:49
> +collapsed: false;
>  topContent: ComboBox {
>  id: themeSelector

This need to be changed to `QQC2.ComboBox`

REPOSITORY
  R118 Plasma SDK

REVISION DETAIL
  https://phabricator.kde.org/D25778

To: ognarb, #vdg, #plasma
Cc: guoyunhe, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25459: fix(kcm): improve i18n of device combobox

2019-12-04 Thread Yunhe Guo
guoyunhe added a comment.


  Should we reassign a reviewer?

REPOSITORY
  R104 KScreen

REVISION DETAIL
  https://phabricator.kde.org/D25459

To: guoyunhe, kde-i18n-doc, #plasma, #localization, broulik
Cc: romangg, broulik, ltoscano, plasma-devel, LeGast00n, The-Feren-OS-Dev, 
jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25369: Shorten POTD provider names and remove description that is not used anywhere

2019-11-22 Thread Yunhe Guo
guoyunhe added a comment.


  I didn't find good solutions for QQC2. It has been a blocker for a long time 
https://bugs.kde.org/show_bug.cgi?id=403153

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D25369

To: guoyunhe, #plasma, ngraham
Cc: broulik, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25381: Make QPushButton/QToolButton the same height as QLineEdit

2019-11-22 Thread Yunhe Guo
guoyunhe added a comment.


  In D25381#566128 , @ndavis wrote:
  
  > `oxygen-demo5`
  
  
  Thanks for the tip!

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D25381

To: guoyunhe, #breeze, #plasma, ngraham, ndavis
Cc: ndavis, GB_2, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25381: Make QPushButton/QToolButton the same height as QLineEdit

2019-11-22 Thread Yunhe Guo
guoyunhe added a comment.


  Yes, this patch needs minimization. What is the software in your screenshot? 
@ndavis

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D25381

To: guoyunhe, #breeze, #plasma, ngraham, ndavis
Cc: ndavis, GB_2, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25459: Device ComboBox: fix label and layout

2019-11-22 Thread Yunhe Guo
guoyunhe updated this revision to Diff 70151.
guoyunhe added a comment.


  update commit message

REPOSITORY
  R104 KScreen

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D25459?vs=70149=70151

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25459

AFFECTED FILES
  kcm/package/contents/ui/Panel.qml

To: guoyunhe, kde-i18n-doc, #plasma, #localization
Cc: ltoscano, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, GB_2, ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25459: Device ComboBox: fix label and layout

2019-11-22 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REVISION SUMMARY
  The original label cause i18n problems, the parameter %1 is never given. The 
layout doesn't fit the form. This patch uses Kirigami label and form layout. 
And fix the i18n message.

REPOSITORY
  R104 KScreen

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25459

AFFECTED FILES
  kcm/package/contents/ui/Panel.qml

To: guoyunhe
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25381: Make QPushButton/QToolButton the same height as QLineEdit

2019-11-20 Thread Yunhe Guo
guoyunhe added a comment.


  I checked all KCM modules, the bottom row of buttons are all in same height 
(like the smaller button in your screenshot). Have you tried reboot?

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D25381

To: guoyunhe, #breeze, #plasma, ngraham
Cc: ndavis, GB_2, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25381: Make QPushButton/QToolButton the same height as QLineEdit

2019-11-20 Thread Yunhe Guo
guoyunhe added a comment.


  @ngraham which applications are they? I didn't see similar thing in my system.

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D25381

To: guoyunhe, #breeze, #plasma, ngraham
Cc: ndavis, GB_2, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25381: Make QPushButton/QToolButton the same height as QLineEdit

2019-11-20 Thread Yunhe Guo
guoyunhe updated this revision to Diff 70059.
guoyunhe added a comment.


  Force height consistency

REPOSITORY
  R31 Breeze

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D25381?vs=69954=70059

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25381

AFFECTED FILES
  kstyle/breezestyle.cpp

To: guoyunhe, #breeze, #plasma
Cc: ndavis, GB_2, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25381: Make QPushButton/QToolButton the same height as QLineEdit

2019-11-20 Thread Yunhe Guo
guoyunhe added a comment.


  The remaining 1px difference between QPushButton and QLineEdit is caused by 
content. QLineEdit directly expands from its content size, while QPushButton 
calculate size of text metrics and icons.

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D25381

To: guoyunhe, #breeze, #plasma
Cc: ndavis, GB_2, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25381: Make QPushButton/QToolButton the same height as QLineEdit

2019-11-19 Thread Yunhe Guo
guoyunhe added a comment.


  Left: JuK (Qt Widgets), Right: Elisa (Qt QML)
  
  F7771662: image.png 

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D25381

To: guoyunhe, #breeze, #plasma
Cc: ndavis, GB_2, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25381: Make QPushButton/QToolButton the same height as QLineEdit

2019-11-19 Thread Yunhe Guo
guoyunhe added a comment.


  In QML applications, buttons and line edits are already same height, the same 
height as QLineEdit in Qt Widgets applications. If we increase the height of 
QLineEdit, we have to change QML components' height, too. The amount of work 
will be bigger. If a view contains a lot of QLineEdit/QComboBox rows (like many 
KCM views), the content might overflow. So it is safer to make button height 
shorter.

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D25381

To: guoyunhe, #breeze, #plasma
Cc: ndavis, GB_2, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25381: Make QPushButton/QToolButton the same height as QLineEdit

2019-11-19 Thread Yunhe Guo
guoyunhe added a comment.


  In D25381#564404 , @ndavis wrote:
  
  > If we do make flat toolbuttons buttons (`autoRaise == true`) and non-flat 
buttons the same size, we will need to change the default icon size for all 
buttons to 22px, or we will have a ton of UI regressions. Any non-flat button 
with a fixed icon size is going to have a regression. Anyone who was using 
non-flat buttons with 22px icons to get a bigger clickable area will need to 
switch to 32px icons. This also means that breeze-icons' problem with 32px icon 
style consistency will show itself more often.
  
  
  Thanks for the remind!
  
  By default, QToolButton with 22px icons look good:
  
  F7771214: image.png 
  
  When change to 32px, still okay:
  
  F7771218: image.png 
  
  Maybe this is because Dolphin has all icons in 32px. Do you know any 
application that miss 32px icons in toolbar? Thanks!

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D25381

To: guoyunhe, #breeze, #plasma
Cc: ndavis, GB_2, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25381: Make QPushButton/QToolButton the same height as QLineEdit

2019-11-18 Thread Yunhe Guo
guoyunhe added a comment.


  In D25381#564370 , @ngraham wrote:
  
  > +1 conceptually, this will be nice to finally have fixed.
  >
  > But might the opposite make more sense? If we make buttons shorter, we're 
slightly reducing their click targets, but if we make line edits taller, all 
we're doing it reducing unused whitespace.
  
  
  From my personal experience, I didn't have any difficulty to click buttons of 
new sizes. And it seems the same height as buttons in Phabricator.

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D25381

To: guoyunhe, #breeze, #plasma
Cc: GB_2, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25381: Make QPushButton/QToolButton the same height as QLineEdit

2019-11-18 Thread Yunhe Guo
guoyunhe added a comment.


  In D25381#564378 , @GB_2 wrote:
  
  > Plus in the screenshot it looks like it's still not quite the same height.
  
  
  Yes, still 1px taller :(

REPOSITORY
  R31 Breeze

REVISION DETAIL
  https://phabricator.kde.org/D25381

To: guoyunhe, #breeze, #plasma
Cc: GB_2, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25381: Make QPushButton/QToolButton the same height as QLineEdit

2019-11-18 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REVISION SUMMARY
  BUG 411811

REPOSITORY
  R31 Breeze

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25381

AFFECTED FILES
  kstyle/breezestyle.cpp

To: guoyunhe
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25354: Fix POTD config ComboBox display issue in Lock Screen KCM

2019-11-18 Thread Yunhe Guo
guoyunhe added a comment.


  In D25354#564187 , @ngraham wrote:
  
  > 5.17 branch please.
  
  
  Not sure if I did it correctly...

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D25354

To: guoyunhe, #plasma, ngraham
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25369: Shorten POTD provider names and remove description that is not used anywhere

2019-11-18 Thread Yunhe Guo
guoyunhe updated this revision to Diff 69931.
guoyunhe added a comment.


  Fix typo

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D25369?vs=69930=69931

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25369

AFFECTED FILES
  dataengines/potd/apodprovider.json
  dataengines/potd/bingprovider.json
  dataengines/potd/epodprovider.json
  dataengines/potd/flickrprovider.json
  dataengines/potd/noaaprovider.json
  dataengines/potd/unsplashprovider.json
  dataengines/potd/wcpotdprovider.json

To: guoyunhe, #plasma, ngraham
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25369: Shorten POTD provider names and remove description that is not used anywhere

2019-11-18 Thread Yunhe Guo
guoyunhe added a comment.


  In D25369#564159 , @ngraham wrote:
  
  > Thanks! Can you add an explanation in the description section of this patch 
as to why you're removing the Description strings?
  
  
  Added.

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D25369

To: guoyunhe, #plasma, ngraham
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25369: Shorten POTD provider names and remove description that is not used anywhere

2019-11-18 Thread Yunhe Guo
guoyunhe updated this revision to Diff 69930.
guoyunhe added a comment.


  Keep old translations

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D25369?vs=69928=69930

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25369

AFFECTED FILES
  dataengines/potd/apodprovider.json
  dataengines/potd/bingprovider.json
  dataengines/potd/epodprovider.json
  dataengines/potd/flickrprovider.json
  dataengines/potd/noaaprovider.json
  dataengines/potd/unsplashprovider.json
  dataengines/potd/wcpotdprovider.json

To: guoyunhe, #plasma, ngraham
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25354: Fix POTD config ComboBox display issue in Lock Screen KCM

2019-11-18 Thread Yunhe Guo
guoyunhe updated this revision to Diff 69929.
guoyunhe added a comment.


  Move string changes to another patch

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D25354?vs=69922=69929

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25354

AFFECTED FILES
  wallpapers/potd/contents/ui/config.qml

To: guoyunhe, #plasma
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25369: Shorten POTD provider names and remove description that is not used anywhere

2019-11-18 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REVISION SUMMARY
  QtQuick Controls 2 ComboBox doesn't handle long option well. Short names can 
solve the issue of D25354 .

REPOSITORY
  R114 Plasma Addons

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25369

AFFECTED FILES
  dataengines/potd/apodprovider.json
  dataengines/potd/bingprovider.json
  dataengines/potd/epodprovider.json
  dataengines/potd/flickrprovider.json
  dataengines/potd/natgeoprovider.json
  dataengines/potd/noaaprovider.json
  dataengines/potd/unsplashprovider.json
  dataengines/potd/wcpotdprovider.json

To: guoyunhe
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25354: Fix POTD config ComboBox display issue in Lock Screen KCM

2019-11-18 Thread Yunhe Guo
guoyunhe updated this revision to Diff 69922.
guoyunhe edited the summary of this revision.
guoyunhe added a comment.


  Shorten POTD provider names and remove descriptions that are never used 
anywhere.

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D25354?vs=69875=69922

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25354

AFFECTED FILES
  dataengines/potd/apodprovider.json
  dataengines/potd/bingprovider.json
  dataengines/potd/epodprovider.json
  dataengines/potd/flickrprovider.json
  dataengines/potd/natgeoprovider.json
  dataengines/potd/noaaprovider.json
  dataengines/potd/unsplashprovider.json
  dataengines/potd/wcpotdprovider.json
  wallpapers/potd/contents/ui/config.qml

To: guoyunhe, #plasma
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25354: Fix POTD config ComboBox display issue in Lock Screen KCM

2019-11-18 Thread Yunhe Guo
guoyunhe added a comment.


  Another approach is to shorten the texts:
  
  F7769821: image.png 

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D25354

To: guoyunhe, #plasma
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25354: Fix POTD config ComboBox display issue in Lock Screen KCM

2019-11-17 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REVISION SUMMARY
  BUG: 412976

TEST PLAN
  Open Lock Screen KCM. Change wallpaper type to Picture of The Day. Check the 
ComboBox of POTD.

REPOSITORY
  R114 Plasma Addons

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25354

AFFECTED FILES
  wallpapers/potd/contents/ui/config.qml

To: guoyunhe
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D25319: Fix issues from D24798 comments by @davidedmundson

2019-11-15 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REVISION SUMMARY
  Lower QQC2 version to minimum requirement. Add context to i18nc function. 
Cannot use `i18ncp` because the number isn't integer.

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D25319

AFFECTED FILES
  applets/digital-clock/package/contents/ui/configTimeZones.qml
  applets/systemmonitor/common/contents/ui/ConfigGeneral.qml

To: guoyunhe
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D24798: Migrate QQC1 to QQC2

2019-11-14 Thread Yunhe Guo
guoyunhe added a comment.


  I also tried to not use ScrollView but enable ListView's scrollbar:
  
ListView {

// add scrollbar, background and border
clip: true
flickableDirection: Flickable.VerticalFlick
boundsBehavior: Flickable.StopAtBounds
QQC2.ScrollBar.vertical: QQC2.ScrollBar { }
}
  
  But it has no border or background. And the scrolling speed is **crazily 
fast** when using touch pad... However, all Qt examples on the internet say it 
is the way to add scrollbar to Flickables. But it is really buggy. 
https://bugreports.qt.io/browse/QTBUG-56075

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D24798

To: guoyunhe, #plasma, #plasma_workspaces, ngraham
Cc: GB_2, ahiemstra, broulik, kmaterka, ngraham, plasma-devel, LeGast00n, 
The-Feren-OS-Dev, jraleigh, fbampaloukas, ragreen, ZrenBot, alexeymin, 
himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart


D24798: Migrate QQC1 to QQC2

2019-11-14 Thread Yunhe Guo
guoyunhe updated this revision to Diff 69739.
guoyunhe added a comment.


  Thanks for the tip. It seems added the border, but when scrolling, the top 
border or bottom border disappear. It cannot show full border at all sides.

REPOSITORY
  R120 Plasma Workspace

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D24798?vs=69730=69739

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24798

AFFECTED FILES
  applets/appmenu/package/contents/ui/main.qml
  applets/digital-clock/package/contents/ui/configTimeZones.qml
  applets/systemmonitor/common/contents/ui/ConfigGeneral.qml
  sddm-theme/KeyboardButton.qml
  sddm-theme/Main.qml
  sddm-theme/SessionButton.qml
  wallpapers/image/imagepackage/platformcontents/phone/ui/config.qml
  wallpapers/image/imagepackage/platformcontents/phone/ui/customwallpaper.qml

To: guoyunhe, #plasma, #plasma_workspaces, ngraham
Cc: ahiemstra, broulik, kmaterka, ngraham, plasma-devel, LeGast00n, 
The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, 
himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart


D24798: Migrate QQC1 to QQC2

2019-11-14 Thread Yunhe Guo
guoyunhe updated this revision to Diff 69730.
guoyunhe added a comment.


  Enable keyboard navigation and proper highlight

REPOSITORY
  R120 Plasma Workspace

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D24798?vs=69705=69730

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24798

AFFECTED FILES
  applets/appmenu/package/contents/ui/main.qml
  applets/digital-clock/package/contents/ui/configTimeZones.qml
  applets/systemmonitor/common/contents/ui/ConfigGeneral.qml
  sddm-theme/KeyboardButton.qml
  sddm-theme/Main.qml
  sddm-theme/SessionButton.qml
  wallpapers/image/imagepackage/platformcontents/phone/ui/config.qml
  wallpapers/image/imagepackage/platformcontents/phone/ui/customwallpaper.qml

To: guoyunhe, #plasma, #plasma_workspaces, ngraham
Cc: broulik, kmaterka, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, 
jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D24798: Migrate QQC1 to QQC2

2019-11-14 Thread Yunhe Guo
guoyunhe added a comment.


  Maybe the border of ScrollView is missing in breeze theme. I checked some 
other widgets, like network manager:
  
  F7762797: image.png 
  
  It also miss the border in the connection list.

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D24798

To: guoyunhe, #plasma, #plasma_workspaces, ngraham
Cc: broulik, kmaterka, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, 
jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D24798: Migrate QQC1 to QQC2

2019-11-13 Thread Yunhe Guo
guoyunhe updated this revision to Diff 69705.
guoyunhe added a comment.


  Prefix QQC2

REPOSITORY
  R120 Plasma Workspace

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D24798?vs=69703=69705

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24798

AFFECTED FILES
  applets/appmenu/package/contents/ui/main.qml
  applets/digital-clock/package/contents/ui/configTimeZones.qml
  applets/systemmonitor/common/contents/ui/ConfigGeneral.qml
  sddm-theme/KeyboardButton.qml
  sddm-theme/Main.qml
  sddm-theme/SessionButton.qml
  wallpapers/image/imagepackage/platformcontents/phone/ui/config.qml
  wallpapers/image/imagepackage/platformcontents/phone/ui/customwallpaper.qml

To: guoyunhe, #plasma, #plasma_workspaces, ngraham
Cc: broulik, kmaterka, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, 
jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D24798: Migrate QQC1 to QQC2

2019-11-13 Thread Yunhe Guo
guoyunhe updated this revision to Diff 69703.
guoyunhe added a comment.


  Rebase

REPOSITORY
  R120 Plasma Workspace

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D24798?vs=69701=69703

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24798

AFFECTED FILES
  applets/appmenu/package/contents/ui/main.qml
  applets/digital-clock/package/contents/ui/configAppearance.qml
  applets/digital-clock/package/contents/ui/configTimeZones.qml
  applets/digital-clock/plugin/timezonesi18n.cpp
  applets/systemmonitor/common/contents/ui/ConfigGeneral.qml
  sddm-theme/KeyboardButton.qml
  sddm-theme/Main.qml
  sddm-theme/SessionButton.qml
  wallpapers/image/imagepackage/platformcontents/phone/ui/config.qml
  wallpapers/image/imagepackage/platformcontents/phone/ui/customwallpaper.qml

To: guoyunhe, #plasma, #plasma_workspaces, ngraham
Cc: broulik, kmaterka, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, 
jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D24798: Migrate QQC1 to QQC2

2019-11-13 Thread Yunhe Guo
guoyunhe updated this revision to Diff 69701.
guoyunhe added a comment.


  Add QQC2 namespace

REPOSITORY
  R120 Plasma Workspace

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D24798?vs=68733=69701

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24798

AFFECTED FILES
  applets/appmenu/package/contents/ui/main.qml
  applets/digital-clock/package/contents/ui/configAppearance.qml
  applets/digital-clock/package/contents/ui/configTimeZones.qml
  applets/digital-clock/plugin/timezonesi18n.cpp
  applets/systemmonitor/common/contents/ui/ConfigGeneral.qml
  sddm-theme/BreezeMenuStyle.qml
  sddm-theme/KeyboardButton.qml
  sddm-theme/Main.qml
  sddm-theme/SessionButton.qml
  wallpapers/image/imagepackage/platformcontents/phone/ui/config.qml
  wallpapers/image/imagepackage/platformcontents/phone/ui/customwallpaper.qml

To: guoyunhe, #plasma, #plasma_workspaces, ngraham
Cc: broulik, kmaterka, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, 
jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D24798: Migrate QQC1 to QQC2

2019-10-25 Thread Yunhe Guo
guoyunhe updated this revision to Diff 68733.
guoyunhe added a comment.


  Merge kmaterka's patch D24853 

REPOSITORY
  R120 Plasma Workspace

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D24798?vs=68345=68733

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24798

AFFECTED FILES
  applets/appmenu/package/contents/ui/main.qml
  applets/digital-clock/package/contents/ui/configAppearance.qml
  applets/digital-clock/package/contents/ui/configTimeZones.qml
  applets/digital-clock/plugin/timezonesi18n.cpp
  applets/systemmonitor/common/contents/ui/ConfigGeneral.qml
  sddm-theme/BreezeMenuStyle.qml
  sddm-theme/KeyboardButton.qml
  sddm-theme/Main.qml
  sddm-theme/SessionButton.qml
  wallpapers/image/imagepackage/platformcontents/phone/ui/config.qml
  wallpapers/image/imagepackage/platformcontents/phone/ui/customwallpaper.qml

To: guoyunhe, #plasma, #plasma_workspaces, ngraham
Cc: kmaterka, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D24798: Migrate QQC1 to QQC2

2019-10-20 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REVISION SUMMARY
  The TableView in digital clock widget time zone configuration is replaced 
with ListView. Other UI didn't change.

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24798

AFFECTED FILES
  applets/appmenu/package/contents/ui/main.qml
  applets/digital-clock/package/contents/ui/configAppearance.qml
  applets/digital-clock/package/contents/ui/configTimeZones.qml
  applets/digital-clock/plugin/timezonesi18n.cpp
  applets/systemmonitor/common/contents/ui/ConfigGeneral.qml
  sddm-theme/BreezeMenuStyle.qml
  sddm-theme/KeyboardButton.qml
  sddm-theme/Main.qml
  sddm-theme/SessionButton.qml
  wallpapers/image/imagepackage/platformcontents/phone/ui/config.qml
  wallpapers/image/imagepackage/platformcontents/phone/ui/customwallpaper.qml

To: guoyunhe
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D24727: Fix NOAA picture of the day provider

2019-10-18 Thread Yunhe Guo
guoyunhe updated this revision to Diff 68225.
guoyunhe added a comment.


  Validate QUrl of image

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D24727?vs=68185=68225

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24727

AFFECTED FILES
  dataengines/potd/noaaprovider.cpp
  dataengines/potd/noaaprovider.h

To: guoyunhe, #plasma
Cc: sitter, ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, 
fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D24727: Fix NOAA picture of the day provider

2019-10-17 Thread Yunhe Guo
guoyunhe added a comment.


  In D24727#549327 , @ngraham wrote:
  
  > Still broken, I'm afraid. Among the console output is the following, which 
may be helpful:
  >
  >   kf5.kio.core: Invalid URL: QUrl("/sites/default/files/bomb-cycle-1.jpg")
  >
  
  
  The url in my patch is `QStringLiteral("https://www.nesdis.noaa.gov;) + 
result.captured(1);`. So it must begin with `https://`.

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D24727

To: guoyunhe, #plasma
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D24727: Fix NOAA picture of the day provider

2019-10-17 Thread Yunhe Guo
guoyunhe updated this revision to Diff 68185.
guoyunhe edited the summary of this revision.
guoyunhe added a comment.


  Change back to the original page URL

REPOSITORY
  R114 Plasma Addons

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D24727?vs=68126=68185

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24727

AFFECTED FILES
  dataengines/potd/noaaprovider.cpp
  dataengines/potd/noaaprovider.h

To: guoyunhe, #plasma
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D24727: Fix NOAA picture of the day provider

2019-10-17 Thread Yunhe Guo
guoyunhe added a comment.


  In D24727#549199 , @ngraham wrote:
  
  > This doesn't fix the problem for me. :(
  
  
  Can you run `plasmashell --replace` in terminal and check the error output?

REPOSITORY
  R114 Plasma Addons

REVISION DETAIL
  https://phabricator.kde.org/D24727

To: guoyunhe, #plasma
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, ZrenBot, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D24727: Fix NOAA picture of the day provider

2019-10-17 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REVISION SUMMARY
  The webpage structure of NOAA changed so the old regular expression doesn't 
work anymore. Updated it. But it can break in future again.

REPOSITORY
  R114 Plasma Addons

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24727

AFFECTED FILES
  dataengines/potd/noaaprovider.cpp
  dataengines/potd/noaaprovider.h

To: guoyunhe
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, ahiemstra, mart


D24424: Create kf5-network.directory

2019-10-06 Thread Yunhe Guo
guoyunhe updated this revision to Diff 67366.
guoyunhe added a comment.


  Change icon name to applications-network

REPOSITORY
  R120 Plasma Workspace

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D24424?vs=67350=67366

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24424

AFFECTED FILES
  menu/desktop/CMakeLists.txt
  menu/desktop/kf5-network.directory

To: guoyunhe, #plasma
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart


D24424: Create kf5-network.directory

2019-10-05 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REVISION SUMMARY
  See D24423 

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24424

AFFECTED FILES
  menu/desktop/CMakeLists.txt
  menu/desktop/kf5-network.directory

To: guoyunhe
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart


D24409: Remove kf5-toys.directory because it will not be used by other packages

2019-10-05 Thread Yunhe Guo
guoyunhe added a comment.


  Reverted 
https://cgit.kde.org/plasma-workspace.git/commit/?id=0e14429e7355e07913ea21ab03abde6dc1ae8a1f

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D24409

To: guoyunhe, #plasma_workspaces, ngraham
Cc: ltoscano, aacid, ngraham, davidedmundson, plasma-devel, LeGast00n, 
The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, 
himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart


D24409: Remove kf5-toys.directory because it will not be used by other packages

2019-10-05 Thread Yunhe Guo
guoyunhe added a comment.


  D24384  has been accepted and seems no 
one strongly against it... So I landed it. Can you give this patch an approval? 
@davidedmundson

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D24409

To: guoyunhe, #plasma_workspaces
Cc: aacid, ngraham, davidedmundson, plasma-devel, LeGast00n, The-Feren-OS-Dev, 
jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart


D24409: Remove kf5-toys.directory because it will not be used by other packages

2019-10-04 Thread Yunhe Guo
guoyunhe added subscribers: ngraham, aacid.
guoyunhe added a comment.


  In D24409#541894 , @davidedmundson 
wrote:
  
  > Ship it (if and only if the other patch is also accepted)
  
  
  The other patch is accepted by @ngraham . But @aacid has different opinion. I 
am waiting for his final confirmation or others can give additional reviews.

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D24409

To: guoyunhe, #plasma_workspaces
Cc: aacid, ngraham, davidedmundson, plasma-devel, LeGast00n, The-Feren-OS-Dev, 
jraleigh, fbampaloukas, GB_2, ragreen, ZrenBot, alexeymin, himcesjf, 
lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart


D24409: Remove kf5-toys.directory because it will not be used by other packages

2019-10-04 Thread Yunhe Guo
guoyunhe created this revision.
Herald added a project: Plasma.
Herald added a subscriber: plasma-devel.
guoyunhe requested review of this revision.

REVISION SUMMARY
  See also D24384 

REPOSITORY
  R120 Plasma Workspace

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D24409

AFFECTED FILES
  menu/desktop/CMakeLists.txt
  menu/desktop/kf5-toys.directory

To: guoyunhe
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, ZrenBot, ngraham, alexeymin, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart


D23868: [kfontinst] Port to use icons from the icon theme and make HiDPI aware

2019-09-16 Thread Yunhe Guo
guoyunhe updated this revision to Diff 66229.
guoyunhe added a comment.


  Rename and move the find duplicate button

REPOSITORY
  R119 Plasma Desktop

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D23868?vs=66193=66229

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D23868

AFFECTED FILES
  kcms/kfontinst/apps/Installer.cpp
  kcms/kfontinst/kcmfontinst/16-actions-disablefont.png
  kcms/kfontinst/kcmfontinst/16-actions-enablefont.png
  kcms/kfontinst/kcmfontinst/16-actions-font-disable.png
  kcms/kfontinst/kcmfontinst/16-actions-font-enable.png
  kcms/kfontinst/kcmfontinst/22-actions-disablefont.png
  kcms/kfontinst/kcmfontinst/22-actions-enablefont.png
  kcms/kfontinst/kcmfontinst/22-actions-font-disable.png
  kcms/kfontinst/kcmfontinst/22-actions-font-enable.png
  kcms/kfontinst/kcmfontinst/CMakeLists.txt
  kcms/kfontinst/kcmfontinst/FontFilter.cpp
  kcms/kfontinst/kcmfontinst/FontFilter.h
  kcms/kfontinst/kcmfontinst/FontList.cpp
  kcms/kfontinst/kcmfontinst/GroupList.cpp
  kcms/kfontinst/kcmfontinst/KCmFontInst.cpp
  kcms/kfontinst/kcmfontinst/KCmFontInst.h
  kcms/kfontinst/viewpart/FontPreview.cpp

To: guoyunhe, #plasma, ngraham
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart


D6813: Use customized font size for Digital Clock applet

2019-09-16 Thread Yunhe Guo
guoyunhe abandoned this revision.
guoyunhe added a comment.


  It seems not possible to set font size because others insist the font size 
should grow with panel. Another alternative widget might be better way to push 
forward.

REPOSITORY
  R120 Plasma Workspace

REVISION DETAIL
  https://phabricator.kde.org/D6813

To: guoyunhe, #plasma_workspaces
Cc: ngraham, davidedmundson, plasma-devel, LeGast00n, The-Feren-OS-Dev, 
jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, 
ali-mohamed, jensreuterberg, abetts, sebas, apol, mart


D17704: Copy to clipboard always copy English texts

2019-09-16 Thread Yunhe Guo
guoyunhe added a comment.


  Yes, this can be closed because another approach is more useful.

REPOSITORY
  R102 KInfoCenter

REVISION DETAIL
  https://phabricator.kde.org/D17704

To: guoyunhe, #plasma, davidedmundson
Cc: davidedmundson, ngraham, gregormi, cfeck, plasma-devel, LeGast00n, 
The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, ragreen, Pitel, ZrenBot, 
himcesjf, lesliezhai, ali-mohamed, jensreuterberg, abetts, sebas, apol, mart


D23868: [kfontinst] Port to use icons from the icon theme and make HiDPI aware

2019-09-16 Thread Yunhe Guo
guoyunhe updated this revision to Diff 66193.
guoyunhe added a comment.


  Fix size policy

REPOSITORY
  R119 Plasma Desktop

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D23868?vs=66191=66193

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D23868

AFFECTED FILES
  kcms/kfontinst/apps/Installer.cpp
  kcms/kfontinst/kcmfontinst/16-actions-disablefont.png
  kcms/kfontinst/kcmfontinst/16-actions-enablefont.png
  kcms/kfontinst/kcmfontinst/16-actions-font-disable.png
  kcms/kfontinst/kcmfontinst/16-actions-font-enable.png
  kcms/kfontinst/kcmfontinst/22-actions-disablefont.png
  kcms/kfontinst/kcmfontinst/22-actions-enablefont.png
  kcms/kfontinst/kcmfontinst/22-actions-font-disable.png
  kcms/kfontinst/kcmfontinst/22-actions-font-enable.png
  kcms/kfontinst/kcmfontinst/CMakeLists.txt
  kcms/kfontinst/kcmfontinst/FontFilter.cpp
  kcms/kfontinst/kcmfontinst/FontFilter.h
  kcms/kfontinst/kcmfontinst/FontList.cpp
  kcms/kfontinst/kcmfontinst/GroupList.cpp
  kcms/kfontinst/kcmfontinst/KCmFontInst.cpp
  kcms/kfontinst/kcmfontinst/KCmFontInst.h
  kcms/kfontinst/viewpart/FontPreview.cpp

To: guoyunhe, #plasma, ngraham
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart


D23868: [kfontinst] Port to use icons from the icon theme and make HiDPI aware

2019-09-16 Thread Yunhe Guo
guoyunhe updated this revision to Diff 66191.
guoyunhe added a comment.


  Avoid scrollbar. Put progressbar and font status to another row.

REPOSITORY
  R119 Plasma Desktop

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D23868?vs=66157=66191

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D23868

AFFECTED FILES
  kcms/kfontinst/apps/Installer.cpp
  kcms/kfontinst/kcmfontinst/16-actions-disablefont.png
  kcms/kfontinst/kcmfontinst/16-actions-enablefont.png
  kcms/kfontinst/kcmfontinst/16-actions-font-disable.png
  kcms/kfontinst/kcmfontinst/16-actions-font-enable.png
  kcms/kfontinst/kcmfontinst/22-actions-disablefont.png
  kcms/kfontinst/kcmfontinst/22-actions-enablefont.png
  kcms/kfontinst/kcmfontinst/22-actions-font-disable.png
  kcms/kfontinst/kcmfontinst/22-actions-font-enable.png
  kcms/kfontinst/kcmfontinst/CMakeLists.txt
  kcms/kfontinst/kcmfontinst/FontFilter.cpp
  kcms/kfontinst/kcmfontinst/FontFilter.h
  kcms/kfontinst/kcmfontinst/FontList.cpp
  kcms/kfontinst/kcmfontinst/GroupList.cpp
  kcms/kfontinst/kcmfontinst/KCmFontInst.cpp
  kcms/kfontinst/kcmfontinst/KCmFontInst.h
  kcms/kfontinst/viewpart/FontPreview.cpp

To: guoyunhe, #plasma, ngraham
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart


D23868: [kfontinst] Port to use icons from the icon theme and make HiDPI aware

2019-09-15 Thread Yunhe Guo
guoyunhe updated this revision to Diff 66157.
guoyunhe added a comment.


  Similar filter layout as Colors KCM. Move "Scan Duplicates..." button to the 
bottom button group.

REPOSITORY
  R119 Plasma Desktop

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D23868?vs=66101=66157

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D23868

AFFECTED FILES
  kcms/kfontinst/apps/Installer.cpp
  kcms/kfontinst/kcmfontinst/16-actions-disablefont.png
  kcms/kfontinst/kcmfontinst/16-actions-enablefont.png
  kcms/kfontinst/kcmfontinst/16-actions-font-disable.png
  kcms/kfontinst/kcmfontinst/16-actions-font-enable.png
  kcms/kfontinst/kcmfontinst/22-actions-disablefont.png
  kcms/kfontinst/kcmfontinst/22-actions-enablefont.png
  kcms/kfontinst/kcmfontinst/22-actions-font-disable.png
  kcms/kfontinst/kcmfontinst/22-actions-font-enable.png
  kcms/kfontinst/kcmfontinst/CMakeLists.txt
  kcms/kfontinst/kcmfontinst/FontFilter.cpp
  kcms/kfontinst/kcmfontinst/FontFilter.h
  kcms/kfontinst/kcmfontinst/FontList.cpp
  kcms/kfontinst/kcmfontinst/GroupList.cpp
  kcms/kfontinst/kcmfontinst/KCmFontInst.cpp
  kcms/kfontinst/kcmfontinst/KCmFontInst.h
  kcms/kfontinst/viewpart/FontPreview.cpp

To: guoyunhe, #plasma, ngraham
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart


D23868: [kfontinst] Port to use icons from the icon theme and make HiDPI aware

2019-09-15 Thread Yunhe Guo
guoyunhe added a comment.


  Now I can get something like this (the QLineEdit and QPushButton still have 
different height):
  
  F7357403: image.png 

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D23868

To: guoyunhe, #plasma, ngraham
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart


D23868: [kfontinst] Port to use icons from the icon theme and make HiDPI aware

2019-09-15 Thread Yunhe Guo
guoyunhe added a comment.


  In D23868#532016 , @ngraham wrote:
  
  > Maybe in the interests of #consistency 
, let's make the filter feature 
look the same way that it does in the Colors KCM: F7357040: 
Screenshot_20190915_131425.png 
  
  
  There is a major difference: the color filter is a combobox but the font 
filter is a menu with checkbox and child menu. I cannot change it to a combobox 
but can swap the order and try to add borders.

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D23868

To: guoyunhe, #plasma, ngraham
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart


D23868: [kfontinst] Port to use icons from the icon theme and make HiDPI aware

2019-09-15 Thread Yunhe Guo
guoyunhe updated this revision to Diff 66101.
guoyunhe added a comment.


  Unify button look

REPOSITORY
  R119 Plasma Desktop

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D23868?vs=66074=66101

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D23868

AFFECTED FILES
  kcms/kfontinst/apps/Installer.cpp
  kcms/kfontinst/kcmfontinst/16-actions-disablefont.png
  kcms/kfontinst/kcmfontinst/16-actions-enablefont.png
  kcms/kfontinst/kcmfontinst/16-actions-font-disable.png
  kcms/kfontinst/kcmfontinst/16-actions-font-enable.png
  kcms/kfontinst/kcmfontinst/22-actions-disablefont.png
  kcms/kfontinst/kcmfontinst/22-actions-enablefont.png
  kcms/kfontinst/kcmfontinst/22-actions-font-disable.png
  kcms/kfontinst/kcmfontinst/22-actions-font-enable.png
  kcms/kfontinst/kcmfontinst/CMakeLists.txt
  kcms/kfontinst/kcmfontinst/FontFilter.cpp
  kcms/kfontinst/kcmfontinst/FontFilter.h
  kcms/kfontinst/kcmfontinst/FontList.cpp
  kcms/kfontinst/kcmfontinst/GroupList.cpp
  kcms/kfontinst/kcmfontinst/KCmFontInst.cpp
  kcms/kfontinst/viewpart/FontPreview.cpp

To: guoyunhe, #plasma, ngraham
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart


D23868: [kfontinst] Port to use icons from the icon theme and make HiDPI aware

2019-09-14 Thread Yunhe Guo
guoyunhe added a comment.


  I changed it to QToolButton, but it still look different:
  
  F7352361: image.png 

REPOSITORY
  R119 Plasma Desktop

REVISION DETAIL
  https://phabricator.kde.org/D23868

To: guoyunhe, #plasma, ngraham
Cc: ngraham, plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, 
GB_2, ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, 
jensreuterberg, abetts, sebas, apol, mart


D23868: kfontinst HiDPI icons

2019-09-14 Thread Yunhe Guo
guoyunhe updated this revision to Diff 66074.
guoyunhe added a comment.


  Change icon name. To match patch D23942 

REPOSITORY
  R119 Plasma Desktop

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D23868?vs=65841=66074

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D23868

AFFECTED FILES
  kcms/kfontinst/apps/Installer.cpp
  kcms/kfontinst/kcmfontinst/16-actions-disablefont.png
  kcms/kfontinst/kcmfontinst/16-actions-enablefont.png
  kcms/kfontinst/kcmfontinst/16-actions-font-disable.png
  kcms/kfontinst/kcmfontinst/16-actions-font-enable.png
  kcms/kfontinst/kcmfontinst/22-actions-disablefont.png
  kcms/kfontinst/kcmfontinst/22-actions-enablefont.png
  kcms/kfontinst/kcmfontinst/22-actions-font-disable.png
  kcms/kfontinst/kcmfontinst/22-actions-font-enable.png
  kcms/kfontinst/kcmfontinst/CMakeLists.txt
  kcms/kfontinst/kcmfontinst/FontFilter.cpp
  kcms/kfontinst/kcmfontinst/FontFilter.h
  kcms/kfontinst/kcmfontinst/FontList.cpp
  kcms/kfontinst/kcmfontinst/GroupList.cpp
  kcms/kfontinst/kcmfontinst/KCmFontInst.cpp
  kcms/kfontinst/viewpart/FontPreview.cpp

To: guoyunhe, #plasma
Cc: plasma-devel, LeGast00n, The-Feren-OS-Dev, jraleigh, fbampaloukas, GB_2, 
ragreen, Pitel, ZrenBot, himcesjf, lesliezhai, ali-mohamed, jensreuterberg, 
abetts, sebas, apol, mart


  1   2   3   >