<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>469691</bug_id>
          
          <creation_ts>2023-05-13 08:41:41 +0000</creation_ts>
          <short_desc>Dead keys are not recognized [circumflex (^), diaeresis (&quot;)]</short_desc>
          <delta_ts>2024-04-04 18:15:18 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>krita</product>
          <component>General</component>
          <version>nightly build (please specify the git hash!)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>grum999</reporter>
          <assigned_to name="Dmitry Kazakov">dimula73</assigned_to>
          <cc>dimula73</cc>
    
    <cc>halla</cc>
    
    <cc>wonkyskotny3</cc>
          
          <cf_commitlink>https://invent.kde.org/graphics/krita/-/commit/47396f95ddfc18f5f8dbf0e2f2f14e514088f84b</cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2229872</commentid>
    <comment_count>0</comment_count>
    <who name="">grum999</who>
    <bug_when>2023-05-13 08:41:41 +0000</bug_when>
    <thetext>SUMMARY
circumflex (^) and diaeresis (&quot;) can&apos;t be used anywhere in Krita input field:
- layer name
- file dialog
- document information field
- scripter and any python plugin 
- ...

STEPS TO REPRODUCE
1.  Try to type ^ (0x5e) character in a field 

OBSERVED RESULT
1.  A SPACE (0x20) character is produced

EXPECTED RESULT
1.  A circumflex character is produced


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: KDE Neon 5.27
KDE Plasma Version: 5.27.4
KDE Frameworks Version: 5.105.0
Qt Version: 5.15.9

OS Keyboard configuration: French (alt. latin-9 only)
OS System language: american english
Krita setting:

ADDITIONAL INFORMATION
Workarounf: copy/paste ^ character from Kate or terminal to Krita works (really boring but at least, it works :))

Using appimage on Linux 

Problem occurs for Krita 5.1.5 (e0453bf87f) and Krita 5.2.0 (edb8d52405)

Other softwares works properly on system

I don&apos;t think it could be related to OS itself: according to Krita appimage I still have on my computer, I have appimage working and other not

Here&apos;s some notable differences about QT and LOCALE from Krita&gt;Help&gt;Show system information for bug report between working and not working appimage

Last working appimage I have
*** (2022-11-26) krita-5.2.0-prealpha-9cb8ac659f-x86_64.appimage =&gt; OK, characters can be used ***
&gt; Qt
&gt;  Version (compiled): 5.12.12
&gt;  Version (loaded): 5.12.12
&gt;
&gt;Locale
&gt;  Languages: en_US
&gt;  C locale: LC_CTYPE=en_US.UTF-8;LC_NUMERIC=fr_FR.UTF-8;LC_TIME=fr_FR.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=fr_FR.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=fr_FR.UTF-8;LC_NAME=fr_FR.UTF-8;LC_ADDRESS=fr_FR.UTF-8;LC_TELEPHONE=fr_FR.UTF-8;LC_MEASUREMENT=fr_FR.UTF-8;LC_IDENTIFICATION=fr_FR.UTF-8
&gt;  QLocale current: en
&gt;  QLocale system: en
&gt;  QTextCodec for locale: UTF-8

First non-working appimage I have
***  (2023-02-24) krita-5.2.0-prealpha-d01231403e-x86_64.appimage =&gt; KO, characters can&apos;t be used ***
&gt; Qt
&gt;  Version (compiled): 5.15.7
&gt;  Version (loaded): 5.15.7
&gt;
&gt;Locale
&gt;  Languages: en_US, en, en_Latn_US
&gt;  C locale: LC_CTYPE=en_US.UTF-8;LC_NUMERIC=fr_FR.UTF-8;LC_TIME=fr_FR.UTF-8;LC_COLLATE=en_US.UTF-8;LC_MONETARY=fr_FR.UTF-8;LC_MESSAGES=en_US.UTF-8;LC_PAPER=fr_FR.UTF-8;LC_NAME=fr_FR.UTF-8;LC_ADDRESS=fr_FR.UTF-8;LC_TELEPHONE=fr_FR.UTF-8;LC_MEASUREMENT=fr_FR.UTF-8;LC_IDENTIFICATION=fr_FR.UTF-8
&gt;  QLocale current: en
&gt;  QLocale system: en
&gt;  QTextCodec for locale: UTF-8</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2237509</commentid>
    <comment_count>1</comment_count>
    <who name="Halla Rempt">halla</who>
    <bug_when>2023-06-21 11:21:29 +0000</bug_when>
    <thetext>I can confirm the issue, but I suspect it&apos;s a problem caused by the upgrade from Qt 5.12 to 5.15. It also sounds similar to https://bugs.kde.org/show_bug.cgi?id=468566</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2237593</commentid>
    <comment_count>2</comment_count>
    <who name="">grum999</who>
    <bug_when>2023-06-21 16:37:49 +0000</bug_when>
    <thetext>Yes I think it&apos;s a Qt thing too, I tried to compile Krita to check if the problem occurs with Qt version installed on my system (then not the one embedded in appimage) but I can&apos;t compile Krita anymore, too many broken dependencies for which I can&apos;t understand how to fix, so can&apos;t do this test for now.

