Indent Keyboard Shortcut Doesn't Work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bluefish (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I'm using:
Ubuntu 22.04
Bluefish:
Installed: 2.2.12-1.1build1
Candidate: 2.2.12-1.1build1
Version table:
*** 2.2.12-1.1build1 500
500 http://
100 /var/lib/
In Bluefish, if I select a block of code I want to indent using the keyboard shortcut Ctrl+., Bluefish types an "e" at the end of the selection, but doesn't indent the selected code.
For example, if I select the following code block and enter the keyboard shortcut (Ctrl+.) to indent it:
if ($onlyindentkey
echo "I would be happy.";
} else {
echo "I am not happy.";
}
I get this:
if ($onlyindentkey
echo "I would be happy.";
} else {
echo "I am not happy.";
}e
But I should get this:
if ($onlyindentkey
echo "I would be happy.";
} else {
echo "I am not happy.";
}
If I use Tools > Format > Indent, or the Indent Toolbar Button, indent works as expected. (The latter is a good workaround.)
I removed my .bluefish config file and repeated the test with a clean one, but it made no difference.
Although this bug appears in Bluefish, it looks like it might be due to another package.
The version of Bluefish I have installed hasn't changed since I filed this bug report, yet some time back the problem went away.
A few days ago, after running upgrading some packages, it returned.
I have another machine which had not been upgraded, so I decided to run a little test on it.
The indent keyboard shortcut was working fine in it, so I decided to go through the upgradeable packages one by one (or in groups if they were for the same program), then open Bluefish and see if the indent keyboard shortcut bug returned. I went through each package/package group, but after upgrading them all the indent keyboard shortcut still worked, so I restarted Ubuntu, restarted Bluefish, and the keyboard shortcut was back, so I should have restarted Ubuntu each time I upgraded a package/package group before testing Bluefish. Rookie mistake.
Still, someone wiser than I may be able to tell which package might be responsible. This is the list of what was upgraded that caused the bug to rear its ugly head again:
python3- problem- report: all 2.20.11-0ubuntu82.3 2.20.11-0ubuntu82.4 locale- en:amd64 1:102.9. 0+build1- 0ubuntu0. 22.04.1 1:102.10. 0+build2- 0ubuntu0. 22.04.1 0+build1- 0ubuntu0. 22.04.1 1:102.10. 0+build2- 0ubuntu0. 22.04.1 gnome-support: amd64 1:102.9. 0+build1- 0ubuntu0. 22.04.1 1:102.10. 0+build2- 0ubuntu0. 22.04.1 dfsg1-0ubuntu5. 1 9.55.0~ dfsg1-0ubuntu5. 2 dfsg1-0ubuntu5. 1 9.55.0~ dfsg1-0ubuntu5. 2 dfsg1-0ubuntu5. 1 9.55.0~ dfsg1-0ubuntu5. 2 dfsg1-0ubuntu5. 1 9.55.0~ dfsg1-0ubuntu5. 2 1ubuntu2. 5 2:8.2.3995- 1ubuntu2. 7 22.04.1 2023c-0ubuntu0. 22.04.0 1ubuntu2. 5 2:8.2.3995- 1ubuntu2. 7 1ubuntu2. 5 2:8.2.3995- 1ubuntu2. 7 locale- en-us:all 1:102.9. 0+build1- 0ubuntu0. 22.04.1 1:102.10. 0+build2- 0ubuntu0. 22.04.1 dfsg-1ubuntu0. 2 2.9.13+ dfsg-1ubuntu0. 3 hwe-22. 04:amd64 5.19.0. 38.39~22. 04.12 5.19.0. 40.41~22. 04.13 generic- hwe-22. 04:amd64 5.19.0. 38.39~22. 04.12 5.19.0. 40.41~22. 04.13 generic- hwe-22. 04:amd64 5.19.0. 38.39~22. 04.12 5.19.0. 40.41~22. 04.13 dfsg-0ubuntu0. 22.04.1 2.5.14+ dfsg-0ubuntu0. 22.04.2 dfsg-0ubuntu0. 22.04.1 2.5.14+ dfsg-0ubuntu0. 22.04.2 advantage- tools:amd64 27.13.6~22.04.1 27.14.4~22.04 4-2ubuntu1. 7~22.04. 1 xephyr: amd64 2:21.1.3-2ubuntu2.9 2:21.1. 4-2ubuntu1. 7~22.04. 1 xorg-legacy: amd64 2:21.1.3-2ubuntu2.9 2:21.1. 4-2ubuntu1. 7~22.04. 1 xorg-core: amd64 2:21.1.3-2ubuntu2.9 2:21.1. 4-2ubuntu1. 7~22.04. 1
thunderbird-
thunderbird:amd64 1:102.9.
thunderbird-
ghostscript-x:amd64 9.55.0~
ghostscript:amd64 9.55.0~
libgs9:amd64 9.55.0~
libgs9-common:all 9.55.0~
xxd:amd64 2:8.2.3995-
python3-apport:all 2.20.11-0ubuntu82.3 2.20.11-0ubuntu82.4
apport-gtk:all 2.20.11-0ubuntu82.3 2.20.11-0ubuntu82.4
tzdata:all 2022g-0ubuntu0.
vim-tiny:amd64 2:8.2.3995-
vim-common:all 2:8.2.3995-
thunderbird-
libxml2:amd64 2.9.13+
linux-generic-
linux-image-
linux-headers-
dnsmasq-base:amd64 2.86-1.1ubuntu0.2 2.86-1.1ubuntu0.3
apport:all 2.20.11-0ubuntu82.3 2.20.11-0ubuntu82.4
libapt-pkg6.0:amd64 2.4.8 2.4.9
apt:amd64 2.4.8 2.4.9
apt-utils:amd64 2.4.8 2.4.9
libldap-2.5-0:amd64 2.5.13+
libldap-common:all 2.5.13+
im-config:all 0.50-2 0.50-2ubuntu22.04.1
ubuntu-
xserver-common:all 2:21.1.3-2ubuntu2.9 2:21.1.
xserver-
xserver-
xserver-