View Issue Details

IDProjectCategoryView StatusLast Update
0034471LazarusIDEpublic2020-06-07 00:29
ReporterValdas Jankūnas Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status newResolutionopen 
Platformlinux 64 bitOSKubuntu 18.04.1 
Product Version2.1 (SVN) 
Summary0034471: Visually broken Code Completion popup list
DescriptionLazarus compiled with GTK2 widgetset.

 Under Kubuntu 18.04.1 (KDE windowmanager) code completion popup list is cropped horizontally, selected line from list is displayed in top left corner of screen also (see attached "lazarus__kubuntu_18.04.1.png").
 Under Ubuntu 18.04.1 (Gnome windowmanager) popup list is cropped horizontally (see attached "lazarus__Ubuntu_18.04.1.png").
 I tried Geany (GTK application) under Kubuntu (KDE windowmanager), code completion popup looks correct (see attached "geany__gtk__Kubuntu_18.04.1.png").
TagsNo tags attached.
Fixed in Revision
LazTarget
WidgetsetGTK 2
Attached Files

Activities

Valdas Jankūnas

2018-10-28 11:48

reporter  

lazarus__kubuntu_18.04.1.png (107,778 bytes)   
lazarus__kubuntu_18.04.1.png (107,778 bytes)   

Valdas Jankūnas

2018-10-28 11:48

reporter  

Valdas Jankūnas

2018-10-28 11:48

reporter  

geany__gtk__Kubuntu_18.04.1.png (261,941 bytes)   
geany__gtk__Kubuntu_18.04.1.png (261,941 bytes)   

Valdas Jankūnas

2018-10-28 11:52

reporter   ~0111633

Note for Kubuntu (KDE): after navigation in a popup list with up/down keys line from lept-top corner of screen jumps to selected line of popup list.

CudaText man

2018-10-28 12:29

reporter   ~0111635

I would suggest devs to use ATListbox for this list

Vojtech Cihak

2018-10-28 14:26

reporter   ~0111636

@ code completion popup list is cropped horizontally ...

Do you know that there's handle in the bottom-right corner (under the scrollbar)? You can enlarge the completion window and Lazarus remembers it.

Valdas Jankūnas

2018-10-28 16:34

reporter   ~0111638

Note for Kubuntu (KDE): selected line from freshly opened popup appears in top-left corner of screen only if that line text don't fit in popup's window.
 
@ code completion popup list is cropped horizontally:
 I thought that width of popup window should adapt to longest line from list.

Juha Manninen

2018-10-28 22:31

developer   ~0111642

Last edited: 2018-10-28 22:32

View 2 revisions

No, the completion window does not adapt automatically to the longest line.

A long completion line however should show extended in-place on the completion window instead of top-left corner of screen.
In my KDE + Manjaro it shows as designed, both with GTK2 and QT bindings.
Why it behaves differently in your Kubuntu, I don't know.

Juha Manninen

2020-06-07 00:29

developer   ~0123286

Valdas, can you still reproduce the problem?

Issue History

Date Modified Username Field Change
2018-10-28 11:48 Valdas Jankūnas New Issue
2018-10-28 11:48 Valdas Jankūnas File Added: lazarus__kubuntu_18.04.1.png
2018-10-28 11:48 Valdas Jankūnas File Added: lazarus__Ubuntu_18.04.1.png
2018-10-28 11:48 Valdas Jankūnas File Added: geany__gtk__Kubuntu_18.04.1.png
2018-10-28 11:52 Valdas Jankūnas Note Added: 0111633
2018-10-28 12:29 CudaText man Note Added: 0111635
2018-10-28 14:26 Vojtech Cihak Note Added: 0111636
2018-10-28 16:34 Valdas Jankūnas Note Added: 0111638
2018-10-28 22:31 Juha Manninen Note Added: 0111642
2018-10-28 22:32 Juha Manninen Note Edited: 0111642 View Revisions
2020-06-07 00:29 Juha Manninen Note Added: 0123286