Closed Adspectus closed 1 year ago
I am not in front of a computer, but there should be a setting for that.
Thanks for your prompt answer, but there is no setting for this - at least I could not find one.
There is a search bar in the settings dialog.
Yes, I know, and I can see some tag related settings, the closest one is to disable the counter completely.
The cumulative numbers are shown if you use this:
You might think I am an idiot, and maybe indeed I am, but thats what I have set at first. From the screenshot, it is not completely visible, but I have only two notes (except the default ones), one is tagged with "SCHo" and "Schulungen", the other with "SCHo" and "Vorstand". Hence, I would expect, that the counter on "SCHo" would be 2. Unfortunately, due to the bad UI the tags in the lower left corner are not completely visible. This screenshot is from Ubuntu 20, but I am also using it on a MacBook, where the same problem occurs and the tag panel in the lower left corner is even worse visible. And yes, I just updated the application on both computers to the most recent version.
I did some further tests and have noted, that only the subtag which is added last to a tag increases the counter of the tag as well.
The feature of cumulative viewing of note in sub-tags was user-contributed... I'll have to look deeper in how the counts in the tag list are calculated in that mode.
Or maybe the counting was contributed, I can't even remember anymore 😁
Those features are involved: #137 and #1709
@Waqar144, are there any chances #1960 (with for example https://github.com/pbek/QOwnNotes/commit/b9bb160a6ec421f88793861c62d6db9d6330ab5e) had any influence on the note counting with the feature to also show the notes of sub-tags? I can't bisect those commits on NixOS anymore. 🙈
Yes, unfortunately, #1960 seems to have broken the note-counting if taggingShowNotesRecursively
is turned on... 😬
There now is a new release, could you please test it and report if it works for you?
I tested it and it works like expected both on Ubuntu and MacOS
Great, thank you for testing!
Please paste the text from the issue assistant here. It should be already in your clipboard.#### Expected behaviour
When using subtags, notes that contain a tag and any subtag, are counted at the tag level.
Actual behaviour
The tag counter does not reflect the sum of subtags.
Steps to reproduce
Create 2 notes, one note with tags "a" and "b", another with tags "a" and "c". "b" and "c" are subtags of tag "a". All counters show count 1, but tag "a" should show count 2.
Relevant log output in the Log panel
Expand
``` [11:26:52] [debug] updatePanelMenu - 'updatePanelMenu' [11:26:52] [debug] Reply from "/remote.php/dav/calendars/uwe/nochntest/" [11:26:52] [debug] Reply from ownCloud calendar todo list page [11:26:52] [debug] Reply from "/remote.php/dav/calendars/uwe/nochntest/0AC4072D-71FB-40DE-BC67-ED74DCEC768E.ics" [11:26:52] [debug] Reply from ownCloud calendar item ics page [11:26:52] [debug] Reply from "/remote.php/dav/calendars/uwe/nochntest/0973F501-72C3-4FD6-B99E-A68BD07FB859.ics" [11:26:52] [debug] Reply from ownCloud calendar item ics page [11:26:52] [debug] Reply from "/remote.php/dav/calendars/uwe/nochntest/BEB811D1-FFDF-4820-99D7-08C6AB6F76BD.ics" [11:26:52] [debug] Reply from ownCloud calendar item ics page [11:26:52] [debug] Reply from "/remote.php/dav/calendars/uwe/nochntest/9766E2F6-7D72-4C2B-9B37-952CAE2962E8.ics" [11:26:52] [debug] Reply from ownCloud calendar item ics page [11:26:52] [debug] Reply from "/remote.php/dav/calendars/uwe/nochntest/EBB3B497-0C26-4DA9-A2B4-62041D462995.ics" [11:26:52] [debug] Reply from ownCloud calendar item ics page [11:26:52] [debug] Reply from "/remote.php/dav/calendars/uwe/nochntest/6F5A46F7-C4E9-44FA-9717-2492B7E5B00D.ics" [11:26:52] [debug] Reply from ownCloud calendar item ics page [11:26:52] [debug] Reply from "/remote.php/dav/calendars/uwe/nochntest/624609F1-0D7B-4966-94C1-EFD4DC0BF2D2.ics" [11:26:52] [debug] Reply from ownCloud calendar item ics page [11:26:59] [debug] getBoards - 'url': QUrl("https://cloud.uwe-gehring.de/index.php/apps/deck/api/v1.1/boards?details=true") [11:27:00] [debug] cloudConnection: CloudConnection:Information about the application, settings and environment
Expand
QOwnNotes Debug Information =========================== ## General Info **Current Date**: `Fr. Aug. 25 11:32:03 2023` **Version**: `23.8.0` **Build date**: `Aug 4 2023` **Build number**: `1048` **Platform**: `linux` **Operating System**: `Ubuntu 20.04.6 LTS` **Build architecture**: `x86_64` **Current architecture**: `x86_64` **Release**: `Launchpad PPA` **Qt Version (build)**: `5.12.8` **Qt Version (runtime)**: `5.12.8` **Portable mode**: `no` **Settings path / key**: `/home/uwe/.config/PBE/QOwnNotes.conf` **Application database path**: `/home/uwe/.local/share/PBE/QOwnNotes/QOwnNotes.sqlite` **Application arguments**: `QOwnNotes` **Qt Debug**: `0` **Locale (system)**: `de_DE` **Locale (interface)**: *empty* **Primary screen resolution**: `3440x1440` **Icon theme**: `Yaru` **Notes in current note folder**: `4` **Calendar items**: `39` **Enabled scripts**: `0` ## Server Info **serverUrl**: `https://cloud.uwe-gehring.de` **appIsValid**: `yes` **notesPathExists**: `yes` **serverVersion**: `26.0.5.1` **appVersion**: *empty* ## Spellchecking **Enabled**: `true` **Selected language**: `auto` **Language codes**: `de_AT, de_AT_frami, de_CH, de_CH_frami, de_DE, de_DE_frami, en_AU, en_CA, en_GB, en_US, en_ZA` **Language names**: `Österreichisches Deutsch (Österreich), Österreichisches Deutsch (Österreich), Schweizer Hochdeutsch (Schweiz), Schweizer Hochdeutsch (Schweiz), Deutsch (Deutschland), Deutsch (Deutschland), Australian English (Australia), Canadian English (Canada), British English (United Kingdom), American English (United States), English (South Africa)` **Application dictionaries path**: `/home/uwe/.local/share/PBE/QOwnNotes/dicts` ## Note folders **currentNoteFolderId**: `1` ### Note folder `Standard` **id**: `1` **isCurrent**: `yes` **activeTagId**: `-1` **localPath**: `/home/uwe/Notes` **remotePath**: `Notes` **cloudConnectionId**: `1` **isShowSubfolders**: `yes` **isUseGit**: `no` **allowDifferentNoteFileName**: `yes` **activeNoteSubFolder name**: *empty* **database file**: `/home/uwe/Notes/notes.sqlite` ## Cloud connections ### Cloud connection `Standard` **id**: `1` **isCurrent**: `yes` **serverUrl**: `https://cloud.uwe-gehring.de` **username**: `uwe` **accountId**: `uwe` **Nextcloud Deck boardId**: `0` **Nextcloud Deck stackId**: `0` ## Enabled scripts ## Settings **ActiveNoteHistoryItem** (NoteHistoryItem): `