Kate's Haskell indentation may refuse to insert spaces, does not obey tab settings

Bug #476431 reported by Prateek Karandikar on 2009-11-06
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kdesdk (Ubuntu)
Undecided
Unassigned

Bug Description

Binary package hint: kate

Kate's Haskell indentation mode sometimes ignores the spacebar. Also, it does not respect tab/indentation settings. Steps to reproduce:

Create a new user account (this is to ensure that fresh, default settings are used) and log in to it
Open kate
Select Tools->Indentation->Haskell
Press Enter
Press Space (what happens - nothing, what should happen - a space character should appear)

Go to Settings->Configure Kate->Editor Component->Editing->General tab
Observe that "Insert spaces instead of tabulators" is not enabled
Go to Indentation tab
In "Indentation Actions", change "Tab key action" to "Always advance to the next tab position" and press ok to close the configure dialog

Open a new document (Ctrl+N) to start afresh
Select Tools->Indentation->Haskell
Type "where" (without quotes) and press enter
Observe that the second line now has 6 spaces, while as per the settings it should have had a single tab character
Press backspace 6 times, so that the status bar now shows (Line: 2 Col: 1)
Press Tab (what happens - 6 space characters are inserted, what should happen - a tab character should be inserted)

Kate's version as per its about dialog is 3.3.2 and as per apt-cache policy kate is 4:4.3.2-0ubuntu1. I reported the bug via Help->Report Bug in Kate. I don't know why apport says "ExecutablePath: /usr/bin/kdeinit4" below.

ProblemType: Bug
Architecture: i386
Date: Fri Nov 6 17:30:39 2009
DistroRelease: Ubuntu 9.10
ExecutablePath: /usr/bin/kdeinit4
NonfreeKernelModules: vboxnetadp vboxnetflt vboxdrv usbhid nls_iso8859_1 nls_cp437 vfat fat usb_storage ip6table_filter ip6_tables ipt_MASQUERADE iptable_nat nf_nat nf_conntrack_ipv4 nf_defrag_ipv4 xt_conntrack nf_conntrack binfmt_misc bridge stp bnep ppdev snd_hda_codec_realtek snd_hda_intel snd_hda_codec snd_hwdep snd_pcm_oss snd_mixer_oss snd_pcm snd_seq_dummy snd_seq_oss snd_seq_midi snd_rawmidi snd_seq_midi_event arc4 ecb snd_seq iptable_filter snd_timer iwl3945 snd_seq_device ip_tables iwlcore btusb joydev x_tables uvcvideo snd mac80211 soundcore sdhci_pci videodev snd_page_alloc sdhci lp ricoh_mmc v4l1_compat cfg80211 psmouse serio_raw acer_wmi parport led_class dm_raid45 xor fbcon tileblit font bitblit softcursor ohci1394 tg3 ieee1394 i915 drm i2c_algo_bit video output intel_agp agpgart
Package: kdelibs-bin 4:4.3.2-0ubuntu7
ProcEnviron:
 LANG=en_IN
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: kde4libs
Uname: Linux 2.6.31-14-generic i686
XsessionErrors: (polkit-gnome-authentication-agent-1:29910): GLib-CRITICAL **: g_once_init_leave: assertion `initialization_value != 0' failed

Revision history for this message
Prateek Karandikar (prateek.karandikar) wrote :
description: updated
Erik Bakker (eamelink) on 2009-11-27
Changed in kdesdk (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers