Posts Tagged ‘bug fix’

KDE: Kate add a file by right-click in Filesystem Browser

Thursday, January 28th, 2010

One more Kate wish completed by me :) .  Bug no. 93230 and this will also be in KDE4.5 :) .

Problem/Wish: There is no way to add a file by rightclicking to a folder in Filesystem Broswer(filebrowser plugin).

Solution: Updated the KDirOperator with KNewFileMenu wrapper “setNewFileMenuSupportedMimeTypes” which will Only show the files in a given set of mimetypes it Internally uses  KNewFileMenu::setSupportedMimeTypes. In general now we can restrict options to be shown in Create New, this is useful in specialized applications like kate etc.  while file managers, on  the other hand, want to show all mimetypes.  (thanks to David Faure for moving KNewMenu to kdelibs as KNewFileMenu).

* for more details  here is the bug description.

This is how the new context menu of kate Filesystem Browser will look:

To download patch click here.


KDE: Kate close/save multiple files.

Wednesday, January 13th, 2010

One more patch from my side to Kate. This time it’s from kate wish-list Bug No. 62998 and this will be in KDE 4.5 :) .

Problem/Wish: There was no option for closing and saving multiple (selected) files in document list.

Solution: Changed the document list’s selection mode to QAbstractItemView::ExtendedSelection and added two options in list’s context-menu, Save Selected and  Close Selected , now user can select multiple  files in document list by Left-click + Ctrl combination and close them using Right-click + Close Selected or/and save them using Right-click + Save Selected options.

* for more details  here is the bug description.

This is how the new context menu of kate document list will look :

To download patch click  here.