Bug 45848

Summary: auto completion tooltip appears offscreen
Product: [Applications] kate Reporter: jasonwood
Component: generalAssignee: KDevelop-Devel List <kdevelop-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description jasonwood 2002-07-27 23:17:12 UTC
(*** This bug was imported into bugs.kde.org ***)

Package:           kdevelop
Version:           2.1.2 (using KDE 3.0.2 )
Severity:          normal
Installed from:    Mandrake Linux Cooker i586 - Cooker
Compiler:          gcc version 3.1.1 (Mandrake Linux 8.3 3.1.1-0.8mdk)
OS:                Linux (i686) release 2.4.18-19mdk
OS/Compiler notes: 

In kdevelop if you are typing a method at the far right of the editor window the autocompletion tooltip & list box appear half off screen.

In other words your typing some long line which makes the editor window scroll horizontally and you type :

objectname->

The autocompletion popup starts at the cursor and then continues off screen. Then once you have finished typing your method name e.g :

objectname->methodname(

The tooltip which appears will also be partially offscreen. There needs to be some kind of "will this tooltip appear offscreen" test and if so it should be shifted to the left so that it remains on screen.

Cheers
Jason

(Submitted via bugs.kde.org)
(Called from KBugReport dialog)
Comment 1 Amilcar do Carmo Lucas 2003-05-12 12:20:10 UTC
This is also a confirmed bug in KDevelop CVS (pre Alpha5) 
Comment 2 Jonas Jacobi 2003-05-16 12:21:58 UTC
This can be closed imho. 'Cause it is a bug of the katepart. The codecompletionbox is already fixed in HEAD, and i will make a patch for the tooltip in the next days, if no kate developer solved it already.

Cheers,
Jonas
Comment 3 Christoph Cullmann 2003-05-22 23:32:58 UTC
k, closing, welcome to each patch