Bug 544699 - UI freeze in pango_layout_get_line_count
Summary: UI freeze in pango_layout_get_line_count
Status: CLOSED DUPLICATE of bug 551588
Alias: None
Product: Platform
Classification: Eclipse Project
Component: SWT (show other bugs)
Version: 4.11   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-SWT-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2019-02-22 03:13 EST by Alexander Kurtakov CLA
Modified: 2019-09-30 10:13 EDT (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Kurtakov CLA 2019-02-22 03:13:48 EST
Install https://akurtakov.fedorapeople.org/shellwax/, create a sh file in which there is 'useradd' command, hover over it. If you have "UI responsiveness" preference enabled you will notice the following stack trace in the error log:
Stack Trace
	at org.eclipse.swt.internal.gtk.OS._pango_layout_get_line_count(Native Method)
	at org.eclipse.swt.internal.gtk.OS.pango_layout_get_line_count(OS.java:3711)
	at org.eclipse.swt.graphics.TextLayout.getLineBoundsInPixels(TextLayout.java:981)
	at org.eclipse.swt.graphics.TextLayout.getLineBounds(TextLayout.java:976)
	at org.eclipse.jface.internal.text.html.BrowserInformationControl.computeSizeHint(BrowserInformationControl.java:441)
	at org.eclipse.lsp4e.operations.hover.FocusableBrowserInformationControl.lambda$0(FocusableBrowserInformationControl.java:66)
	at org.eclipse.lsp4e.operations.hover.FocusableBrowserInformationControl$$Lambda$835/0x0000000840dae440.accept(Unknown Source)
	at org.eclipse.swt.browser.ProgressListener$2.completed(ProgressListener.java:98)
	at org.eclipse.swt.browser.WebKit.lambda$7(WebKit.java:2466)
	at org.eclipse.swt.browser.WebKit$$Lambda$730/0x0000000840c30440.run(Unknown Source)
	at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
Comment 1 Mickael Istria CLA 2019-02-26 03:07:25 EST
In this case, the content of the BrowserInformationControl is the man page for the command (`useradd` in the example).
Comment 2 Eric Williams CLA 2019-03-28 11:24:59 EDT
Do you still see this one Alex?
Comment 3 Alexander Kurtakov CLA 2019-03-28 11:42:30 EDT
Definetely. Just try shellwax, type useradd and hover over it.
Comment 4 Eric Williams CLA 2019-09-30 10:13:30 EDT

*** This bug has been marked as a duplicate of bug 551588 ***