Giter Club home page Giter Club logo

ukui-kwin's People

Contributors

amphetaminewei avatar brsvh avatar handsome-feng avatar hillwoodroc avatar kylin-ccn avatar liuyi92 avatar ll-eleven avatar neuliyiping avatar oltulu avatar shang-xiaoyang avatar yue-lan avatar z-bin avatar zexy-chan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ukui-kwin's Issues

Flashes when changing theme mode

Version:20.04LTS
ISO:ubuntukylin-20.04-0528-amd64.iso
Test environment:Lenovo ThinkPad-X1-Yoga、Lenovo Thinkpad-T430i

Actual results:
Control panel-personalization-theme, after changing the theme, a black screen will flash, and then switch to the corresponding theme mode.
控制面板--个性化--主题,更换主题后,会闪一下黑屏,之后切换到对应主题模式下。

Dual-screen 4K desktop display is abnormal

4K dual screen resolution problem

  1. Connect 4K monitor and ordinary monitor to enter the system
  2. Control Panel-System-Display
  3. Set the normal monitor to off, 4K monitor as the main screen, 4K as the highest resolution
  4. After the application, log out and log in again, the desktop displays abnormally, half of which is available and half is not available
  5. After killing the ukui-kwin process, it returns to normal
    双屏桌面异常

4K双屏分辨率问题
1、连接4K显示器和普通显示器进入系统
2、控制面板--系统--显示器
3、设置普通显示器为关闭状态,4K显示器设为主屏,4K设置为最高分辨率
4、应用后,注销重新登陆,桌面显示异常,一半可用,一半不可用
5、将ukui-kwin进程杀掉后,恢复正常

on fedora 32, Unable to find service type for service

some errors in logs

ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kwin_xkbcommon: XKB: couldn't find a Compose file for locale "bo_CN.UTF-8"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_dialogparent/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_dimscreen/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_eyeonscreen/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_fade/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_fadedesktop/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_fadingpopups/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_frozenapp/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_login/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_logout/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_maximize/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_morphingpopups/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_scale/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_sessionquit/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_squash/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_translucency/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Effect" listed in "/usr/share/ukui-kwin/effects/kwin4_effect_windowaperture/metadata.desktop"

ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Script" listed in "/usr/share/ukui-kwin/scripts/desktopchangeosd/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Script" listed in "/usr/share/ukui-kwin/scripts/minimizeall/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Script" listed in "/usr/share/ukui-kwin/scripts/synchronizeskipswitcher/metadata.desktop"
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: kf5.kcoreaddons.desktopparser: Unable to find service type for service "UKUIKWin/Script" listed in "/usr/share/ukui-kwin/scripts/videowall/metadata.desktop"


how to open a terminal in shell?

previously ,I used 'gnome-terminal' command to get a new terminal,but in ukui base system , it's not work, also in my *.desktop file, if I take 'Terminal=true', that would show me error information.
so how to make it :)

fedora 32, ukui-kwin x11 xcb error

the error logs


ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 873, resource id: 10485769, major code: 3 (GetWindowAttributes), minor code: 0
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 874, resource id: 10485769, major code: 14 (GetGeometry), minor code: 0
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 876, resource id: 8388620, major code: 12 (ConfigureWindow), minor code: 0
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 880, resource id: 8388624, major code: 18 (ChangeProperty), minor code: 0
ཟླ་༧ 02 14:19:32 fedora.lmy.com ukui-kwin_x11[1009]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 881, resource id: 8388624, major code: 12 (ConfigureWindow), minor code: 0
qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 1554, resource id: 39845894, major code: 18 (ChangeProperty), minor code: 0

memory leak

There is a memory leak in the program, and after running the automation program for a day, the memory usage reached 42%.

build failed on kwin 5.23: void update(KDecoration2::Decoration *decoration, const QRect &geometry) override

Slackware 15 / Kernel 5.15.3 / GCC 11.2.0
KDE-Plasma 5.23.3

applied patches
plugins_kdecorations_ukui_test.patch
requestShowWindowMenu_deprecated.patch

[  3%] Built target kwineffects
[  3%] Automatic MOC for target kwin4_effect_builtins
[  3%] Built target kwin4_effect_builtins_autogen
Consolidate compiler generated dependencies of target kwin4_effect_builtins
[ 14%] Built target kwin4_effect_builtins
[ 14%] Automatic MOC for target ukui-kwin
[ 14%] Built target ukui-kwin_autogen
Consolidate compiler generated dependencies of target ukui-kwin
[ 14%] Building CXX object CMakeFiles/ukui-kwin.dir/ukui-kwin_autogen/mocs_compilation.cpp.o
In file included from /home/lancs/build/ukui/ukui-kwin/ukui-kwin-1.0.0/build/ukui-kwin_autogen/Z7NZ4PKSFN/moc_decorationbridge.cpp:10,
                 from /home/lancs/build/ukui/ukui-kwin/ukui-kwin-1.0.0/build/ukui-kwin_autogen/mocs_compilation.cpp:18:
/home/lancs/build/ukui/ukui-kwin/ukui-kwin-1.0.0/build/ukui-kwin_autogen/Z7NZ4PKSFN/../../../decorations/decorationbridge.h:64:10: error: ‘void KWin::Decoration::DecorationBridge::update(KDecoration2::Decoration*, const QRect&)’ marked ‘override’, but does not override
   64 |     void update(KDecoration2::Decoration *decoration, const QRect &geometry) override;
      |          ^~~~~~
make[2]: *** [CMakeFiles/ukui-kwin.dir/build.make:212: CMakeFiles/ukui-kwin.dir/ukui-kwin_autogen/mocs_compilation.cpp.o] Error 1
make[1]: *** [CMakeFiles/Makefile2:1755: CMakeFiles/ukui-kwin.dir/all] Error 2
make: *** [Makefile:146: all] Error 2


any suggestions?

Set to mirror screen, KWin related error notification pops up on the desktop

版本: 20.04LTS
iso:ubuntukylin-ukui3.0-20200309-amd64.iso
测试环境:联想笔记本-X240

测试步骤:
1、接入双屏,并设置为复制屏
2、桌面右上角弹出通知:KWin窗口管理器,桌面特效被另一个程序中断,您可以使用“Alt+Shift+F12”快捷键恢复。

预期结果:无报错提示

实际结果:弹出通知:KWin窗口管理器,桌面特效被另一个程序中断,您可以使用“Alt+Shift+F12”快捷键恢复。

Build failed on latest Archlinux, ScreenLocker::KSldApp has invalid member

Error:

2020-07-10T04:03:35.2461375Z /__w/ukui-kwin/ukui-kwin/wayland_server.cpp: In member function ‘void KWin::WaylandServer::initScreenLocker()’:
2020-07-10T04:03:35.2462149Z /__w/ukui-kwin/ukui-kwin/wayland_server.cpp:518:36: error: ‘class ScreenLocker::KSldApp’ has no member named ‘setWaylandDisplay’
2020-07-10T04:03:35.2462673Z   518 |     ScreenLocker::KSldApp::self()->setWaylandDisplay(m_display);
2020-07-10T04:03:35.2462851Z       |                                    ^~~~~~~~~~~~~~~~~
2020-07-10T04:03:35.2463558Z /__w/ukui-kwin/ukui-kwin/wayland_server.cpp:522:68: error: ‘greeterClientConnectionChanged’ is not a member of ‘ScreenLocker::KSldApp’
2020-07-10T04:03:35.2463756Z   522 |     connect(ScreenLocker::KSldApp::self(), &ScreenLocker::KSldApp::greeterClientConnectionChanged, this,
2020-07-10T04:03:35.2463927Z       |                                                                    ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2020-07-10T04:03:35.2464273Z /__w/ukui-kwin/ukui-kwin/wayland_server.cpp: In lambda function:
2020-07-10T04:03:35.2464919Z /__w/ukui-kwin/ukui-kwin/wayland_server.cpp:524:77: error: ‘class ScreenLocker::KSldApp’ has no member named ‘greeterClientConnection’
2020-07-10T04:03:35.2465545Z   524 |             m_screenLockerClientConnection = ScreenLocker::KSldApp::self()->greeterClientConnection();
2020-07-10T04:03:35.2465715Z       |                                                                             ^~~~~~~~~~~~~~~~~~~~~~~
2020-07-10T04:03:35.2621616Z /__w/ukui-kwin/ukui-kwin/wayland_server.cpp: In member function ‘quint16 KWin::WaylandServer::createClientId(KWayland::Server::ClientConnection*)’:
2020-07-10T04:03:35.2622536Z /__w/ukui-kwin/ukui-kwin/wayland_server.cpp:740:43: warning: ‘QSet<T> QList<T>::toSet() const [with T = short unsigned int]’ is deprecated: Use QSet<T>(list.begin(), list.end()) instead. [-Wdeprecated-declarations]
2020-07-10T04:03:35.2622732Z   740 |     auto ids = m_clientIds.values().toSet();
2020-07-10T04:03:35.2622886Z       |                                           ^
2020-07-10T04:03:35.2623033Z In file included from /usr/include/qt/QtCore/QSet:1,
2020-07-10T04:03:35.2623358Z                  from /__w/ukui-kwin/ukui-kwin/input.h:38,
2020-07-10T04:03:35.2623718Z                  from /__w/ukui-kwin/ukui-kwin/keyboard_input.h:29,
2020-07-10T04:03:35.2624054Z                  from /__w/ukui-kwin/ukui-kwin/wayland_server.h:30,
2020-07-10T04:03:35.2624385Z                  from /__w/ukui-kwin/ukui-kwin/wayland_server.cpp:26:
2020-07-10T04:03:35.2624540Z /usr/include/qt/QtCore/qset.h:402:30: note: declared here
2020-07-10T04:03:35.2624699Z   402 | Q_OUTOFLINE_TEMPLATE QSet<T> QList<T>::toSet() const
2020-07-10T04:03:35.2624845Z       |                              ^~~~~~~~
2020-07-10T04:03:35.5144486Z [ 63%] Building CXX object CMakeFiles/ukui-kwin.dir/workspace.cpp.o
2020-07-10T04:03:35.9988111Z make[2]: *** [CMakeFiles/ukui-kwin.dir/build.make:1532: CMakeFiles/ukui-kwin.dir/wayland_server.cpp.o] Error 1
2020-07-10T04:03:35.9999155Z make[2]: *** Waiting for unfinished jobs....
2020-07-10T04:03:42.3965495Z make[1]: *** [CMakeFiles/Makefile2:2888: CMakeFiles/ukui-kwin.dir/all] Error 2
2020-07-10T04:03:42.3976737Z make: *** [Makefile:161: all] Error 2
2020-07-10T04:03:42.4373227Z ##[error]Process completed with exit code 2.

Build log

GUI & Icon scaling issues and white titlebars on dark theme

The UKUI Desktop automatically scales large on 4K screen even when 100% in the settings, probably because of DPI settings.
Installing another Desktop like Ubuntu-Gnome and going back to UKUI 3, the scale gets even more ridiculous.
The settings app becomes unusable.
Some icons get pixelated during this process.
This can be fixed by adding settings for dpi & such.
Also not every title bar responds to dark theme.
I hope this contributes to the improvement UKUI 3, making more distributions use it:)

Can not build on Kwin 5.21

/mocs_compilation.cpp:7:
[ 132s] /home/abuild/rpmbuild/BUILD/ukui-kwin-274ca9a227dfbdf43625d02e054de8240740586c/build/kcmkwin/kwindecoration/declarative-plugin/kdecorationprivatedeclarative_autogen/EWIEGA46WW/../../../../../../kcmkwin/kwindecoration/declarative-plugin/previewclient.h:110:10: error: 'void KDecoration2::Preview::PreviewClient::requestShowWindowMenu()' marked 'override', but does not override
[ 132s] 110 | void requestShowWindowMenu() override;
[ 132s] | ^~~~~~~~~~~~~~~~~~~~~
[ 132s] make[2]: *** [kcmkwin/kwindecoration/declarative-plugin/CMakeFiles/kdecorationprivatedeclarative.dir/build.make:82: kcmkwin/kwindecoration/declarative-plugin/CMakeFiles/kdecorationprivatedeclarative.dir/kdecorationprivatedeclarative_autogen/mocs_compilation.cpp.o] Error 1
[ 132s] make[2]: Leaving directory '/home/abuild/rpmbuild

/BUILD/ukui-kwin-274ca9a227dfbdf43625d02e054de8240740586c/build'
[ 132s] make[1]: *** [CMakeFiles/Makefile2:2793: kcmkwin/kwindecoration/declarative-plugin/CMakeFiles/kdecorationprivatedeclarative.dir/all] Error 2
[ 132s] make[1]: *** Waiting for unfinished jobs....

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.