[umbrello] [Bug 446020] Bird's eye view shows nothing at first open

"Oliver Kellogg" <[email protected]>
Newsgroups gmane.linux.umbrello.devel
Message-ID <[email protected]/>
https://bugs.kde.org/show_bug.cgi?id=446020

--- Comment #4 from Oliver Kellogg <[email protected]> ---
Git commit 9726f9100a564814c2daa77d4b5bd053465d4d26 by Oliver Kellogg.
Committed on 29/12/2021 at 21:10.
Pushed by okellogg into branch 'master'.

Application of patch suggested in
https://bugs.kde.org/show_bug.cgi?id=446020#c1 plus minor cleanups

umbrello/umlscene.cpp
- In function addWidgetCmd print debug message showing widget's x and y
  coordinates.
- In function setupNewWidget,
  - remove unneeded parentheses in if-condition testing w->isPinWidget()
    and others;
  - call UMLApp::app()->setCurrentView with activeView() as argument.
- In function dropEvent loop over tidList, on calling setupNewWidget
  provide `true' for argument setPosition.
- At functions selectedCount, setClassWidgetOptions fix minor issues in
  documentation.
- In function resizeSceneToItems, as an experimental change comment out
  call to setSceneRect(itemsBoundingRect()).
  It appears that the function resizeSceneToItems may be removed
  altogether (subject to further tests).

M  +15   -8    umbrello/umlscene.cpp

https://invent.kde.org/sdk/umbrello/commit/9726f9100a564814c2daa77d4b5bd053465d4d26

-- 
You are receiving this mail because:
You are the assignee for the bug.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.