-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Relation with Konsole? #320
Comments
i would prefer 3 to be true |
I truly wish qterminal could use the konsole widget. qtermwidget is pretty awful at this point :( Lots and lots of issues with text rendering (especially cjk), bugs, memory leaks etc. |
Thanks. Many developers are thinking about the same thing :) The first issue is that konsole uses KPty, which is a Tier 2 framework.
I remember that LXQt doesn't like KF5 components beyond Tier 1? |
Yeah it's a bit much to ask to pull ki18n just for a terminal component. kcoreaddons I think we can live with if it's seriously used in kpty. |
Turns out that kcoreaddons is easier to drop. KUser is used for updating login records, and KProcess is necessary for functional tests only. On the other hand, KI18N uses gettext formats ( By the way, KDE translations are pulled from a server (?) whenever a new version is tagged. For example KDE/kpty@216c920 |
Why does the terminal widget need translations? |
It's used in error messages:
|
My original idea was to make terminal part of konsole a standalone lib (like eg. vte for gtpk/gnome world) to be shared between konsole and qterminal. Unfortunately I had never found a time to do it. |
Yeah that'd be super nice. But we need the help of the kde devs for this, otherwise it's futile imo :\ |
If there's only 5 error strings we can dispense with ki18n and replace them with ts... |
well, we need common agreement with konsole guys. Then it can be done (quite) easily |
Any update on this? |
I've tried it yet got not much progress. A big problem is KConfig. I don't
think upstream will accept a patch full of LXQtSettings. A proxy is
necessary.
…On Oct 9, 2017 13:05, "Conor Randall" ***@***.***> wrote:
Any update on this?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#320 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AB2RGX_wDhQMeKQ2ZmXDjN0Pb2qvYwi_ks5sqamqgaJpZM4M4Arz>
.
|
In my opinion, qterminal should just be abandoned at this point. It's only a couple of extra packages to install konsole from the base LXQt install, and qterminal is not usable at all IMO. qterminal has a pretty terrible memory leak going on; if I leave it open for a day or so, it's easily using a GB or two of RAM. It really doesn't make much sense to do the extra work to maintain a fork of konsole that adds a minimal amount of features. The features added by qterminal aren't really great either, IMO. For example, the tiling it adds is much better handled by something like tmux. |
It's not "only a couple of extra packages", it's the whole kde suite, trickling all the way down to things like phonon and a bunch of services. That is not acceptable. I would 100% love for Konsole to adapt a lighter mode like kwin has been working on, so that it may not depend on all this... I would especially love if we could get the terminal widget as a pure qt library (like qtermwidget), because that's 95% of it. But that needs someone driving it, and I don't have the time to spend on lxqt anymore so it has to be someone else. If you're volunteering, I can guide you. |
For me, installing konsole has 2 packages to be installed. Unless something has changed with the amount of KDE libs included between the LXQt release on 16.04 and the latest LXQt release, or some other package I have installed requires KDE's libs, it seems like LXQt is already including all of the libs that konsole needs to install. AFAIK, the only thing that I've installed that requires KDE libs is the I'm currently using xfce4-terminal on this VM because of some weird font rendering issues I have in konsole, but that's another story lol :EDIT: This is on a bare install from Ubuntu Server 16.04 for what it's worth. LXQt is the only DE on there, and I've got 1314 packages installed. The packages listed in the picture above are packages that have been marked as manually installed, so I'm kinda confused as to what exactly you're talking about when you say |
@simoniz0r follow list is the list of packages where konsole requires but qterminal doesn't. I already stripped the common dependencies. Why are you telling that konsole only need 2 more packages ? adwaita-icon-theme |
Because for me, that's all it needed after a base LXQt install. |
Someone "backported" a qtermwidget enhancement to Konsole: KDE/konsole@b8a2f0c Now I think it's good to keep qterminal and qtermwidget standalone. Konsole is really slow for some feature requests. |
@kghost: maybe because of your distro? |
@kghost - your list isn't right - maybe reading the apt manual will help a lot. |
@Thaodan - much issues are not pure packaging issues - most of the annoyances are "issues" with the understanding the package manager of choice and the intentions of the maintainers. |
@yan12125 - bare with me, but if it is possible we should only use certain parts of the konsole dependencies without modify them as far as possible - things like kpty and others come to mind - dunno if this is possible, but we should re-use as much as we can unchanged from the KDE-Project Edit: if they use code from us - fine, but there are several places where we should rebase against them - *bsd support comes to mind, it was not possible for me to run qterminal without root on a debian kfreebsd system - konsole works fine. So we should keep the diff in plumbing components as little as possible. |
Mind open an issue for that? I would call it a serious bug. |
na - is not that serious and would only make sense if the kfreebsd-things catch up (the builder was broken and now i don't have the needed things to even compile a current LXQt - but i will file a bug once i can play with it again) |
A bad news is that kpty is currently not applicable for LXQt: #320 (comment) |
@agaida: thats exactly what you describe. |
@yan12125 I wasn't aware of this open issue. Does it mean that I'm not the only one who doesn't know the deep codes of |
Oh, I found this: "qtermwidget has a lot of issues which are not getting fixed because nobody really knows how it works..." At least, one of us should dedicate some time to it. Its just a code after all ;) |
My point is only: if i look into our files - would it be possible to use nearly unmodified copies from KDE? |
@agaida I didn't know about this situation before. A piece of code can't remain a mystery forever. |
What pros would the |
If you use Konsole now, you'll be happy that we didn't do 3. Konsole has weird issues that qterminal doesn't. The codes of qtermwidget and especially qterminal has become very different from those of Konsole. Like any other fork, the paths are different, although the good changes of Konsole may be adapted for qterminal/qtermwidget. |
Totally unrelated but how does libvterm compare to QTerminal?
|
Sorry, no idea. |
QTerminal is forked almost 7 years ago. There are quite a few bugs implemented/new features added in Konsole in the 7 years. It's annoying to backport patches. Here I have some ideas:
The current approach is 1, yet personally I prefer 3. I don't like 1 as it sounds reinventing wheels. 2 will lead to the same situation after some time.
3 takes the most time I guess, but it's the real long-term solution in my opinion. It can be divided into several steps:
Any ideas?
The text was updated successfully, but these errors were encountered: