[kmail2] [Bug 408840] New: contradictive behaviour in marking messages

2019-06-17 Thread Christoph
https://bugs.kde.org/show_bug.cgi?id=408840

Bug ID: 408840
   Summary: contradictive behaviour in marking messages
   Product: kmail2
   Version: 5.10.3
  Platform: openSUSE RPMs
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: misc
  Assignee: kdepim-bugs@kde.org
  Reporter: ilove...@mojo.cc
  Target Milestone: ---

SUMMARY:
I use message-marking in kmail for accounting bills.

I basically use 3 unique categories (i use this term for the different
markings):

"unpaid" (setting the background-color to YELLOW)
"paid" (bg set to GREEN)
"reminded" (bg set to RED)

And one general "Mastercategory" named "# Buchhaltung" (german for accounting)
where this category doesnt define any colors at all.

But there is no way to use them in any cumulative way .. like:
an accounting-related mail may be only one of the color-categories
(red/green/yellow) but it is always member of the (colorless)
accounting-category.

But only one of them (first by sort order) is taking effect while others are
ignored/overruled.

STEPS TO REPRODUCE
1. mark an email as "accounting"(colorless)
2. mark the same email as "RED"

OBSERVED RESULT

marked mail stays in the default colorscheme as if not marked at all

EXPECTED RESULT

since only one of the markings actively sets a backgroundcolor , i would expect
it to be RED .. but is stay colorless albeit that category doesnot force any
backgroundcolor at all.

Workaround for me now is: I moved the colorless-category after the
colored-categories .. to avoid this affect .. not sure how it is really
planned, but i wouldnt expect settings to be ignored like this.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
opensuse 15.1
KDE Frameworks 5.55.0
Plasma 5.12.8
Qt 5.9.7 (kompiliert gegen 5.9.7)

thanks for looking into this
br
-c-

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 386173] akonadictl stop does not shut down database

2019-06-17 Thread Axel Braun
https://bugs.kde.org/show_bug.cgi?id=386173

--- Comment #19 from Axel Braun  ---
(In reply to Daniel Vrátil from comment #17)

> Do you guys use non-english locale by default?

Same result on my end as for Martin

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 386173] akonadictl stop does not shut down database

2019-06-17 Thread Martin Steigerwald
https://bugs.kde.org/show_bug.cgi?id=386173

--- Comment #18 from Martin Steigerwald  ---
Created attachment 120932
  --> https://bugs.kde.org/attachment.cgi?id=120932=edit
akonadiserver.error with english locale, PostgreSQL properly shut down

(In reply to Daniel Vrátil from comment #17)
> Thanks for the logs, both of you. Indeed it appears that Akonadi mistakenly
> thinks, that Postgres is no longer running.
> 
> Do you guys use non-english locale by default?

Yes:

% locale
LANG=de_DE.UTF-8
LANGUAGE=de
LC_CTYPE="de_DE.UTF-8"
LC_NUMERIC="de_DE.UTF-8"
LC_TIME="de_DE.UTF-8"
LC_COLLATE="de_DE.UTF-8"
LC_MONETARY="de_DE.UTF-8"
LC_MESSAGES="de_DE.UTF-8"
LC_PAPER="de_DE.UTF-8"
LC_NAME="de_DE.UTF-8"
LC_ADDRESS="de_DE.UTF-8"
LC_TELEPHONE="de_DE.UTF-8"
LC_MEASUREMENT="de_DE.UTF-8"
LC_IDENTIFICATION="de_DE.UTF-8"
LC_ALL=


> Could you please run the following command both when Postgres IS running and
> when it is NOT running, and paste its output here?
> 
> pg_ctl status --pgdata=$HOME/.local/share/akonadi/db_data

Running:

LANG=en /usr/lib/postgresql/11/bin/pg_ctl status
--pgdata=$HOME/.local/share/akonadi/db_data
pg_ctl: server is running (PID: 25164)
/usr/lib/postgresql/11/bin/postgres "-D"
"/home/martin/.local/share/akonadi/db_data" "-k/tmp/akonadi-martin.wTqoXj" "-h"
""

with my locale:

% /usr/lib/postgresql/11/bin/pg_ctl status
--pgdata=$HOME/.local/share/akonadi/db_data 
pg_ctl: Server läuft (PID: 25164)
/usr/lib/postgresql/11/bin/postgres "-D"
"/home/martin/.local/share/akonadi/db_data" "-k/tmp/akonadi-martin.wTqoXj" "-h"
""

After akonadictl stop:

% LANG=en /usr/lib/postgresql/11/bin/pg_ctl status
--pgdata=$HOME/.local/share/akonadi/db_data
pg_ctl: server is running (PID: 25164)
/usr/lib/postgresql/11/bin/postgres "-D"
"/home/martin/.local/share/akonadi/db_data" "-k/tmp/akonadi-martin.wTqoXj" "-h"
""

with my locale same as above.

Stopped PostgreSQL process manually:

% LANG=en /usr/lib/postgresql/11/bin/pg_ctl status
--pgdata=$HOME/.local/share/akonadi/db_data
pg_ctl: no server running

% /usr/lib/postgresql/11/bin/pg_ctl status
--pgdata=$HOME/.local/share/akonadi/db_data 
pg_ctl: kein Server läuft

Test with US english locale:

% locale  
LANG=en
LANGUAGE=en
LC_CTYPE="en_US.UTF-8"
LC_NUMERIC="en_US.UTF-8"
LC_TIME="en_US.UTF-8"
LC_COLLATE="en_US.UTF-8"
LC_MONETARY="en_US.UTF-8"
LC_MESSAGES="en_US.UTF-8"
LC_PAPER="en_US.UTF-8"
LC_NAME="en_US.UTF-8"
LC_ADDRESS="en_US.UTF-8"
LC_TELEPHONE="en_US.UTF-8"
LC_MEASUREMENT="en_US.UTF-8"
LC_IDENTIFICATION="en_US.UTF-8"
LC_ALL=en_US.UTF-8

% akonadictl --verbose start

% akonadictl stop

Works. Stops database process just fine. akonadiserver.error attached.

Well Daniel, fix would be easy I bet: Just start external commend with English
locale if you need to parse strings in the output.

Is there no better way than than parsing output? pg_ctl returns 3 as exit code
if server is not running (see pg_ctl (1)):

   status mode checks whether a server is running in the specified
   data directory. If it is, the server's PID and the command line
   options that were used to invoke it are displayed. If the
   server is not running, pg_ctl returns an exit status of 3. If
   an accessible data directory is not specified, pg_ctl returns
   an exit status of 4.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmail2] [Bug 408798] KMail Fails to Start

2019-06-17 Thread Wolfgang Bauer
https://bugs.kde.org/show_bug.cgi?id=408798

--- Comment #3 from Wolfgang Bauer  ---
(In reply to yo from comment #2)
> Is there a newsletter / feed of the changes in KMail so things like this can 
> be surfaced?
The release announcements are available here:
https://kde.org/announcements/

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Akonadi] [Bug 386173] akonadictl stop does not shut down database

2019-06-17 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=386173

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REOPENED|CONFIRMED

--- Comment #17 from Daniel Vrátil  ---
Thanks for the logs, both of you. Indeed it appears that Akonadi mistakenly
thinks, that Postgres is no longer running.

Do you guys use non-english locale by default?

Could you please run the following command both when Postgres IS running and
when it is NOT running, and paste its output here?

pg_ctl status --pgdata=$HOME/.local/share/akonadi/db_data

-- 
You are receiving this mail because:
You are the assignee for the bug.