I saw problem doesn&apos;t occurs on windows, only on Linux (can&apos;t test MacOs)

Grum999</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2267754</commentid>
    <comment_count>3</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2023-11-22 14:58:48 +0000</bug_when>
    <thetext>I can confirm the issue. The problem happens only in the final AppImage. When running from the docker environment, dead keys work fine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2268121</commentid>
    <comment_count>4</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2023-11-24 10:03:09 +0000</bug_when>
    <thetext>*** Bug 475272 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2268123</commentid>
    <comment_count>5</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2023-11-24 10:13:30 +0000</bug_when>
    <thetext>Git commit 4fdcfa7d4eb3967ef0d1dd971ef89e5fa4568ec5 by Dmitry Kazakov.
Committed on 24/11/2023 at 11:12.
Pushed by dkazakov into branch &apos;master&apos;.

Fix dead keys in AppImage package on Linux

https://invent.kde.org/szaman/qtbase/-/commit/e9957f0065ae5f430697fa968fb7d5d91ef68d1f

M  +1    -1    3rdparty/ext_qt/CMakeLists.txt

https://invent.kde.org/graphics/krita/-/commit/4fdcfa7d4eb3967ef0d1dd971ef89e5fa4568ec5</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2268591</commentid>
    <comment_count>6</comment_count>
    <who name="Dmitry Kazakov">dimula73</who>
    <bug_when>2023-11-26 11:55:05 +0000</bug_when>
    <thetext>Git commit 47396f95ddfc18f5f8dbf0e2f2f14e514088f84b by Dmitry Kazakov.
Committed on 26/11/2023 at 12:53.
Pushed by dkazakov into branch &apos;krita/5.2&apos;.

Fix dead keys in AppImage package on Linux

https://invent.kde.org/szaman/qtbase/-/commit/e9957f0065ae5f430697fa968fb7d5d91ef68d1f

M  +1    -1    3rdparty/ext_qt/CMakeLists.txt

https://invent.kde.org/graphics/krita/-/commit/47396f95ddfc18f5f8dbf0e2f2f14e514088f84b</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2272271</commentid>
    <comment_count>7</comment_count>
    <who name="">grum999</who>
    <bug_when>2023-12-08 16:15:52 +0000</bug_when>
    <thetext>Hi 

Testing Krita 3.3 prealpha (git 5ffd6be) and bug is still here..
Is it normal?
Commit 4fdcfa7d4eb3967ef0d1dd971ef89e5fa4568ec5 is normally taken in account in nightly?

Grum999</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2272275</commentid>
    <comment_count>8</comment_count>
    <who name="">grum999</who>
    <bug_when>2023-12-08 16:21:32 +0000</bug_when>
    <thetext>If I understand git graph (https://invent.kde.org/graphics/krita/-/network/master?ref_type=heads) commit has been made on Krita 5.2 branch and not merged yet to master..

But testing last official Krita 5.2.2, and problem is still here

Grum999</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2307955</commentid>
    <comment_count>9</comment_count>
    <who name="BroskiBaboski">wonkyskotny3</who>
    <bug_when>2024-04-03 08:49:55 +0000</bug_when>
    <thetext>I&apos;m periodically trying nightly builds but the problem is just there</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2307958</commentid>
    <comment_count>10</comment_count>
    <who name="">grum999</who>
    <bug_when>2024-04-03 09:01:22 +0000</bug_when>
    <thetext>Hi

I&apos;m not sure were you&apos;ve downloaded the nightly, for me it&apos;s currently deactivated due to system change?

On my side, I just saw it&apos;s working now, even with 5.2.2
I&apos;m wondering if it could be related to re-install of my OS (switched from KDE Neon to Debian few weeks ago)


Grum999</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2308394</commentid>
    <comment_count>11</comment_count>
    <who name="BroskiBaboski">wonkyskotny3</who>
    <bug_when>2024-04-04 18:15:18 +0000</bug_when>
    <thetext>(In reply to grum999 from comment #10)
&gt; Hi
&gt; 
&gt; I&apos;m not sure were you&apos;ve downloaded the nightly, for me it&apos;s currently
&gt; deactivated due to system change?
&gt; 
&gt; On my side, I just saw it&apos;s working now, even with 5.2.2
&gt; I&apos;m wondering if it could be related to re-install of my OS (switched from
&gt; KDE Neon to Debian few weeks ago)
&gt; 
&gt; 
&gt; Grum999

From here https://invent.kde.org/graphics/krita/-/jobs

the problem is simply there on my end. My bug report was closed as duplicate of this, but despite being set as resolved fixed, it&apos;s absolutely not solved for me.

I use fcitx 5, my keyboard layout is English UK extended, I use the key to the left of 1 (this one `) to input accented vowels such as è and ò, but inside of Krita the dead key does not work. Copypasting the letters from elsewhere functions as a workaround, but the issue has begun at some point between Krita 5.1.5 and 5.2.2, because up to 5.1.5 it never was there.
I frankly don&apos;t know what to do about it</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>