Discussion:
[muon] [Bug 401466] New: Window size is not adjusted to show the error message after I click "Details >>" button
Patrick Silva
2018-11-27 13:24:21 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401466

Bug ID: 401466
Summary: Window size is not adjusted to show the error message
after I click "Details >>" button
Product: muon
Version: unspecified
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: muon
Assignee: ***@kubuntu.org
Reporter: ***@gmx.com
CC: ***@gmail.com
Target Milestone: ---

Created attachment 116533
--> https://bugs.kde.org/attachment.cgi?id=116533&action=edit
demonstration

when I click "Details >>" button in an error message, the window size is not
adjusted to show the text. The window needs to be resized manually.
Watch the screencast please.

EXPECTED RESULT
the window should show the error message without manual resizing.

SOFTWARE/OS VERSIONS
KDE neon Developer Edition
KDE Plasma: 5.14.80
KDE Frameworks: 5.53.0
Qt: 5.11.2
--
You are receiving this mail because:
You are watching all bug changes.
Carlo Vanini
2018-12-10 14:19:03 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401466

Carlo Vanini <***@gmail.com> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |kdelibs-***@kde.org
Summary|Window size is not adjusted |KMessageBox::detailedError
|to show the error message |window size is not adjusted
|after I click "Details >>" |to show the error message
|button |after I click "Details >>"
| |button
Component|muon |general
Assignee|***@kubuntu.org |***@kde.org
Product|muon |frameworks-kwidgetsaddons
Version|unspecified |5.44.0

--- Comment #1 from Carlo Vanini <***@gmail.com> ---
Minimal working example

main.cpp
========

#include <QApplication>
#include <KMessageBox>

int main(int argc, char **argv) {
QApplication app(argc, argv);

KMessageBox::detailedError(nullptr,
QStringLiteral("This is a short text"),
QStringLiteral("Here are the full and long
details about the error, or whaterver did happen to the running
application.\n")
);
app.processEvents();
return 0;
}

CMakeLists.txt
==============

cmake_minimum_required(VERSION 2.6)
project(test)
find_package(ECM REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${ECM_KDE_MODULE_DIR})
find_package(Qt5 5.7.0 REQUIRED CONFIG COMPONENTS Widgets)
find_package(KF5 REQUIRED WidgetsAddons)
add_executable(test main.cpp)
target_link_libraries(test KF5::WidgetsAddons)
--
You are receiving this mail because:
You are watching all bug changes.
Christoph Feck
2018-12-10 22:43:30 UTC
Permalink
https://bugs.kde.org/show_bug.cgi?id=401466

Christoph Feck <***@kde.org> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|REPORTED |CONFIRMED
Ever confirmed|0 |1

--- Comment #2 from Christoph Feck <***@kde.org> ---
https://phabricator.kde.org/D17495
--
You are receiving this mail because:
You are watching all bug changes.
Loading...