<?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>223708</bug_id>
          
          <creation_ts>2010-01-21 21:13:33 +0000</creation_ts>
          <short_desc>Closed accounts are not hidden in accounts/categories view</short_desc>
          <delta_ts>2021-08-18 03:21:15 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmymoney</product>
          <component>general</component>
          <version>git (master)</version>
          <rep_platform>unspecified</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 name="Thomas Baumgart">tbaumgart</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          <cc>eaglexboy</cc>
          
          <cf_commitlink>https://invent.kde.org/office/kmymoney/commit/51a7a9f77cfaf8d5e9a1123dd2cf387064b9ea3e</cf_commitlink>
          <cf_versionfixedin>5.1.3</cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>903038</commentid>
    <comment_count>0</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2010-01-21 21:13:33 +0000</bug_when>
    <thetext>Version:            (using KDE 4.3.4)
OS:                Linux
Installed from:    openSUSE RPMs

Closed accounts should normally be hidden unless the &quot;Show all accounts&quot; option in the view menu is selected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>903050</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2010-01-21 21:31:05 +0000</bug_when>
    <thetext>Stupid me: I did not have the resp. option turned on. See configure -&gt; general -&gt; filter.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053342</commentid>
    <comment_count>2</comment_count>
    <who name="Eleazar">eaglexboy</who>
    <bug_when>2021-08-15 00:55:14 +0000</bug_when>
    <thetext>I upgraded to Kubuntu 20.04 now all closed account show in Account dropdown in the ledger view and Home Page.

This is happening with App Image Build 876, 928 - 937.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053355</commentid>
    <comment_count>3</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2021-08-15 05:35:21 +0000</bug_when>
    <thetext>Please check &quot;View/Show all account&quot;. Is it marked? Unmark it. If it is not marked and accounts still show, try to mark and unmark it. In case the accounts still show, please report here. 

I just tried build 941 (which does not contain any changes compared to 937) and it works as expected.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053434</commentid>
    <comment_count>4</comment_count>
    <who name="Eleazar">eaglexboy</who>
    <bug_when>2021-08-15 18:07:19 +0000</bug_when>
    <thetext>(In reply to Thomas Baumgart from comment #3)
&gt; Please check &quot;View/Show all account&quot;. Is it marked? Unmark it. If it is not
&gt; marked and accounts still show, try to mark and unmark it. In case the
&gt; accounts still show, please report here. 

That was the first thing I did before I reported this error. I opened the settings and saw that it was checked. So I unchecked it clicked on &quot;Ok&quot;. I opened the settings again and checked it clicked on &quot;OK&quot; and it still showed it. I restarted my PC and tried again and it still showed it. I tried again but this time I clicked on &quot;Apply&quot; then &quot;Ok&quot; in the sequence and it still did not hide them.



&gt; I just tried build 941 (which does not contain any changes compared to 937)
&gt; and it works as expected.
I can download 941 and tried to see if it works but technically it should make no difference since they are off the same commit.


Console output:
... (normal startup logs)
[0815/120355.174863:WARNING:stack_trace_posix.cc(699)] Failed to open file: /memfd:/.glXXXXXX (deleted)
  Error: No such file or directory
syntax error, unexpected CALENDAR&quot;
&quot;syntax error, unexpected CALENDAR&quot;
&quot;syntax error, unexpected CALENDAR&quot;
&quot;syntax error, unexpected COUNTRY, expecting END&quot;
&quot;syntax error, unexpected COUNTRY, expecting END&quot;
&quot;syntax error, unexpected COUNTRY, expecting END&quot;
&quot;syntax error, unexpected MONTH&quot;
&quot;syntax error, unexpected MONTH&quot;
&quot;syntax error, unexpected MONTH&quot;
applications name:  &quot;937_KMyMoney-5.1.2-1e3df89-x86_64.appimage&quot;
applications name:  &quot;937_KMyMoney-5.1.2-1e3df89-x86_64.appimage&quot;
&quot;applications.menu&quot;  not found in  (&quot;/home/eagleboy/.config/menus&quot;, &quot;/etc/xdg/menus&quot;) 

Found an &apos;html&apos; folder with CSS files: &quot;/tmp/.mount_937_KMaRg1Li/usr/bin/../share/kmymoney/html/&quot;
Found an &apos;html&apos; folder with CSS files: &quot;/tmp/.mount_937_KMaRg1Li/usr/bin/../share/kmymoney/html/&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053443</commentid>
    <comment_count>5</comment_count>
    <who name="Eleazar">eaglexboy</who>
    <bug_when>2021-08-15 18:57:12 +0000</bug_when>
    <thetext>I just tried it with 942 and the results are the same.

I even ran `sudo apt-get build-dep kmymoney` just in case it would make a difference but it did not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2053570</commentid>
    <comment_count>6</comment_count>
    <who name="Thomas Baumgart">thb</who>
    <bug_when>2021-08-16 11:56:42 +0000</bug_when>
    <thetext>Git commit 51a7a9f77cfaf8d5e9a1123dd2cf387064b9ea3e by Thomas Baumgart.
Committed on 16/08/2021 at 11:56.
Pushed by tbaumgart into branch &apos;5.1&apos;.

Remove hide closed accounts option from config

(cherry picked from commit 445958f5b904db1d8a5a1d9623b082577bc5475a)
FIXED-IN: 5.1.3

M  +0    -10   doc/details-settings.docbook
M  +0    -12   kmymoney/dialogs/settings/ksettingsgeneral.ui
M  +0    -4    kmymoney/settings/kmymoney.kcfg
M  +7    -1    kmymoney/settings/kmymoney.upd
M  +2    -2    kmymoney/views/kaccountsview.cpp
M  +1    -1    kmymoney/views/kcategoriesview.cpp
M  +1    -1    kmymoney/views/kgloballedgerview_p.h
M  +4    -4    kmymoney/views/khomeview_p.h
M  +1    -1    kmymoney/views/kinstitutionsview.cpp
M  +2    -2    kmymoney/views/kinvestmentview_p.h
M  +1    -1    kmymoney/widgets/ktransactionfilter_p.h

https://invent.kde.org/office/kmymoney/commit/51a7a9f77cfaf8d5e9a1123dd2cf387064b9ea3e</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2054118</commentid>
    <comment_count>7</comment_count>
    <who name="Eleazar">eaglexboy</who>
    <bug_when>2021-08-18 03:21:15 +0000</bug_when>
    <thetext>I downloaded Build 943 and ran it. The &quot;don&apos;t show closed accounts&quot; option is no longer available.

I noticed that under view there is an option for &quot;Show all accounts&quot;. When I unselected it all closed accounts disappeared. When I selected they all came back.

I am assuming this is the new to show/hide closed accounts.

Thanks for the fix.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>