Bug 332537 - Must press "end" key to get rename to take
Summary: Must press "end" key to get rename to take
Status: RESOLVED FIXED
Alias: None
Product: krusader
Classification: Applications
Component: general (show other bugs)
Version: 2.5.0
Platform: unspecified Linux
: NOR normal
Target Milestone: ---
Assignee: Krusader Bugs Distribution List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-25 00:27 UTC by Todd
Modified: 2018-05-06 00:15 UTC (History)
4 users (show)

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 Todd 2014-03-25 00:27:34 UTC
Hi All,

Scientific Linux 6.4, 64 bit (RHEL Clone)

$ rpm -qa \*krusader\*
krusader-2.4.0-0.9.beta3.el6.x86_64

Whenever I rename a file, I have to hit the "End" key before hitting "enter".  Otherwise, it does not take, even when I am at the end of the line.  It is driving me crazy.  I have to rename everything twice!  Please fix before I go out of my mind.  Love the project other than that.

Many thanks,
-T

Reproducible: Always
Comment 1 Todd 2014-03-25 19:14:58 UTC
Unable to reproduce under krusader-2.4.0-0.10.beta3.fc20.x86_64.rpm and Fedora-Live-Xfce-x86_64-20-1.iso (Xfce Fedora Core 20 live cd)
Comment 2 Christoph Feck 2014-03-26 21:49:33 UTC
Does comment #1 mean the issue is resolved? Can we close this?
Comment 3 Todd 2014-03-27 16:39:36 UTC
No.

Comment #1 was to assist in troubleshooting.  #1 referred to a different operating system than the one the problem was reported on.
Comment 4 Todd 2015-01-26 23:55:40 UTC
A bunch of updates for who know what came through on Scientific Linux 6.6, 64 bit.  

Guess who is now behaving? 

It is nice to not have to go back and re-enter all name changes and hit "end" to get the to take.
Comment 5 Todd 2015-02-28 04:27:28 UTC
Well, I got away with it for one day.  Now is is back.  Sounds like an uninitialized variable to me.

Any chance of you doing a more recent version for EPEL 6.x?
Comment 6 Todd 2015-09-12 01:40:26 UTC
I upgraded to Scientific Linux 7.1 (RHEL clone).  

This is still an issue.

$ uname -r
3.10.0-229.11.1.el7.x86_64

$ cat /etc/redhat-release
Scientific Linux release 7.1 (Nitrogen)

$ rpm -qa krusader
krusader-2.4.0-0.14.beta3.el7.x86_64
Comment 7 Davide Gianforte 2015-09-16 10:49:05 UTC
Can't reproduce, I used the liveKDE SL-71-x86_64-2015-04-08-LiveDVDkde.iso with package krusader-2.4.0-0.14.beta3.el7.x86_64.rpm and I can rename files or directories just by pressing enter. Do you have a fresh install? Can you try with a new user?
Comment 8 Todd 2015-09-17 16:58:04 UTC
Hi Davide,

I did a full wipe of SL 6.7 and install of SL 7.1 using:
      SL-7-Everything-Dual-Layer-DVD-x86_64-2015-04-07-7.1.iso
which is gnome based.

Then I installed Xfce 4.10.  A bit later, I "Yum" installed krusader, k3b, and digikam (which I have yet to figure out).

Maybe the problem is that I am not running KDE?  Never installed it, just the utilities I needed to run krusader and k3b (both of which I adore).  Digikam too.

I have  SL-71-x86_64-2015-03-27-LiveDVDgnome.iso

If you like, I could create a virtual machine to run it and try to reproduce it.  Or maybe you could test with the gnome live the way you did with the kde live?

Let me know if you need me to run any test on this end.

-T
Comment 9 Todd 2015-10-05 03:03:27 UTC
Okay, today it is working fine.  That has happened before and then stopped after the next reboot.

What has changed was me figuring out why osmo 0.2.14 would not show my Contacts tab in Scientific Linux 7.1.  Osmo has a dependency for both libical.so.0 and libical.so.1.  To get this your have to install both an old and a new libical.  "rpm" thinks they are two separate pieces of software:

$ rpm -qa libical
libical-0.48-6.el7.x86_64
libical-1.0.1-1.el7.x86_64

0.48  contains "libical.so.0".   Osmo won't start without it (complains about libical.so.0 missing)

1.0.1  contains "libical.so.1".   Osmo won't give you Contacts without it

