archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
914 stars 267 forks source link

Palette window goes blank when switching view tabs #944

Closed CzechM8 closed 11 months ago

CzechM8 commented 1 year ago

No error log.

Version of Archi

5.1

Archi Plug-ins

jArchi CoArchi Ecel for Archi Lightbox for Archi

Operating System

Mac OS version 13.4.1

Expected Behaviour

Switching open view tabs should not cause the tools palette window to go blank.

Actual Behaviour

Switching open view tabs causes the tools palette window to go blank. It will be restored when switching back to the original view tab being viewed OR by hovering the cursor over the Palette window. This does not always happen.

Steps to Reproduce the Behaviour

  1. Open two view tabs
  2. Switch view tabs
  3. Screenshot 2023-07-05 at 1 18 12 PM Screenshot 2023-07-05 at 1 18 22 PM
Phillipus commented 1 year ago

Hi, thanks for the report.

I can't reproduce this here so any more details would be helpful.

It's likely that this is a tab/window focus issue. I can see in the second screenshot that the Properties tab is showing details for "R&B: Capability View" while the View tab is selected for something else.

If this happens again, try clicking in the View to put the focus on it.

Phillipus commented 1 year ago

Also, I notice you are using the "Classic" theme. Could you try with the "Light" theme.

Phillipus commented 1 year ago

Also, I notice you are using the "Classic" theme. Could you try with the "Light" theme.

I tried using the "Classic" theme and I managed to reproduce it. The contents are not being painted and I think this is a bug in Eclipse's code for the "Classic" theme. That theme is not really supported any more.

See also https://github.com/archimatetool/archi/issues/767

CzechM8 commented 1 year ago

Ah ha! The issue disappears with the Light theme!

On Wed, Jul 5, 2023 at 1:33 PM Phil Beauvoir @.***> wrote:

Also, I notice you are using the "Classic" theme. Could you try with the "Light" theme.

— Reply to this email directly, view it on GitHub https://github.com/archimatetool/archi/issues/944#issuecomment-1622193847, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWYRCSZUS5GCZ54WYKNHADXOWQNPANCNFSM6AAAAAAZ7IAGO4 . You are receiving this because you authored the thread.Message ID: @.***>

CzechM8 commented 1 year ago

Yes, I suspected eclipse also.

On Wed, Jul 5, 2023 at 1:44 PM Phil Beauvoir @.***> wrote:

Also, I notice you are using the "Classic" theme. Could you try with the "Light" theme.

I tried using the "Classic" theme and I managed to reproduce it. The contents are not being painted and I think this is a bug in Eclipse's code for the "Classic" theme. That theme is not really supported any more.

See also #767 https://github.com/archimatetool/archi/issues/767

— Reply to this email directly, view it on GitHub https://github.com/archimatetool/archi/issues/944#issuecomment-1622208718, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWYRCUEBWL4DQWO5356VUDXOWRXZANCNFSM6AAAAAAZ7IAGO4 . You are receiving this because you authored the thread.Message ID: @.***>

Phillipus commented 1 year ago

It's so hard to reproduce this one, and I only managed it twice. I think we'll have to accept it as an obscure Eclipse bug which is unlikely to get fixed.

CzechM8 commented 1 year ago

Phil,

I did experience this issue again using the Light theme, but it happens MUCH less frequently.

Les

On Wed, Jul 5, 2023 at 2:11 PM Phil Beauvoir @.***> wrote:

It's so hard to reproduce this one, and I only managed it twice. I think we'll have to accept it as an obscure Eclipse bug which is unlikely to get fixed.

— Reply to this email directly, view it on GitHub https://github.com/archimatetool/archi/issues/944#issuecomment-1622243022, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWYRCQCJCALYHYIJG5X7HLXOWU5LANCNFSM6AAAAAAZ7IAGO4 . You are receiving this because you authored the thread.Message ID: @.***>

Phillipus commented 1 year ago

I did experience this issue again using the Light theme, but it happens MUCH less frequently.

Interesting. I wonder if it's a Mac issue? I'm finding it hard to get a reproducible set of steps.

Phillipus commented 1 year ago

And maybe only when using the separate Palette tab?

CzechM8 commented 1 year ago

I can pull it up on my laptop and see what WIndows does.

On Wed, Jul 5, 2023 at 2:31 PM Phil Beauvoir @.***> wrote:

I did experience this issue again using the Light theme, but it happens MUCH less frequently.

Interesting. I wonder if it's a Mac issue? I'm finding it hard to get a reproducible set of steps.

— Reply to this email directly, view it on GitHub https://github.com/archimatetool/archi/issues/944#issuecomment-1622271356, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWYRCSDIM26UYMRD5RCW3TXOWXJBANCNFSM6AAAAAAZ7IAGO4 . You are receiving this because you authored the thread.Message ID: @.***>

CzechM8 commented 1 year ago

I combined the visualizer and palette tabs and was still able to reproduce the issue.

On Wed, Jul 5, 2023 at 2:35 PM Phil Beauvoir @.***> wrote:

And maybe only when using the separate Palette tab?

— Reply to this email directly, view it on GitHub https://github.com/archimatetool/archi/issues/944#issuecomment-1622275376, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWYRCRVPCJCH7Y3QGVPP3LXOWXWHANCNFSM6AAAAAAZ7IAGO4 . You are receiving this because you authored the thread.Message ID: @.***>

Phillipus commented 1 year ago

I combined the visualizer and palette tabs and was still able to reproduce

No, I mean closing the Palette tab so it's part of and combined with a View.

CzechM8 commented 1 year ago

Ah! That seems to work great. I couldn't even reproduce it with the classic theme!

On Wed, Jul 5, 2023 at 2:55 PM Phil Beauvoir @.***> wrote:

I combined the visualizer and palette tabs and was still able to reproduce

No, I mean closing the Palette tab so it's part of and combined with a View.

— Reply to this email directly, view it on GitHub https://github.com/archimatetool/archi/issues/944#issuecomment-1622299944, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWYRCXU2LCXETHQQYEJYN3XOW2ALANCNFSM6AAAAAAZ7IAGO4 . You are receiving this because you authored the thread.Message ID: @.***>

Phillipus commented 1 year ago

I've done more testing.

  1. It's not related to the theme. Does it in Light theme.
  2. Seems to be Mac only, can't reproduce on Windows

Steps to reproduce:

  1. Open the separate Palette tab and move it to the side
  2. Open several Views
  3. Double-click on a View's tab so it maximises (Palette tab will be hidden)
  4. Double-click on the same View's tab so it restores to normal size (Palette tab will be shown)
  5. Click on another View's tab
Phillipus commented 12 months ago

I have a workaround for this now.

CzechM8 commented 12 months ago

Sweet! Do tell. 🙂 I've moved my palette into the view window and so far, all is well.

On Fri, Jul 7, 2023 at 12:48 PM Phil Beauvoir @.***> wrote:

I have a workaround for this now.

— Reply to this email directly, view it on GitHub https://github.com/archimatetool/archi/issues/944#issuecomment-1625680629, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAWYRCVNWFWKMZ6B7VIURJ3XPA4VVANCNFSM6AAAAAAZ7IAGO4 . You are receiving this because you authored the thread.Message ID: @.***>

CzechM8 commented 12 months ago

Ah! Just saw the link!

Phillipus commented 11 months ago

Fixed in Archi 5.1 beta 2.