Bug 339118 - on launch, requires a display option, rejects display option if specified
Summary: on launch, requires a display option, rejects display option if specified
Status: RESOLVED FIXED
Alias: None
Product: konsole
Classification: Applications
Component: general (show other bugs)
Version: 2.99.900
Platform: Homebrew (macOS) macOS
: NOR normal
Target Milestone: ---
Assignee: Konsole Developer
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-16 12:43 UTC by Michael
Modified: 2014-09-17 13:00 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 Michael 2014-09-16 12:43:56 UTC
On launch, Konsole closes with the exit code 255, after writing on stderr the following:

  FAILURE (KCmdLineArgs):
  Application requests for isSet("display") but the "display" option
  has never been specified via addCmdLineOptions( ... )

However, when trying to pass the display option, Konsole reacts with this output:

  konsole: Unknown option 'display'.
  konsole: Use --help to get a list of available command line options.

Reproducible: Always

Steps to Reproduce:
1. Compile Konsole using homebrew and haraldF's kf5 tap
2. Run 'open /Applications/KDE/konsole.app' from the terminal


Actual Results:  
Konsole gracefully quits with the exit code 255.

Expected Results:  
Konsole should open a window.
Comment 1 Kurt Hindenburg 2014-09-16 12:59:16 UTC
I currently don't have KF5 installed on my Mac - how recent does homebrew pull from master?
Comment 2 Michael 2014-09-16 14:32:27 UTC
(In reply to Kurt Hindenburg from comment #1)
> I currently don't have KF5 installed on my Mac - how recent does homebrew
> pull from master?
For some packages, such as Konsole and Kate, It clones directly from the anongit repository, so I obtained this result with the commit tagged f9ab2ff8ddde2 (which still is the latest commit at the moment).

All the other packages come from http://download.kde.org/stable/frameworks/5.1.0/ and were last updated a bit more than a month ago (2 aug).
Comment 3 Kurt Hindenburg 2014-09-16 14:35:18 UTC
I wonder if this is due to the changes from the weekend w/ X11

Can you easily use d8be35b5c7b93a324ed88f257785c2251f7cc964 and see if you have the same issues?
Comment 4 Kurt Hindenburg 2014-09-16 14:58:30 UTC
yea, this is from the weekend changes - I'll research

FAILURE (KCmdLineArgs):
Application requests for isSet("display") but the "display" option
has never been specified via addCmdLineOptions( ... )
Comment 5 Kurt Hindenburg 2014-09-17 13:00:54 UTC
Thanks for the report - at least now I know to test any future fix on my Mac

reverted in b542df34205f3bd61ae91b091798f50f729ddd71