Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#47438 - [octave] gui depends on stdin redirection

Attached to Project: Community Packages
Opened by Tom Yan (tom.ty89) - Friday, 18 December 2015, 19:06 GMT
Last edited by Sergej Pupykin (sergej) - Friday, 11 March 2016, 20:51 GMT
Task Type Bug Report
Category Upstream Bugs
Status Closed
Assigned To Ronald van Haren (pressh)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Currently `octave` or `octave-4.0.0` starts a qt4 gui. I can start it fine from gnome-terminal. However, when I run either of them in dmenu, nothing happens.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:

$ octave
...Works well with gui

$ octave </dev/null
... Does not start
This task depends upon

Closed by  Sergej Pupykin (sergej)
Friday, 11 March 2016, 20:51 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Friday, 18 December 2015, 23:46 GMT
Anything in ~/.xsession-errors? Or the journal?
Comment by Tom Yan (tom.ty89) - Saturday, 19 December 2015, 00:25 GMT
Nope, nothing at all. Other qt4 apps seems to work with dmenu just fine too.
Comment by Doug Newgard (Scimmia) - Saturday, 19 December 2015, 00:44 GMT
how about running `gtk-launch octave`? Or maybe `gtk-launch www.octave.org-octave`?
Comment by Tom Yan (tom.ty89) - Saturday, 19 December 2015, 00:54 GMT
`gtk-launch www.octave.org-octave` in dmenu works, `GNU Octave` in i3-dmenu-desktop works too.
Comment by Tom Yan (tom.ty89) - Saturday, 19 December 2015, 01:23 GMT
And `octave --force-gui` in dmenu works too, so...
Comment by Doug Newgard (Scimmia) - Saturday, 19 December 2015, 03:08 GMT
I didn't say in dmenu, I meant to just run it from a console to see if the desktop file worked. It seems it does, so this is more likely a dmenu issue.
Comment by Sergej Pupykin (sergej) - Friday, 11 March 2016, 14:08 GMT
I think it is octave upstream issue. It behaves strangely even if I start it from shell script (dmenu_run actually is shell script)
Comment by Sergej Pupykin (sergej) - Friday, 11 March 2016, 14:10 GMT
so this issue unrelated to dmenu, I was able to reproduce it starting octave from shell script.
Comment by Sergej Pupykin (sergej) - Friday, 11 March 2016, 14:12 GMT
Also it depends if you start it from terminal or from WM (notion in my case)
Comment by Sergej Pupykin (sergej) - Friday, 11 March 2016, 14:17 GMT
I added steps to reproduce, changed bug caption, and reassign.
Comment by Sergej Pupykin (sergej) - Friday, 11 March 2016, 14:22 GMT
probably it is bug-or-feature

octave tries to read commands from stdin, not sure why it does not detect that there is no proper stdin when I start it from WM or from dmenu.
Comment by Sergej Pupykin (sergej) - Friday, 11 March 2016, 20:50 GMT
I am closing this bug because of this is a feature. I checked octave's .desktop file and it contains /usr/bin/octave --force-gui

Loading...