Bug 364801 - there should be a global plugin en/disable setting
Summary: there should be a global plugin en/disable setting
Status: RESOLVED WORKSFORME
Alias: None
Product: kdevplatform
Classification: Developer tools
Component: general (show other bugs)
Version: git master
Platform: Compiled Sources All
: NOR normal
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-27 09:17 UTC by RJVB
Modified: 2022-11-20 05:12 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description RJVB 2016-06-27 09:17:20 UTC
With the last change to the perforce plugin I am now seeing

Could not load plugin "kdevperforce" , it reported the error: "The variable P4CONFIG is not set." Disabling the plugin now.

each time I open a session I hadn't opened since the last updated.

IMHO this is indicative of an underlying issue with the settings management: it isn't clear which apply per session and which apply globally. It thus cannot be clear either what settings are session-specific overrides of a global default.

I don't use perforce, so don't have any reason to set P4CONFIG, and also do not need to be reminded of that every time I create a new session. The perforce plugin can be disabled once and for all (either automatically or manually), and then that setting can apply to all sessions (present, past and future).

Reproducible: Always

Steps to Reproduce:
1. update to KDevPlatform 4.90.91.370 or later
2. create a new session or open an existing session not yet upgraded


Actual Results:  
Could not load plugin "kdevperforce" , it reported the error: "The variable P4CONFIG is not set." Disabling the plugin now.


Expected Results:  
The above error should be printed at most once, the 1st time the absence of P4CONFIG is detected
Comment 1 Milian Wolff 2016-06-27 09:33:36 UTC
This btw. sounds like a bug in the perforce plugin. Like the cmake or git plugins, it should simply disable itself if it cannot find the required external binary. And it should do that without showing a message dialog.
Comment 2 RJVB 2016-06-27 09:42:18 UTC
There's that too of course.

It's not the plugin that prints the message though (I don't get a dialog). It just sets an error message and returns an error code; the message is printed at a higher level like a plugin manager.
Comment 3 Justin Zobel 2022-10-21 23:59:45 UTC
Thank you for reporting this bug in KDE software. As it has been a while since this issue was reported, can we please ask you to see if you can reproduce the issue with a recent software version?

If you can reproduce the issue, please change the status to "CONFIRMED" when replying. Thank you!
Comment 4 Bug Janitor Service 2022-11-05 05:08:40 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 5 Bug Janitor Service 2022-11-20 05:12:57 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now 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

Thank you for helping us make KDE software even better for everyone!