You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by "matthiasblaesing (via GitHub)" <gi...@apache.org> on 2025/10/19 08:52:42 UTC
[I] Terminal rendering incorrect on Ubuntu 25.10 (Questing Quokka) [netbeans]
matthiasblaesing opened a new issue, #8938:
URL: https://github.com/apache/netbeans/issues/8938
### Apache NetBeans version
Apache NetBeans 29 latest daily build
### What happened
On Ubuntu 25.10 the rendering in the embedded terminal is broken. Broken in this case for example means, that the bounds of the terminal are not correctly considered. In the screenshot mc should fill the whole window, not just the top left part.
<img width="1317" height="957" alt="Image" src="https://github.com/user-attachments/assets/ec67075b-c293-4ba0-8fbd-416b7b153603" />
The output of stty is `0 0`:
<img width="338" height="136" alt="Image" src="https://github.com/user-attachments/assets/6259cde6-9b7f-46eb-bbe6-551e01c84d3d" />
This indicates the size is not set by netbeans. Checking the error code in `org.netbeans.modules.nativeexecution.pty.SttySupport.apply` shows, that we get an error code or 1, instead of the expected 0.
The issue can be fixed by using `stty -F <PTY>` or `stty --file <PTY>`, but that won't work on older platforms and POSIX does not required it to be supported. Some quick checks show that QNX does not document support, Solaris was tested and did not provide it.
Workaround is to remove the rust implementation of coreutils and replace it with the gnu variant:
```bash
sudo apt install --allow-remove-essential coreutils-from-uutils- coreutils-from-gnu
```
This is tracked in uutils as https://github.com/uutils/coreutils/issues/8848
### Language / Project Type / NetBeans Component
NetBeans Terminal
### How to reproduce
- Run the IDE
- Open a terminal inside the IDE
- Invoke `stty size`
- Observe that `0 0` is printed (see above)
### Did this work correctly in an earlier version?
No / Don't know
### Operating System
Ubuntu 25.10 (Questing Quokka)
### JDK
Bundled JDK 21
### Apache NetBeans packaging
Own source build
### Anything else
_No response_
### Are you willing to submit a pull request?
Yes
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Terminal rendering incorrect on Ubuntu 25.10 (Questing Quokka) [netbeans]
Posted by "matthiasblaesing (via GitHub)" <gi...@apache.org>.
matthiasblaesing commented on issue #8938:
URL: https://github.com/apache/netbeans/issues/8938#issuecomment-3902166111
I have some doubts, that 0.6.0 will be made available for Ubuntu 25.10 (questing). The update though has already hit the upcoming 26.04 release (roaring). With a snapshot of that terminal is ok.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Terminal rendering incorrect on Ubuntu 25.10 (Questing Quokka) [netbeans]
Posted by "matthiasblaesing (via GitHub) via notifications" <no...@netbeans.apache.org>.
matthiasblaesing closed issue #8938: Terminal rendering incorrect on Ubuntu 25.10 (Questing Quokka)
URL: https://github.com/apache/netbeans/issues/8938
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Terminal rendering incorrect on Ubuntu 25.10 (Questing Quokka) [netbeans]
Posted by "mbien (via GitHub)" <gi...@apache.org>.
mbien commented on issue #8938:
URL: https://github.com/apache/netbeans/issues/8938#issuecomment-3888749668
uutils had a release last week which should include a fix: https://github.com/uutils/coreutils/releases/tag/0.6.0
planning to remove the "known issues" note about this bug from the download page for NB 29 since it is probably less important now: https://github.com/apache/netbeans-antora-site/pull/51
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
Re: [I] Terminal rendering incorrect on Ubuntu 25.10 (Questing Quokka) [netbeans]
Posted by "matthiasblaesing (via GitHub) via notifications" <no...@netbeans.apache.org>.
matthiasblaesing commented on issue #8938:
URL: https://github.com/apache/netbeans/issues/8938#issuecomment-6548050255
Closing as this is fixed in Ubuntu.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists