GNOME Bugzilla – Bug 788066
End process dialog box title expands to full length of process title
Last modified: 2018-05-11 08:40:07 UTC
Created attachment 360294 [details] Screenshot of confirmation dialog box Overview: When a process title is extremely long, in this case the chrome debugger title, the `end process` confirmation dialog box expands to the full width of the title. Reproduce: Open an instance of google chrome (beta), or create a process with a massive window title. Suggestion: Wrap and or scroll content greater than a certain size.
Title of the dialog is wrapped in the 3.26, the current stable version (probably changed in gtk). Marking as fixed. Do you still see this issue?
This has not been fixed and I get this bug in 3.28. I'll write a patch. https://i.imgur.com/799qRPV.png
Created attachment 369730 [details] [review] 0001-dialog-use-short-process-name-instead-of-full.patch This is a patch that fixes this issue by displaying only the executable name in the dialog without the command line parameters.
Thanks for your contribution. Indeed, based on your screenshot this wasn't fixed, although I'm absolutely sure I checked with a chrome process. In any case, I'll probably take your patch, and also comment with a todo to remove the changes once we have the fix in gtop. libgtop is the library which provides us with the process name, and I have checked that the process commandline is not split correctly there. I would like to fix it there, but as for now, I'll push this and have it released with 3.28.1.
Sounds good. Thanks for merging!
So what happened to this patch? I don't see it in 3.28.1 released a few days ago. Not a problem, just curious as the bug is still present on Ubuntu Bionic.
(In reply to Ognjen Galic from comment #6) > So what happened to this patch? I don't see it in 3.28.1 released a few days > ago. It was not in there. I did promise to merge it, but I didn't (not sure how I managed to forget it, and a sorry doesn't really help). Doing it right now, and making a quick 3.28.2 build today. > > Not a problem, just curious as the bug is still present on Ubuntu Bionic. Sorry again, I hope I'll manage not doing anything like this next time.
Thanks for fixing and taking care of it!
No problem, I enjoyed it.
3.28.2 was officially released by GNOME and includes the fix, being a minor release I think it should get in the Ubuntu package repositories soon. Thanks for your contribution and for your patience.
Thanks for merging.