fcitx/fcitx5

Going under 25 in Value (HSV) in the "Window Background" colours breaks fcitx5 menu colours

Closed this issue · 1 comments

Kxeo commented

Summary

If you go below 25 in Value, it breaks and turns into this:
image

Steps to Reproduce

  1. Go to colours
  2. Change Window Background colour's Value to be under 25, even one below will do
  3. Go to the Fcitx5 part of settings (Input Method)
  4. See the broken colours

Expected Behavior

It should have the same colour as the Window Background Colour that is used, in this case #000000.

Output of fcitx5-diagnose command

System Info:

  1. uname -a:

    Linux hpzb 6.6.47-1-lts #1 SMP PREEMPT_DYNAMIC Mon, 19 Aug 2024 05:13:57 +0000 x86_64 GNU/Linux
    
  2. lsb_release -a:

    LSB Version:	n/a
    Distributor ID:	Garuda
    Description:	Garuda Linux Bird of Prey
    Release:	Soaring
    Codename:	BirdOfPrey
    
  3. lsb_release -d:

    Description:	Garuda Linux Bird of Prey
    
  4. /etc/lsb-release:

    DISTRIB_ID=Garuda
    DISTRIB_RELEASE=Soaring
    DISTRIB_DESCRIPTION="Garuda Linux Bird of Prey"
    DISTRIB_CODENAME="BirdOfPrey"
    
  5. /etc/os-release:

    NAME="Garuda Linux"
    PRETTY_NAME="Garuda Linux"
    ID=garuda
    ID_LIKE=arch
    BUILD_ID=rolling
    ANSI_COLOR="38;2;23;147;209"
    HOME_URL="https://garudalinux.org/"
    DOCUMENTATION_URL="https://wiki.garudalinux.org/"
    SUPPORT_URL="https://forum.garudalinux.org/"
    BUG_REPORT_URL="https://gitlab.com/groups/garuda-linux/"
    PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/"
    LOGO=garudalinux
    
  6. Desktop Environment:

    Desktop environment is kde.

  7. XDG SESSION TYPE:

    XDG_SESSION_TYPE='x11'
    
  8. Bash Version:

    BASH_VERSION='5.2.32(1)-release'
    

Environment:

  1. DISPLAY:

    DISPLAY=':0'
    
    
    WAYLAND_DISPLAY=''
    
  2. Keyboard Layout:

    1. setxkbmap:

      xkb_keymap {
      	xkb_keycodes  { include "evdev+aliases(qwerty)"	};
      	xkb_types     { include "complete"	};
      	xkb_compat    { include "complete"	};
      	xkb_symbols   { include "pc+lv+inet(evdev)+compose(ins)+level3(caps_switch)"	};
      	xkb_geometry  { include "pc(pc104)"	};
      };
      
    2. xprop:

      _XKB_RULES_NAMES(STRING) = "evdev", "pc104", "lv", "", "compose:ins,lv3:caps_switch"
      
  3. Locale:

    1. All locales:

      C
      C.utf8
      POSIX
      en_GB.utf8
      en_US.utf8
      ka_GE.utf8
      sr_RS
      sr_RS.utf8
      sr_RS.utf8@latin
      sr_RS@latin
      tk_TM
      tk_TM.utf8
      
    2. Current locale:

      LANG=en_US.UTF-8
      LC_CTYPE="C"
      LC_NUMERIC="C"
      LC_TIME="C"
      LC_COLLATE="C"
      LC_MONETARY="C"
      LC_MESSAGES="C"
      LC_PAPER="C"
      LC_NAME="C"
      LC_ADDRESS="C"
      LC_TELEPHONE="C"
      LC_MEASUREMENT="C"
      LC_IDENTIFICATION="C"
      LC_ALL=C
      
  4. Directories:

    1. Home:

      /home/kxeo
      
    2. ${XDG_CONFIG_HOME}:

      Environment variable XDG_CONFIG_HOME is not set.

      Current value of XDG_CONFIG_HOME is ~/.config (/home/kxeo/.config).

    3. Fcitx5 Settings Directory:

      Current fcitx5 settings directory is ~/.config/fcitx5 (/home/kxeo/.config/fcitx5).

  5. Current user:

    The script is run as kxeo (1000).

Fcitx State:

  1. executable:

    Found fcitx5 at /usr/bin/fcitx5.

  2. version:

    Fcitx version: 5.1.10

  3. process:

    Found 1 fcitx5 process:

       8296 fcitx5
    
  4. fcitx5-remote:

    fcitx5-remote works properly.

  5. DBus interface:

    Using dbus-send to check dbus.

    Owner of DBus name org.fcitx.Fcitx5 is :1.66.

    PID of DBus name org.fcitx.Fcitx5 owner is 8296.

    Debug information from dbus:

       Group [x11::0] has 36 InputContext(s)
      IC [74f34d12019948aab7b0de332899987b] program:waterfox frontend:dbus cap:6000000032 focus:0
      IC [2f1089bf17ba49359a046a8924585e91] program:waterfox frontend:dbus cap:6000000032 focus:0
      IC [e683860c306f489f998ffd3f101f93b8] program:pwsafe frontend:dbus cap:6000000032 focus:0
      IC [62350d186ed345d0bdd8bc9c7b259315] program:pwsafe frontend:dbus cap:6000000020 focus:0
      IC [5c6cd604a2fb44ccb089782a45459685] program:pwsafe frontend:dbus cap:6000000020 focus:0
      IC [c4bc2c9313304c9786d1b645837df4ba] program:pwsafe frontend:dbus cap:6000000020 focus:0
      IC [c8f007e6bf314700b7728b949bbac848] program:pwsafe frontend:dbus cap:6000000020 focus:0
      IC [728b992e6b874dc192b9433c318189dc] program:pwsafe frontend:dbus cap:6000000020 focus:0
      IC [1544d02cb5de4d2fa4ccb8a3121d5d3f] program:python3.12 frontend:dbus cap:16000800072 focus:0
      IC [7c8539ebf0ac45bf9f57cb24d324d729] program:waterfox frontend:dbus cap:6000000032 focus:0
      IC [f5517caed1164a6990b2913437116df2] program:waterfox frontend:dbus cap:6000000032 focus:0
      IC [f0166ebcc33e4ab6ba64d495a8536003] program:pwsafe frontend:dbus cap:6000000020 focus:0
      IC [f36670f9fc9e427899c7d5bd1ac87716] program:python3.12 frontend:dbus cap:16000800072 focus:0
      IC [d72bd47ab9294b7ba3bbe3813d1619e0] program:krunner frontend:dbus cap:6000820072 focus:0
      IC [fc1607871ca4415dabe3a9549848dad9] program:plasmashell frontend:dbus cap:16000800072 focus:0
      IC [452b52813cec49a494d18f4c925fa81a] program:ktorrent frontend:dbus cap:6000800072 focus:0
      IC [4b6ba8d2f2544588b40a0ac65af977ef] program:waterfox frontend:dbus cap:6000000032 focus:0
      IC [56c553047b35408aae9dc2b6dfa808f1] program:python3.12 frontend:dbus cap:16000820072 focus:0
      IC [4ce188904ef74c41832b8f06dac9f450] program:skypeforlinux frontend:dbus cap:6000000032 focus:0
      IC [ff7d9b6f84c840958d8e93c0cf51a487] program:plasmashell frontend:dbus cap:16000800072 focus:0
      IC [5d3cc6e074154b09b0c3853f5a57ad61] program:waterfox frontend:dbus cap:6000000032 focus:0
      IC [664906df27524ac7809b5ffa7118d766] program:waterfox frontend:dbus cap:6000000072 focus:0
      IC [bc399a58bce749fa8775d5590cb0d56b] program:plasmashell frontend:dbus cap:6800800072 focus:0
      IC [b1685fb333334e85bdae105f4b05f0db] program:waterfox frontend:dbus cap:6000000032 focus:0
      IC [346b132ec1f8478999872448b0800d7e] program:kate frontend:dbus cap:6000800072 focus:0
      IC [c3eb5e13160c45089f0b8cc25fb59947] program:waterfox frontend:dbus cap:6000000032 focus:0
      IC [83292c0a11ef449bae2b34d9071c308e] program:waterfox frontend:dbus cap:6000000032 focus:0
      IC [e2f751ddbde3475bbd7df961683edf15] program:waterfox frontend:dbus cap:6000000032 focus:0
      IC [688b9669f8574a01af53a78fc77e27ea] program:waterfox frontend:dbus cap:6000000032 focus:0
      IC [c9c1ec0028914c159a85b053a8c70762] program:dolphin frontend:dbus cap:16000800072 focus:0
      IC [90bed1d902ce464886cbf3c4ec307502] program:plasmashell frontend:dbus cap:16000800072 focus:0
      IC [6ffed957c7144b20a92f22ea1d14816d] program:konsole frontend:dbus cap:6000820872 focus:1
      IC [59bffae9210e4a9aaaa3a07a64c6bf2c] program:waterfox frontend:dbus cap:6000000032 focus:0
      IC [b856906479ef4449a6fb51045d6e78c9] program:waterfox frontend:dbus cap:6000000032 focus:0
      IC [59f9a1c2549a4435b89e2bad8547499b] program:waterfox frontend:dbus cap:6000000032 focus:0
      IC [ba02380f04624d639b1feeef42f9403e] program:waterfox frontend:dbus cap:6000000032 focus:0
    Input Context without group
    

Fcitx Configure UI:

  1. Config Tool Wrapper:

    Found fcitx5-configtool at /usr/bin/fcitx5-configtool.

  2. Config GUI for qt:

    Found fcitx5-config-qt at /usr/bin/fcitx5-config-qt.

  3. Config GUI for kde:

    kcmshell5 not found.

Frontends setup:

The environment variable checked by this script only shows the environment under current shell. It is still possible that you did not set the environment to the whole graphic desktop session. You may inspect the actual environment variable of a certain process by using xargs -0 -L1 /proc/$PID/environ for a certain process that you find not working.

Xim:

  1. ${XMODIFIERS}:

    Environment variable XMODIFIERS is set to "@im=fcitx" correctly.
    Xim Server Name from Environment variable is fcitx.

  2. XIM_SERVERS on root window:

    Xim server name is the same with that set in the environment variable.

  3. XIM encoding:

    Your LC_CTYPE is set to C whose encoding is not UTF-8. You may have trouble committing strings using XIM.

Qt:

  1. qt4 - ${QT4_IM_MODULE}:

    Environment variable QT_IM_MODULE is set to "fcitx" correctly.

    fcitx5-qt4-immodule-probing not found.

  2. qt5 - ${QT_IM_MODULE}:

    Environment variable QT_IM_MODULE is set to "fcitx" correctly.

    Using fcitx5-qt5-immodule-probing to check the actual im module to be used under current environment:

    QT_QPA_PLATFORM=xcb
    QT_IM_MODULE=fcitx
    IM_MODULE_CLASSNAME=fcitx::QFcitxPlatformInputContext
    
  3. qt6 - ${QT_IM_MODULE}:

    Environment variable QT_IM_MODULE is set to "fcitx" correctly.

    Using fcitx5-qt6-immodule-probing to check the actual im module to be used under current environment:

    QT_QPA_PLATFORM=xcb
    QT_IM_MODULE=fcitx
    IM_MODULE_CLASSNAME=fcitx::QFcitxPlatformInputContext
    
  4. Qt IM module files:

    Found fcitx5 im module for qt: /usr/lib/qt/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so.
    Found unknown fcitx qt module: /usr/lib/qt6/plugins/plasma/kcms/systemsettings/kcm_fcitx5.so.
    Found fcitx5 im module for qt6: /usr/lib/qt6/plugins/platforminputcontexts/libfcitx5platforminputcontextplugin.so.
    Found fcitx5 qt5 module: /usr/lib/fcitx5/qt5/libfcitx-quickphrase-editor5.so.
    Found fcitx5 qt6 module: /usr/lib/fcitx5/qt6/libfcitx-quickphrase-editor5.so.

    Following error may not be accurate because guessing Qt version from path depends on how your distribution packages Qt. It is not a critical error if you do not use any Qt application with certain version of Qt or you are using text-input support by Qt under Wayland.
    Cannot find fcitx5 input method module for Qt4.

