[umbrello-devel] [umbrello] [Bug 351621] KF5 version can't be launched from the menu

Ralf Habacker ralf.habacker at freenet.de
Sun Aug 23 14:04:36 UTC 2015


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

--- Comment #8 from Ralf Habacker <ralf.habacker at freenet.de> ---
(In reply to Ralf Habacker from comment #5)
> (In reply to Antonio Rojas from comment #4)
> > Could be because umbrello (and kate) creates a new document named "Untitled"
> > by default when opened, and that overrides the window title. 
> There is nothing  special in Kf5 version of umbrello. It uses the same call
> to KMainWindow:setCaption() as the KDE4 version does.  
> > kwrite doesn't seem to do that, and if you launch it with 'kwrite
> > -qwindowtitle foo' you get 'foo' in the titlebar. 
> Umbrello's Mainwindow class is derived from KXMLGui and all window title
> related stuff is handled there, so it looks not to be a bug in umbrello.
For the record: The doc of  virtual void KMainWindow::setCaption(const QString
&caption, bool modified); says:
    /**
     * Makes a KDE compliant caption.
     *
     * @param caption Your caption. @em Do @em not include the application name
     * in this string. It will be added automatically according to the KDE
     * standard.

which second my statement in comment 5.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the umbrello-devel mailing list