Bug 410251 - Out of context error message
Summary: Out of context error message
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-26 20:19 UTC by Aleksey Midenkov
Modified: 2020-07-20 15:46 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Screenshot_20190726_231504.png (15.75 KB, image/png)
2019-07-26 20:20 UTC, Aleksey Midenkov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aleksey Midenkov 2019-07-26 20:19:01 UTC
Please display error messages only when user tries to do something that is impossible. Not just random error message at program startup.
Comment 1 Aleksey Midenkov 2019-07-26 20:20:00 UTC
Created attachment 121757 [details]
Screenshot_20190726_231504.png
Comment 2 Christoph Feck 2019-07-26 23:05:41 UTC
That looks like a setup error. Which distribution are you using?
Comment 3 Bug Janitor Service 2019-08-10 04:33:10 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 4 Aleksey Midenkov 2019-08-12 08:07:04 UTC
Ubuntu 19.10
Comment 5 Aleksey Midenkov 2019-08-12 08:13:22 UTC
The editor was run as root without appropriate environment. If the program can't work without certain environment: better fail the startup with appropriate error message which gives direct understanding of how to fix.
Comment 6 Aleksey Midenkov 2019-08-12 08:19:23 UTC
After this error message program doesn't exit and continues to run in non-usable state.
Comment 7 Christoph Feck 2019-08-14 02:16:42 UTC
Kate doesn't support running as root. You should still be able to edit root-owned files using its KAuth feature.
Comment 8 Aleksey Midenkov 2019-08-14 17:44:34 UTC
So print the appropriate error message and exit kate. What do you mean "not a bug" when Kate prints some cryptic error and continues to run in non-working state. This is not a bug for you, Christoph?????? I'm tired of your half-working software!!! Please, try to make it a little bit more user-friendly, so users wouldn't spend time by scratching their heads and deciphering what is going on with your programs!!!!
Comment 9 Nicolas Fella 2020-07-20 15:46:21 UTC
When I run 'sudo kate' there is a very clear message that reads "Executing Kate with sudo is not possible due to unfixable security vulnerabilities." and Kate aborts.