[prev in list] [next in list] [prev in thread] [next in thread] 

List:       konq-bugs
Subject:    [konqueror] [Bug 322686] New: assert when returning from "File Size View" to another type of view
From:       Jonathan Marten <jjm () keelhaul ! me ! uk>
Date:       2013-07-22 13:05:45
Message-ID: bug-322686-5021 () http ! bugs ! kde ! org/
[Download RAW message or body]

https://bugs.kde.org/show_bug.cgi?id=322686

            Bug ID: 322686
           Summary: assert when returning from "File Size View" to another
                    type of view
    Classification: Unclassified
           Product: konqueror
           Version: Git
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
          Assignee: konq-bugs@kde.org
          Reporter: jjm@keelhaul.me.uk

Konqueror in the file bowsing mode crashes with an assert when File Size View
is selected and then one of the icons/details/compact modes is selected again.

ASSERT: "modeName.endsWith("-viewmode")" in file
/ws/trunk/kdebase/kdebaseapps/konqueror/src/konqmainwindow.cpp, line 1606

The code in question, added by commit e1428451 to fix bug 299020, says:

QString modeName = action->objectName();
Q_ASSERT(modeName.endsWith("-viewmode"));

When switching between these modes, though, the name appears to be set to
"dolphinpart" (verified with a kDebug and with gdb).


Reproducible: Always

Steps to Reproduce:
1.  Open Konqueror in file browsing mode viewing a local directory.
2.  Select Menu bar - View - View Mode - File Size View
3.  Select Menu bar - View - View Mode - Icons

Actual Results:  
Assert crash after step 3.


Expected Results:  
No crash.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
Konq-bugs mailing list
Konq-bugs@kde.org
https://mail.kde.org/mailman/listinfo/konq-bugs
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic