Bug 160178 - do not make any visual changes on encoding change
Summary: do not make any visual changes on encoding change
Status: RESOLVED FIXED
Alias: None
Product: kdevelop
Classification: Applications
Component: file selector (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR wishlist
Target Milestone: ---
Assignee: kdevelop-bugs-null
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-31 21:01 UTC by Maciej Pilichowski
Modified: 2008-03-31 23:07 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Pilichowski 2008-03-31 21:01:42 UTC
Version:            (using KDE 3.5.8)
Installed from:    SuSE RPMs

REPRODUCE:
Run kdevelop, open some big project, make sure file list is visible, create new .h file (iso-8859-1), make sure the file list is scrolled down, type something, save, type some non iso-8859-1 characters,for example polish, change encoding to iso-8859-2, accept saving and OBSERVE.

The editor pane flashes (my guess is, the file was closed and reopened), and the file list is scrolled up.

PROBLEM:
Any changes which are side-effects of actual function may scary the user (I am always scared :-) ).

WISH:
I don't know how, double buffer?, but please maintain the window content unchanged, after all it, from the user perspective, it is only encoding change.
Comment 1 Andreas Pakulat 2008-03-31 21:59:17 UTC
Would you please start filing bugreports against the editor component at the right place? Thanks.
Comment 2 Maciej Pilichowski 2008-03-31 22:48:43 UTC
Andreas, 

a) I try to do my best, sorry for any mistakes
b) this report is actually for kdevelop, not for kate :-)

ad.b.1) kate does not have file list pane (it has similar one)
ad.b.2) kate does not scroll, kdevelop does
Comment 3 Andreas Pakulat 2008-03-31 22:58:37 UTC
Sorry, I misunderstood.
Comment 4 Jens Dagerbo 2008-03-31 23:06:00 UTC
Scroll what? The FileList?

I believe this is completely unavoidable. When a file is "reloaded" it is first closed, then opened. The actions are initiated by katepart, without KDevelop's knowledge. There is no way KDevelop can know that the first operation will be followed by the other, and even if it could, attempting to hide this would just add complexity for exceptionally marginal utility.

WONTFIX, imho.
Comment 5 Andreas Pakulat 2008-03-31 23:07:50 UTC
As far as I can see this is a wontfix for KDevelop3 and is not an issue anymore in KDevelop4. Thus I'm closing it as fixed.