Bug 28794 - Kdevelop cannot fetch project from CVS on non Plasma DE
Summary: Kdevelop cannot fetch project from CVS on non Plasma DE
Status: RESOLVED WONTFIX
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: All Linux
Priority: Normal normal
Target Milestone: ---
Assignee: KDE maintainers
QA Contact:
URL:
Whiteboard: MGA8TOO
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-17 01:34 CEST by Cyril Levet
Modified: 2021-04-23 21:58 CEST (History)
3 users (show)

See Also:
Source RPM: kdevelop-5.6.2-3.mga9.src.rpm
CVE:
Status comment:


Attachments
kdevelop log on a Mageia 8 Cinnamon (1.14 KB, text/plain)
2021-04-23 18:12 CEST, Cyril Levet
Details
kdevelop log on Plasma (645 bytes, text/plain)
2021-04-23 18:16 CEST, Cyril Levet
Details

Description Cyril Levet 2021-04-17 01:34:23 CEST
Description of problem: Fetching project controled by VCS is not possible on DE other than KDE because KDE_FULL_SESSION=true is not set. 

When you click on Project -> Fetch Project on kdevelpo, it normally gives you a window for selecting the source (Git, Bazaar...). But in all DE except Plasma it directly show the Open Window. So you cannot import project.

This happens because KDE_FULL_SESSION has to be true and its not set in DE others than Plasma

This bug affects Mageia 8 too

Version-Release number of selected component (if applicable): kdevelop-5.6.2-3


How reproducible: Always


Steps to Reproduce:
1. Install Kdevelop on any DE except Plasma
2. Go to Project -> Fetch Project
Comment 1 Aurelien Oudelet 2021-04-20 17:43:59 CEST
Hi, thanks for this report and useful workaround.


Unsure if this an upstream issue or a by-design issue. KDE umbrella applications should be run in a Plasma/KDE session.
Perhaps a missing dependancy?

Assigning to KDE maintainers.

Assignee: bugsquad => kde
CC: (none) => ouaurelien
Whiteboard: (none) => MGA8TOO

Comment 2 Nicolas Lécureuil 2021-04-20 20:27:11 CEST
can you do this in a terminal ? ( like konsole ).

This will allow to see debug/error messages.

CC: (none) => mageia

Comment 3 Cyril Levet 2021-04-23 18:12:04 CEST
Created attachment 12669 [details]
kdevelop log on a Mageia 8 Cinnamon

Launching kdevelop from a terminal on a new Mageia 8 Cinnamon.
Comment 4 Cyril Levet 2021-04-23 18:16:22 CEST
Created attachment 12670 [details]
kdevelop log on Plasma

Launching kdevelop from konsole in new Mageia 8 Plasma.
Comment 5 David GEIGER 2021-04-23 19:39:29 CEST
If you install now qtxmlpatterns5 and konsole, kdevelop runs?

CC: (none) => geiger.david68210

Comment 6 Cyril Levet 2021-04-23 20:24:53 CEST
(In reply to David GEIGER from comment #5)
> If you install now qtxmlpatterns5 and konsole, kdevelop runs?

The problem is not that kdevelops does not run but that it is impossible to fetch a project because a window is not displayed if KDE_FULL_SESSION is not true.
Comment 7 David GEIGER 2021-04-23 21:36:23 CEST
kdevelop is developed for kde platform so I don't know if it can properly run/work under another platforms.
Comment 8 Cyril Levet 2021-04-23 21:48:22 CEST
Well in their website (https://www.kdevelop.org/), the first phrase is : KDevelop - A cross-platform IDE for C, C++, Python, QML/JavaScript and PHP. Working only on KDE is not really Cross-Platform. And the only thing that change everything is this environment variable :  KDE_FULL_SESSION. So I can use it on any other DE if I manually set this variable, but I don't know if it can be problematic to set it to true.
Comment 9 Aurelien Oudelet 2021-04-23 21:58:33 CEST
(In reply to Cyril Levet from comment #8)
> Well in their website (https://www.kdevelop.org/), the first phrase is :
> KDevelop - A cross-platform IDE for C, C++, Python, QML/JavaScript and PHP.
> Working only on KDE is not really Cross-Platform. And the only thing that
> change everything is this environment variable :  KDE_FULL_SESSION. So I can
> use it on any other DE if I manually set this variable, but I don't know if
> it can be problematic to set it to true.

To finish paraphrazing:

KDevelop is a feature-full, plugin extensible IDE for C/C++ and many other programming languages. Supported platforms include Linux, Solaris, FreeBSD, macOS and other Unix flavors as well as Microsoft Windows. It is based on KDevelop Platform (kdevplatform), the KDE Frameworks and the Qt libraries.

It is cross platform to run on Linux, Solaris, FreeBSD, macOS and Windows. But as long as it is based upon QT AND KDE Frameworks, it requires the full Plasma Desktop to run.

Closing WONTFIX.

Resolution: (none) => WONTFIX
Status: NEW => RESOLVED


Note You need to log in before you can comment on or make changes to this bug.