Gtk:

  1. gtk - ${GTK_IM_MODULE}:

    Environment variable GTK_IM_MODULE is set to "fcitx" correctly.

    Using fcitx5-gtk2-immodule-probing to check the actual im module to be used under current environment:

    GTK_IM_MODULE=fcitx
    

    Using fcitx5-gtk3-immodule-probing to check the actual im module to be used under current environment:

    GTK_IM_MODULE=fcitx
    

    Using fcitx5-gtk4-immodule-probing to check the actual im module to be used under current environment:

    GTK_IM_MODULE=fcitx
    
  2. gtk-query-immodules:

    1. gtk 2:

      Found gtk-query-immodules for gtk 2.24.33 at /usr/bin/gtk-query-immodules-2.0.
      Version Line:

      # Created by /usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.33
      

      Found fcitx5 im modules for gtk 2.24.33.

      "/usr/lib/gtk-2.0/2.10.0/immodules/im-fcitx5.so" 
      "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 
      "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 
      

      Found gtk-query-immodules for gtk 2.24.33 at /usr/bin/gtk-query-immodules-2.0-32.
      Version Line:

      # Created by /usr/bin/gtk-query-immodules-2.0-32 from gtk+-2.24.33
      

      Failed to find fcitx5 in the output of /usr/bin/gtk-query-immodules-2.0-32

    2. gtk 3:

      Found gtk-query-immodules for gtk 3.24.43 at /usr/bin/gtk-query-immodules-3.0.
      Version Line:

      # Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.24.43
      

      Found fcitx5 im modules for gtk 3.24.43.

      "/usr/lib/gtk-3.0/3.0.0/immodules/im-fcitx5.so" 
      "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 
      "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 
      

      Found gtk-query-immodules for gtk 3.24.43 at /usr/bin/gtk-query-immodules-3.0-32.
      Version Line:

      # Created by /usr/bin/gtk-query-immodules-3.0-32 from gtk+-3.24.43
      

      Failed to find fcitx5 in the output of /usr/bin/gtk-query-immodules-3.0-32

  3. Gtk IM module cache:

    1. gtk 2:

      Found immodules cache for gtk 2.24.33 at /usr/lib/gtk-2.0/2.10.0/immodules.cache.
      Version Line:

      # Created by /usr/bin/gtk-query-immodules-2.0 from gtk+-2.24.33
      

      Found fcitx5 im modules for gtk 2.24.33.

      "/usr/lib/gtk-2.0/2.10.0/immodules/im-fcitx5.so" 
      "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 
      "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 
      

      Found immodules cache for gtk 2.24.33 at /usr/lib32/gtk-2.0/2.10.0/immodules.cache.
      Version Line:

      # Created by usr/bin/gtk-query-immodules-2.0-32 from gtk+-2.24.33
      

      Failed to find fcitx5 in immodule cache at /usr/lib32/gtk-2.0/2.10.0/immodules.cache

    2. gtk 3:

      Found immodules cache for gtk 3.24.43 at /usr/lib/gtk-3.0/3.0.0/immodules.cache.
      Version Line:

      # Created by /usr/bin/gtk-query-immodules-3.0 from gtk+-3.24.43
      

      Found fcitx5 im modules for gtk 3.24.43.

      "/usr/lib/gtk-3.0/3.0.0/immodules/im-fcitx5.so" 
      "fcitx" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 
      "fcitx5" "Fcitx5 (Flexible Input Method Framework5)" "fcitx5" "/usr/locale" "ja:ko:zh:*" 
      

      Found immodules cache for gtk 3.24.43 at /usr/lib32/gtk-3.0/3.0.0/immodules.cache.
      Version Line:

      # Created by /usr/bin/gtk-query-immodules-3.0-32 from gtk+-3.24.43
      

      Failed to find fcitx5 in immodule cache at /usr/lib32/gtk-3.0/3.0.0/immodules.cache

  4. Gtk IM module files:

    1. gtk 2:

      All found Gtk 2 immodule files exist.

    2. gtk 3:

      All found Gtk 3 immodule files exist.

    3. gtk 4:

      All found Gtk 4 immodule files exist.

Configuration:

Fcitx Addons:

  1. Addon Config Dir:

    Found fcitx5 addon config directory: /usr/share/fcitx5/addon.

  2. Addon List:

    1. Found 20 enabled addons:

      Classic User Interface 5.1.10
      Clipboard 5.1.10
      DBus 5.1.10
      DBus Frontend 5.1.10
      Emoji 5.1.10
      Fcitx4 Frontend 5.1.10
      IBus Frontend 5.1.10
      Input method selector 5.1.10
      Keyboard 5.1.10
      KDE Input Method Panel 5.1.10
      Status Notifier 5.1.10
      Notification 5.1.10
      Quick Phrase 5.1.10
      Spell 5.1.10
      Unicode 5.1.10
      DBus Virtual Keyboard 5.1.10
      Wayland 5.1.10
      Wayland Input method frontend 5.1.10
      XCB 5.1.10
      X Input Method Frontend 5.1.10
      
    2. Found 0 disabled addons:

  3. Addon Libraries:

    All libraries for all addons are found.

  4. User Interface:

    Found 3 enabled user interface addons:

    Classic User Interface
    KDE Input Method Panel
    DBus Virtual Keyboard
    

Input Methods:

  1. /home/kxeo/.config/fcitx5/profile:

    [Groups/0]
    # Group Name
    Name=Default
    # Layout
    Default Layout=lv
    # Default Input Method
    DefaultIM=keyboard-rs
    
    [Groups/0/Items/0]
    # Name
    Name=keyboard-lv
    # Layout
    Layout=
    
    [Groups/0/Items/1]
    # Name
    Name=keyboard-rs
    # Layout
    Layout=
    
    [Groups/0/Items/2]
    # Name
    Name=keyboard-ge-mess
    # Layout
    Layout=
    
    [Groups/0/Items/3]
    # Name
    Name=keyboard-ru
    # Layout
    Layout=
    
    [Groups/0/Items/4]
    # Name
    Name=keyboard-tm
    # Layout
    Layout=
    
    [GroupOrder]
    0=Default
    

Log:

  1. date:

    Thu Aug 29 09:09:17 CDT 2024
    
  2. /home/kxeo/.config/fcitx5/crash.log:

    /home/kxeo/.config/fcitx5/crash.log not found.

Kxeo commented

Not you fault. KDE's.