krusader has a dependency for libical.so.x (don't know for which one)

And this krusader error is now corrected.  Well, for now.   I will let your know if it comes back.

You don't suppose krusader needs libical.so.1   ???

I downloaded libical-1.0.1-1.el7 SRPM from Fedora 22 and rebuilt it.

Thank you guys for all the help with this bug.

If this was the problem, man oh man was it obscure.  It about killed me figuring it out for osmo.
Comment 10 Todd 2015-10-16 19:08:11 UTC
Well,  it was fun while it lasted.  It is back.  It is almost like there is an uninitialized variable that is causing this.

And indeed, exiting and restarting Krusader and it is back to working.
Comment 11 Todd 2016-07-01 21:55:24 UTC
Well now, since EPEL (Extra Packages for Enterprise Linux) updated Xfce from 4.10 to 4.12 on Enterprise Linux 7, I have not experienced this issue.   I will get back if this comes back.
Comment 12 Alex Bikadorov 2016-10-24 18:57:35 UTC
will close this for now. Just reopen if it happens again
Comment 13 Todd 2016-10-25 00:39:58 UTC
(In reply to Alex Bikadorov from comment #12)
> will close this for now. Just reopen if it happens again

Oh it happens all the time.

I am on Scientific Linux 7.2 and Xfce 4.12 now.  The problem comes and goes.  If it drives me too crazy, all I have to do is exit Krusader and restart it.  About 1/2 the time is clears up and stays that way until I restart Krusader.  This has the odor of an uninitialized variable.  If you guys come up with some kind of trace/debug that would show you were the problem exists, please let me assist.
Comment 14 Alex Bikadorov 2016-10-25 11:12:42 UTC
please try again with version 2.5.0 (based on KDE5/KF5)
Comment 15 Todd 2016-10-25 21:29:20 UTC
(In reply to Alex Bikadorov from comment #14)
> please try again with version 2.5.0 (based on KDE5/KF5)


Any idea where I can find an RPM or an SPRM?  I am drawing a blank at pbone.net.

A little off topic, but an RPM does not even show for Fedora 24, just 22 and 23 and that is 1.4.  Is there a reason for this?  Is it now included in a different package?

If worse comes to worse, I suppose I could remove my current RPM and compile 1.5.
Comment 16 Alex Bikadorov 2016-10-25 21:42:53 UTC
https://apps.fedoraproject.org/packages/krusader/overview/

or contact the responsible package maintainer of your distribution
Comment 17 Todd 2016-11-02 05:30:41 UTC
(In reply to Alex Bikadorov from comment #16)
> https://apps.fedoraproject.org/packages/krusader/overview/
> 
> or contact the responsible package maintainer of your distribution

(In reply to Alex Bikadorov from comment #14)
> please try again with version 2.5.0 (based on KDE5/KF5)


Well it almost killed me, but I got there.  The upgrade dropped all my settings and book marks, which I reported under bug 371964.

I started, rename a file, and exited six times and the symptom did not repeat.  Since this bug has all the hallmarks of an uninitialized variable, it doesn't necessarily mean it is fixed, but it is looking really good.  I will get
back in a few weeks after it has has sufficient time to break my heart.

Now to try to get all my bookmarks back.  :'(  :'(  :'(

Thank you for all the help with this.  Krusader has become a must have tool.
-T

Guys, feel free to grab the following to put on your web site as a "how to":

In case anyone wants to do this upgrade in Red Hat (RHEL and clones, Fedora), here is what I did.  Keep in mind that you will lose all your settings and bookmarks in the upgrade:

1) download the srpm from 
https://apps.fedoraproject.org/packages/krusader/overview/

2) make sure you have the EPEL repo loaded if your are using RHEL or clones
$ su -c "yum install epel-release"

3) install the dependencies

$ su -c "yum install  qt5-qtbase-devel kf5-kio-devel  kf5-karchive-devel kf5-kbookmarks-devel kf5-kcodecs-devel kf5-kcompletion-devel kf5-kcoreaddons-devel kf5-kconfig-devel  kf5-kdoctools-devel kf5-ki18n-devel  kf5-kiconthemes-devel  kf5-kitemviews-devel  kf5-knotifications-devel   kf5-kparts-devel  kf5-solid-devel   kf5-ktextwidgets-devel   kf5-kwallet-devel   kf5-kwidgetsaddons-devel  kf5-kwindowsystem-devel   kf5-kxmlgui-devel  kf5-kguiaddons-devel   extra-cmake-modules"

4) rebuild the srpm:
$ rpmbuild --rebuild krusader-2.5.0-1.fc26.src.rpm

5) copy over the two rpm's from the rebuild (shows in the text of the rebuild)

6) install the rpm:
$ su -c "rpm -Uvh krusader-2.5.0-1.el7.x86_64.rpm"
Comment 18 Todd 2016-11-11 20:41:16 UTC
2.5.0 has behaved now for the last nine days.  I will reopen if it comes back.  Thank you!!!