Bug 412932

Summary: [KDiff3][v 1.9.70 x64] Missing Icons in Taskbar (Ubuntu)
Product: [Applications] kdiff3 Reporter: msc
Component: applicationAssignee: michael <reeves.87>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description msc 2019-10-14 08:22:32 UTC
SUMMARY






STEPS TO REPRODUCE
1. When launching kdiff3 from terminal it is displayed with a ubuntu placeholder icon in the taskbar. I also get the following terminal output on launching kdiff3:
2. Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/16/"
   Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/22/"
   Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/24/"
   Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/32/"
   Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/48/"
   Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/64/"
   Invalid Context= "stock" line for icon theme:  "/usr/share/icons/ubuntu-mono-dark/stock/128/"
   No text-to-speech plug-ins were found.
3. When I launch it over Ubuntu "search", I see the correct icon in the search results, but when launching it, the icon is also replaced with a placeholder.


OBSERVED RESULT
kdiff3 icon replaced by ubuntu placeholder icon in taskbar.

EXPECTED RESULT
Kdiff3 icon in taskbar.

SOFTWARE/OS VERSIONS
Linux: Ubuntu 18.04 LTS
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Build from Repo on GitHub. With the most up to date packages available for ubuntu 18.04 LTS

======================================================================================================
Output of cmake:
Found Gettext: /usr/bin/msgmerge (found version "0.19.8.1") 
-- Found PythonInterp: /usr/bin/python (found version "2.7.15") 
-- Found KF5I18n: /usr/lib/x86_64-linux-gnu/cmake/KF5I18n/KF5I18nConfig.cmake (found version "5.44.0") 
-- Found KF5CoreAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5CoreAddons/KF5CoreAddonsConfig.cmake (found version "5.44.0") 
-- Found KF5Crash: /usr/lib/x86_64-linux-gnu/cmake/KF5Crash/KF5CrashConfig.cmake (found version "5.44.0") 
-- Found KF5IconThemes: /usr/lib/x86_64-linux-gnu/cmake/KF5IconThemes/KF5IconThemesConfig.cmake (found version "5.44.0") 
-- Found KF5DocTools: /usr/lib/x86_64-linux-gnu/cmake/KF5DocTools/KF5DocToolsConfig.cmake (found version "5.44.0") 
-- Found KF5: success (found suitable version "5.44.0", minimum required is "5.23.0") found components:  I18n CoreAddons Crash IconThemes DocTools 
-- Found KF5Parts: /usr/lib/x86_64-linux-gnu/cmake/KF5Parts/KF5PartsConfig.cmake (found version "5.44.0") 
-- Found KF5WidgetsAddons: /usr/lib/x86_64-linux-gnu/cmake/KF5WidgetsAddons/KF5WidgetsAddonsConfig.cmake (found version "5.44.0") 
-- Found KF5: success (found suitable version "5.44.0", minimum required is "5.23.0") found components:  Parts WidgetsAddons 
-- Found KF5Config: /usr/lib/x86_64-linux-gnu/cmake/KF5Config/KF5ConfigConfig.cmake (found version "5.44.0") 
-- Found KF5: success (found suitable version "5.44.0", minimum required is "5.23.0") found components:  Parts WidgetsAddons Config 
-- Found KF5KIO: /usr/lib/x86_64-linux-gnu/cmake/KF5KIO/KF5KIOConfig.cmake (found version "5.44.0") 
-- Found KF5: success (found suitable version "5.44.0", minimum required is "5.23.0") found components:  KIO WidgetsAddons 
-- The following OPTIONAL packages have been found:

 * KF5DocTools (required version >= 5.23.0)
   Allows generating and installing docs.
 * KF5Bookmarks (required version >= 5.44.0)

-- The following REQUIRED packages have been found:

 * ECM (required version >= 5.10.0)
 * Qt5Core
 * Qt5Gui
 * Qt5Widgets
 * Qt5PrintSupport
 * Qt5 (required version >= 5.6.0)
 * Gettext
 * PythonInterp
 * KF5I18n (required version >= 5.23.0)
 * KF5CoreAddons (required version >= 5.23.0)
 * KF5Crash (required version >= 5.23.0)
 * KF5IconThemes (required version >= 5.23.0)
 * KF5Parts (required version >= 5.23.0)
 * KF5KIO (required version >= 5.23.0)
 * KF5WidgetsAddons (required version >= 5.23.0)
 * KF5 (required version >= 5.23.0)

-- Configuring done
-- Generating done
-- Build files have been written to: /home/michael/git_repos/kdiff3
======================================================================================================

Warnings from make:
/kdiff3/src/SourceData.cpp: In member function ‘QStringList SourceData::readAndPreprocess(QTextCodec*, bool)’:
/kdiff3/src/SourceData.cpp:511:48: warning: ‘void SourceData::FileData::copyBufFrom(const SourceData::FileData&)’ is deprecated [-Wdeprecated-declarations]
             m_lmppData.copyBufFrom(m_normalData);
                                                ^
/kdiff3/src/SourceData.cpp:308:6: note: declared here
 void SourceData::FileData::copyBufFrom(const FileData& src) //TODO: Remove me.
      ^~~~~~~~~~
/kdiff3/src/SourceData.cpp:542:35: warning: ‘void SourceData::FileData::removeComments()’ is deprecated [-Wdeprecated-declarations]
         m_lmppData.removeComments();
                                   ^
In file included from /kdiff3/src/SourceData.cpp:33:0:
/kdiff3/src/SourceData.h:101:32: note: declared here
         Q_DECL_DEPRECATED void removeComments();
                                ^~~~~~~~~~~~~~
/kdiff3/src/SourceData.cpp: In member function ‘bool SourceData::FileData::preprocess(QTextCodec*)’:
/kdiff3/src/SourceData.cpp:600:17: warning: variable ‘firstNonwhite’ set but not used [-Wunused-but-set-variable]
         quint32 firstNonwhite=0;
                 ^~~~~~~~~~~~~

/kdiff3/src/SourceData.cpp: In member function ‘QStringList SourceData::readAndPreprocess(QTextCodec*, bool)’:
/kdiff3/src/SourceData.cpp:511:48: warning: ‘void SourceData::FileData::copyBufFrom(const SourceData::FileData&)’ is deprecated [-Wdeprecated-declarations]
             m_lmppData.copyBufFrom(m_normalData);
                                                ^
/kdiff3/src/SourceData.cpp:308:6: note: declared here
 void SourceData::FileData::copyBufFrom(const FileData& src) //TODO: Remove me.
      ^~~~~~~~~~
/kdiff3/src/SourceData.cpp:542:35: warning: ‘void SourceData::FileData::removeComments()’ is deprecated [-Wdeprecated-declarations]
         m_lmppData.removeComments();
                                   ^
In file included from /kdiff3/src/SourceData.cpp:33:0:
/kdiff3/src/SourceData.h:101:32: note: declared here
         Q_DECL_DEPRECATED void removeComments();
                                ^~~~~~~~~~~~~~
/kdiff3/src/SourceData.cpp: In member function ‘bool SourceData::FileData::preprocess(QTextCodec*)’:
/kdiff3/src/SourceData.cpp:600:17: warning: variable ‘firstNonwhite’ set but not used [-Wunused-but-set-variable]
         quint32 firstNonwhite=0;
                 ^~~~~~~~~~~~~
Comment 1 michael 2019-10-15 01:00:03 UTC
I get the messages on my machine but the icon loads correctly. Weird. Let me see what I can find out.