Public bug reported:

When "Search for:" field in "Replace..." dialog contains more than 3 symbols 
every press on "Find", "Replace" or "Replace all" buttons initiates write by 
dconf-service.

Steps to reproduce:
a) I needed to change gedit's "max-recents" setting.
b) since there's no option for it in the gedit's "Preferences"  dialog, I 
installed dconf-tools (0.10.0-0ubuntu1)

1) open any file
2) open "Replace" dialog
3) type into "Search for:" any text (should be over 3 symbols long) 
4) press "Find", "Replace" or "Replace all"
Every press on these buttons results in write by dconf-service (with audible 
hdd sound).

When using /proc/sys/vm/block_dump it looks like this:
#sda6 is a /home partition
#new entry in "Search for:" field
kernel: [11053.994218] dconf-service(1656): dirtied inode 4194707 (user) on sda6
kernel: [11053.994225] dconf-service(1656): dirtied inode 4194707 (user) on sda6
kernel: [11055.974400] dconf-service(1656): dirtied inode 4194738 (user.HFP9BW) 
on sda6
kernel: [11055.974413] dconf-service(1656): dirtied inode 4194738 (user.HFP9BW) 
on sda6
kernel: [11055.974509] dconf-service(1656): WRITE block 134749472 on sda6 (16 
sectors)
#same entry in "Search for:" field
kernel: [11062.859499] dconf-service(1656): dirtied inode 4194737 (user.2QXUBW) 
on sda6
kernel: [11062.859514] dconf-service(1656): dirtied inode 4194737 (user.2QXUBW) 
on sda6
kernel: [11062.859614] dconf-service(1656): WRITE block 134749488 on sda6 (16 
sectors)
...

Indeed dconf contains list of used search and replace strings for Gedit
but writes occur on EVERY press of "Find", "Replace" or "Replace all".
No duplicates added.

ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: gedit 3.2.3-0ubuntu0.1
ProcVersionSignature: Ubuntu 3.0.0-17.30-generic 3.0.22
Uname: Linux 3.0.0-17-generic x86_64
NonfreeKernelModules: fglrx
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Sat Apr  7 00:13:12 2012
InstallationMedia: Xubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
SourcePackage: gedit
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: gedit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/975510

Title:
  Gedit initiates write by dconf-service when using "Replace..." dialog

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gedit/+bug/975510/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to