[dolphin] [Bug 393145] New: Drag/drop (mv) of preselected item causes inline rename of next item

2018-04-14 Thread Georgios Varisteas
https://bugs.kde.org/show_bug.cgi?id=393145

Bug ID: 393145
   Summary: Drag/drop (mv) of preselected item causes inline
rename of next item
   Product: dolphin
   Version: 17.12.3
  Platform: Gentoo Packages
OS: Linux
Status: UNCONFIRMED
  Severity: normal
  Priority: NOR
 Component: view-engine: details mode
  Assignee: dolphin-bugs-n...@kde.org
  Reporter: yorgo...@gmail.com
  Target Milestone: ---

This happens always but needs to be replicated exactly.
I have only tested it with details view and inline rename enabled.

1. Open dolphin at any path that belongs to the active user
2. Select (just highlight) an item, file or folder, that has write permission
(thus can be renamed)
3. Click the same item and drag it towards a panel or the address bar (I always
drop it as a move operation but the bug happens  before that)
4. Notice that an inline rename has been initiated during the drag operation.
5. Drop the item so as to move it to another folder
6. Notice that the inline rename is still there even though the item was moved
and the total items are reduced by one.

Here is the serious part of the bug:
The inline rename is now for the **next** item on the list. The pre-filled
filename is that of the moved file. Thus if any action validates the rename
operation (a click, enter, or anything else), a file (or folder, this applies
to any item that is rename-able) is renamed by accident to the name of the
moved file. The only option at that point is to press ESC.

A typical case for me that causes this error:
A folder with a long list of files in it. I'm looking for a certain file, so I
just type the first few letters to automatically select it. The file is now
highlighted. I click to move it and... the bug appears.
A work around I usually use is: once a file is selected, I cut via keyboard,
then right click on the destination to paste.

-- 
You are receiving this mail because:
You are watching all bug changes.

[dolphin] [Bug 391216] New: Dolphin crashes always, on external multiple folder rename

2018-02-28 Thread Georgios Varisteas
https://bugs.kde.org/show_bug.cgi?id=391216

Bug ID: 391216
   Summary: Dolphin crashes always, on external multiple folder
rename
   Product: dolphin
   Version: 17.12.2
  Platform: Compiled Sources
OS: Linux
Status: UNCONFIRMED
  Keywords: drkonqi
  Severity: normal
  Priority: NOR
 Component: general
  Assignee: dolphin-bugs-n...@kde.org
  Reporter: yorgo...@gmail.com
CC: elvis.angelac...@kde.org
  Target Milestone: ---

Application: dolphin (17.12.2)
 (Compiled from sources)
Qt Version: 5.9.4
Frameworks Version: 5.43.0
Operating System: Linux 4.9.76-gentoo-r1 x86_64
Distribution: "NAME=Gentoo"

-- Information about the crash:
- What I was doing when the application crashed:
1) Open dolphin and access a folder A with many subfolders, each with photos
2) Run a script on folder A (from anywhere) that renames the subfolders and
resizes the photos
3) Dolphin crash

The crash appeared during the latest update to dolphin-17.12.2, plasma 5.12.2
Running on Gentoo with gcc 6.4.0

The crash can be reproduced every time.

-- Backtrace:
Application: Dolphin (dolphin), signal: Segmentation fault
Using host libthread_db library "/lib64/libthread_db.so.1".
[Current thread is 1 (Thread 0x7f97d9fac840 (LWP 23966))]

Thread 4 (Thread 0x7f97b14db700 (LWP 23969)):
#0  0x7f97d987934d in read () from /lib64/libc.so.6
#1  0x7f97cc6f2ae0 in g_wakeup_acknowledge () from
/usr/lib64/libglib-2.0.so.0
#2  0x7f97cc6ae1de in g_main_context_check () from
/usr/lib64/libglib-2.0.so.0
#3  0x7f97cc6ae6b4 in g_main_context_iterate.isra () from
/usr/lib64/libglib-2.0.so.0
#4  0x7f97cc6ae82c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#5  0x7f97d3bca62b in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib64/libQt5Core.so.5
#6  0x7f97d3b78b8a in
QEventLoop::exec(QFlags) () from
/usr/lib64/libQt5Core.so.5
#7  0x7f97d39d3d63 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#8  0x7f97d39d8291 in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#9  0x7f97cecff897 in start_thread () from /lib64/libpthread.so.0
#10 0x7f97d9888cff in clone () from /lib64/libc.so.6

