Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[Console] Add check for Konsole/Yakuake to disable hyperlinks #31849

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

Merged
merged 1 commit into from
Jun 5, 2019
Merged

[Console] Add check for Konsole/Yakuake to disable hyperlinks #31849

merged 1 commit into from
Jun 5, 2019

Conversation

belinde
Copy link

@belinde belinde commented Jun 4, 2019

Q A
Branch? 4.3
Bug fix? yes
New feature? no
BC breaks? no
Deprecations? no
Tests pass? yes
Fixed tickets #31809
License MIT
Doc PR

Added check for environment variable set by Konsole and other relateds terminal emulators.

A ticket has been opened to Konsole team to support this feature someday: https://bugs.kde.org/show_bug.cgi?id=408288

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please link to a Konsole issue so we can track when they fix this?

@nicolas-grekas
Copy link
Member

Oh, please also patch VarDumper, it has a similar check.

@belinde
Copy link
Author

belinde commented Jun 4, 2019

Oh, please also patch VarDumper, it has a similar check.

I'm on it. I've also noted that there was a test for TERMINAL_EMULATOR=JetBrains-JediTerm: should I add a test just for Konsole?

And what should I do, just add another commit to the PR or I must close it and do another one with the two commits squashed?

@nicolas-grekas
Copy link
Member

nicolas-grekas commented Jun 4, 2019

No tests is OK to me, this wouldn't make much sense.

@belinde
Copy link
Author

belinde commented Jun 4, 2019

Opened bug report to Konsole: https://bugs.kde.org/show_bug.cgi?id=408288
Edited the description of the PR

Copy link
Member

@nicolas-grekas nicolas-grekas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks
For reference, this is a description of the feature for terminals:
https://gist.github.com/egmontkob/eb114294efbcd5adb1944c9f3cb5feda

And I just discovered this gist contains a link to an existing Konsole issue:
https://bugs.kde.org/show_bug.cgi?id=379294

(but your issue is different: it's about degrading gracefully - not necessarily about supporting links)

@fabpot
Copy link
Member

fabpot commented Jun 5, 2019

Thank you @belinde.

@fabpot fabpot merged commit 14b27b7 into symfony:4.3 Jun 5, 2019
fabpot added a commit that referenced this pull request Jun 5, 2019
…nks (belinde)

This PR was squashed before being merged into the 4.3 branch (closes #31849).

Discussion
----------

[Console] Add check for Konsole/Yakuake to disable hyperlinks

| Q             | A
| ------------- | ---
| Branch?       | 4.3
| Bug fix?      | yes
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | #31809
| License       | MIT
| Doc PR        |

Added check for environment variable set by Konsole and other relateds terminal emulators.

A ticket has been opened to Konsole team to support this feature someday: https://bugs.kde.org/show_bug.cgi?id=408288

Commits
-------

14b27b7 [Console] Add check for Konsole/Yakuake to disable hyperlinks
@belinde belinde deleted the fix_Konsole branch June 5, 2019 07:33
@fabpot fabpot mentioned this pull request Jun 6, 2019
chalasr added a commit that referenced this pull request Nov 30, 2020
This PR was merged into the 4.4 branch.

Discussion
----------

[Console] Re-enable hyperlinks in Konsole/Yakuake

| Q             | A
| ------------- | ---
| Branch?       | 4.4 <!-- see below -->
| Bug fix?      | yes
| New feature?  | no <!-- please update src/**/CHANGELOG.md files -->
| Deprecations? | no <!-- please update UPGRADE-*.md and src/**/CHANGELOG.md files -->
| Tickets       | Fix #31809 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead -->
| License       | MIT

Hyperlinks feature was broken in KDE's Konsole/Yakuake (#31809) and thus disabled by #31849.

But the feature has been recently [implemented](https://invent.kde.org/utilities/konsole/-/merge_requests/138), and is about to be released in KDE 20.12 on December 10th 2020, see [release notes](https://community.kde.org/Releases/20.12_Release_Notes#Konsole).

![obrazek](https://user-images.githubusercontent.com/793041/100556284-92dccf00-32a1-11eb-9907-f65c2eaa1335.png)

Tested in RC version and seems to be working fine. The feature is disabled by default (as per security concerns), but even when disabled, it just gracefully don't show the links.

Commits
-------

728edf3 [Console] Enable hyperlinks in Konsole/Yakuake
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants