Bug 441322

Summary: 'ghost' font when renaming a category
Product: [Applications] kmymoney Reporter: Fred <dbyy>
Component: generalAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED WORKSFORME    
Severity: normal    
Priority: NOR    
Version First Reported In: 5.0.8   
Target Milestone: ---   
Platform: Mint (Ubuntu based)   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: screenshot with 'ghost' font (PNG)
Showing the same on stock openSUSE 15.2

Description Fred 2021-08-21 21:07:42 UTC
Created attachment 140921 [details]
screenshot with 'ghost' font (PNG)

SUMMARY
When renaming a category, after put focus on the name field, the contents shows a 'ghost' font over a a green background colour. This makes it very difficult to determine on which position I'm on in the name field.
It also would be nice to have the field cleared for e.g. through the backspace key. 

STEPS TO REPRODUCE
1. select an existing category
2. click button 'Ren'
3. set focus on the field with the cursor/mouse

OBSERVED RESULT
a 'ghost' font in the field

EXPECTED RESULT
clean font, easy to read.


SOFTWARE/OS VERSIONS
System:    Kernel: 5.4.0-81-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6  wm: muffin dm: LightDM Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focalasma: 

ADDITIONAL INFORMATION
see attached screenshot
Comment 1 Thomas Baumgart 2021-08-22 10:36:41 UTC
Created attachment 140936 [details]
Showing the same on stock openSUSE 15.2

Could it be, that this is caused by the combination of your local components? I don't see this problem here with a standard KDE install on the breeze theme.
Comment 2 Thomas Baumgart 2021-08-22 10:37:14 UTC
Changing status
Comment 3 Fred 2021-08-23 20:19:22 UTC
(In reply to Thomas Baumgart from comment #1)
> Created attachment 140936 [details]
> Showing the same on stock openSUSE 15.2
> 
> Could it be, that this is caused by the combination of your local
> components? I don't see this problem here with a standard KDE install on the
> breeze theme.

I have no way of knowing whether or even which local components can influence the outcome. I don't know the source code of kmymoney :-(
Comment 4 Jack 2021-08-23 20:55:33 UTC
Minor point - is there any possibility of updating to a more recent version of KMM?  You might consider an appimage, at least for testing.  https://kmymoney.org/appimage.html.  I don't think it should matter in this case, but always a good thing to try.
The local components include things like various configuration settings, such as colors and themes - have you altered any of these from the defaults?  One way to check for this is to create a new user and try KMM as that user.
Comment 5 Fred 2021-08-25 16:46:51 UTC
Hi Jack
I downloaded and launched the latest AppImage version (KMyMoney-5.1.2-94d7cf5-x86_64.AppImage).

I appears that in the new version the layout of the edit window has changed
(there is no 'Ren' button anymore).
After right-mouse click of the particular category I can select the "rename" mode and there is not ghost font anymore.
What puzzles me is that when I'm now launching the 'old' version (5.0.8) the behaviour is now the same as in the 5.1.2 version.
But that's fine with me.

I just have to embed the new version in my menu system.
It seems that the problem is resolved now.

A for now I will not test the old version with a new user as you've suggested.
 
Thanks for your help.
Fred
Comment 6 Jack 2021-08-25 17:19:23 UTC
I call this a "phase of the moon" problem.  It's likely something subtle in some configuration setting, which got reset by using the new version, and no, that doesn't really make much sense to me either.  I'll close for now - feel free to reopen if the problem recurs.