[umbrello] [Bug 480019] Bird's Eye View doesn't update from original document size

2024-03-27 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=480019

Ralf Habacker  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/sdk/
   ||umbrello/-/commit/0f9884eb5
   ||325b41e40aa03257464ad43d506
   ||5dce
 Resolution|--- |FIXED
   Version Fixed In||2.39.2 (KDE releases
   ||24.02.02)
 Status|REPORTED|RESOLVED

--- Comment #11 from Ralf Habacker  ---
Git commit 0f9884eb5325b41e40aa03257464ad43d5065dce by Ralf Habacker.
Committed on 27/03/2024 at 10:35.
Pushed by habacker into branch 'release/24.02'.

Correct inappropriate scrollbars after importing graphs into a diagram

When importing graphs into a class or sequence diagram, the extent of the
scene was too small, so that it was not possible to scroll over the entire
elements.

umbrello/diagram_utils.cpp:
- in importGraph() update scene rect

umbrello/umlscene.{h,cpp}:
- add static constant s_sceneBorder
- add method updateSceneRect()
FIXED-IN: 2.39.2 (KDE releases 24.02.02)

M  +2-0umbrello/diagram_utils.cpp
M  +10   -0umbrello/umlscene.cpp
M  +2-0umbrello/umlscene.h

https://invent.kde.org/sdk/umbrello/-/commit/0f9884eb5325b41e40aa03257464ad43d5065dce

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

[umbrello] [Bug 480019] Bird's Eye View doesn't update from original document size

2024-03-27 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=480019

--- Comment #10 from Ralf Habacker  ---
Git commit bccb5f391ae2caaee518ab4ada7651b6b2522c3f by Ralf Habacker.
Committed on 27/03/2024 at 10:35.
Pushed by habacker into branch 'release/24.02'.

umbrello/diagram_utils.{h,cpp}: Restructured in preparation for troubleshooting

- Outsourcing the actual working parts of importGraph() to
  importClassGraph()
- Rename the parameter fileName into sourceHint, as not only
  file names are specified here

M  +28   -26   umbrello/diagram_utils.cpp
M  +3-2umbrello/diagram_utils.h

https://invent.kde.org/sdk/umbrello/-/commit/bccb5f391ae2caaee518ab4ada7651b6b2522c3f

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

[umbrello] [Bug 480019] Bird's Eye View doesn't update from original document size

2024-03-07 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=480019

--- Comment #9 from Ralf Habacker  ---
(In reply to Joseph Morgan from comment #8)
> The good news is, there is a work around.

Another workaround is to open the diagram settings dialogue box and adjust the
size of the diagram, which can also be helpful. However, there are also
restrictions here, see https://bugs.kde.org/show_bug.cgi?id=446020#c8

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

[umbrello] [Bug 480019] Bird's Eye View doesn't update from original document size

2024-03-07 Thread Joseph Morgan
https://bugs.kde.org/show_bug.cgi?id=480019

--- Comment #8 from Joseph Morgan  ---
OK.  Got it now!  Thanks.

I can drag a class from a class diagram all the way outside the green
rectangle.  The blue one expands, but not the green.  I can never drag the blue
rectangle in the Bird's Eye View beyond the bounds of the green rectangle as
shown in the class diagram.

Thanks for the update, as well, on it being an unresolved issue and not so much
having to do with Ubuntu.

The good news is, there is a work around.   Thanks again.

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

[umbrello] [Bug 480019] Bird's Eye View doesn't update from original document size

2024-03-07 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=480019

--- Comment #7 from Ralf Habacker  ---
This issue appears to be an unresolved problem in trying to resolve the issues
described in bug 446020 .

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

[umbrello] [Bug 480019] Bird's Eye View doesn't update from original document size

2024-03-07 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=480019

Ralf Habacker  changed:

   What|Removed |Added

 Attachment #166636|0   |1
is obsolete||

--- Comment #6 from Ralf Habacker  ---
Created attachment 166638
  --> https://bugs.kde.org/attachment.cgi?id=166638=edit
xmi test case file

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

[umbrello] [Bug 480019] Bird's Eye View doesn't update from original document size

2024-03-07 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=480019

--- Comment #5 from Ralf Habacker  ---
(In reply to Joseph Morgan from comment #2)
> Sorry it took so long for me to get back to this.   My debug is on
> (apparently always was).  I see the blue rectangle, but not the green one.

You should be able to see the green rectangle after loading the appended xmi
test file as shown in the appended screenshot.

> Could it be because I'm using Ubuntu here?

Probably no, it depends on the xmi file you loaded.

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

[umbrello] [Bug 480019] Bird's Eye View doesn't update from original document size

2024-03-07 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=480019

--- Comment #4 from Ralf Habacker  ---
Created attachment 166637
  --> https://bugs.kde.org/attachment.cgi?id=166637=edit
Screenshot with enabled debug option umbrello:UMLScene

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

[umbrello] [Bug 480019] Bird's Eye View doesn't update from original document size

2024-03-07 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=480019

--- Comment #3 from Ralf Habacker  ---
Created attachment 166636
  --> https://bugs.kde.org/attachment.cgi?id=166636=edit
xmi test case file

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

[umbrello] [Bug 480019] Bird's Eye View doesn't update from original document size

2024-03-07 Thread Joseph Morgan
https://bugs.kde.org/show_bug.cgi?id=480019

--- Comment #2 from Joseph Morgan  ---
Sorry it took so long for me to get back to this.   My debug is on (apparently
always was).  I see the blue rectangle, but not the green one.

Could it be because I'm using Ubuntu here?

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

[umbrello] [Bug 480019] Bird's Eye View doesn't update from original document size

2024-02-29 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=480019

Ralf Habacker  changed:

   What|Removed |Added

 CC||ralf.habac...@freenet.de

--- Comment #1 from Ralf Habacker  ---
The problem is probably that the scene rectangle does not match the bounding
rectangle of the contained elements. You can check this by activating
'umbrello:UMLScene' in the debug view. If the debug view is not visible, you
can show it by right-clicking on the menu bar of the application and activating
'Debug'. A green rectangle will then appear in a diagram showing the current
dimensions of the scene rectangle. A blue rectangle is drawn for the dimensions
of the contained elements.

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