Thread 3 (Thread 0x7f97bb8f6700 (LWP 23968)):
#0  0x7f97d987d94d in poll () from /lib64/libc.so.6
#1  0x7f97cc6ae716 in g_main_context_iterate.isra () from
/usr/lib64/libglib-2.0.so.0
#2  0x7f97cc6ae82c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#3  0x7f97d3bca62b in
QEventDispatcherGlib::processEvents(QFlags) ()
from /usr/lib64/libQt5Core.so.5
#4  0x7f97d3b78b8a in
QEventLoop::exec(QFlags) () from
/usr/lib64/libQt5Core.so.5
#5  0x7f97d39d3d63 in QThread::exec() () from /usr/lib64/libQt5Core.so.5
#6  0x7f97d3fdfec5 in QDBusConnectionManager::run() () from
/usr/lib64/libQt5DBus.so.5
#7  0x7f97d39d8291 in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#8  0x7f97cecff897 in start_thread () from /lib64/libpthread.so.0
#9  0x7f97d9888cff in clone () from /lib64/libc.so.6

Thread 2 (Thread 0x7f97c1f04700 (LWP 23967)):
#0  0x7f97d987d94d in poll () from /lib64/libc.so.6
#1  0x7f97cbbd585f in _xcb_conn_wait () from /usr/lib64/libxcb.so.1
#2  0x7f97cbbd75e9 in xcb_wait_for_event () from /usr/lib64/libxcb.so.1
#3  0x7f97c3c3a0f9 in QXcbEventReader::run() () from
/usr/lib64/libQt5XcbQpa.so.5
#4  0x7f97d39d8291 in QThreadPrivate::start(void*) () from
/usr/lib64/libQt5Core.so.5
#5  0x7f97cecff897 in start_thread () from /lib64/libpthread.so.0
#6  0x7f97d9888cff in clone () from /lib64/libc.so.6

Thread 1 (Thread 0x7f97d9fac840 (LWP 23966)):
[KCrash Handler]
#6  0x7f97d53eed80 in KDirWatchPrivate::inotifyEventReceived() () from
/usr/lib64/libKF5CoreAddons.so.5
#7  0x7f97d3ba29f9 in QMetaObject::activate(QObject*, int, int, void**) ()
from /usr/lib64/libQt5Core.so.5
#8  0x7f97d3baeaf8 in QSocketNotifier::activated(int,
QSocketNotifier::QPrivateSignal) () from /usr/lib64/libQt5Core.so.5
#9  0x7f97d3baeec2 in QSocketNotifier::event(QEvent*) () from
/usr/lib64/libQt5Core.so.5
#10 0x7f97d4a4ad6c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
() from /usr/lib64/libQt5Widgets.so.5
#11 0x7f97d4a525f9 in QApplication::notify(QObject*, QEvent*) () from
/usr/lib64/libQt5Widgets.so.5
#12 0x7f97d3b79e5a in QCoreApplication::notifyInternal2(QObject*, QEvent*)
() from /usr/lib64/libQt5Core.so.5
#13 0x7f97d3bcaf8f in socketNotifierSourceDispatch(_GSource*, int
(*)(void*), void*) () from /usr/lib64/libQt5Core.so.5
#14 0x7f97cc6ae517 in g_main_context_dispatch () from
/usr/lib64/libglib-2.0.so.0
#15 0x7f97cc6ae780 in g_main_context_iterate.isra () from
/usr/lib64/libglib-2.0.so.0
#16 0x7f97cc6ae82c in g_main_context_iteration () from
/usr/lib64/libglib-2.0.so.0
#17 0x7f97d3bca60f in