jamulus icon indicating copy to clipboard operation
jamulus copied to clipboard

"Delete server" button doesn't show properly on macOS

Open softins opened this issue 1 year ago • 2 comments

Describe the bug

The "Delete server" button that was added in #3159 doesn't show properly on macOS. At least on my Mac running Catalina 10.15. The button is there, but it is too narrow to show the whole icon.

The button acts correctly when clicked on.

To Reproduce

Download and install a recent build artefact, e.g. from https://github.com/jamulussoftware/jamulus/actions/runs/8031934048. In this case, I installed the Mac Legacy, which had been built with Qt 5.15.2

Expected behavior

The button should be wide enough to show the backspace icon.

Screenshots

image

Operating system

MacOS 10.15 Catalina

Version of Jamulus

3.10.0dev-dbd6e61

Additional context

The button shows correctly on Windows, and when compiled on my Raspberry Pi. I haven't been able to try a more recent MacOS or the non-legacy build.

softins avatar Feb 27 '24 11:02 softins

That's bad. Does the same happen in the server where a comparable button is?

ann0see avatar Mar 31 '24 17:03 ann0see

That's bad. Does the same happen in the server where a comparable button is?

I will look more closely. Checking the various dev versions I have installed, it seems the delete button in the connect dialog shows up ok with Qt 5.9.9, but is truncated as shown above with Qt 5.12 or Qt 5.15. However, in all three cases the delete buttons in the Server Options page show up fine. I'll have to see what the subtle differences are.

softins avatar Mar 31 '24 22:03 softins

It appears ok in the artifact I downloaded from #3260. I'll check again once that has been merged and built with Qt 5.15.2.

softins avatar Jun 10 '24 22:06 softins

This is with Linux Qt 6.7.1: image image image


This is with Windows Qt 6.7.1: image image image


Hmm... they're not identical. The button in the server is larger and the glyph in the client is bold... (And, of course, different fonts between Linux and Windows. Probably some of the styling is set by the OS theming...)

pljones avatar Jun 14 '24 15:06 pljones

Hmm... they're not identical. The button in the server is larger and the glyph in the client is bold... (And, of course, different fonts between Linux and Windows. Probably some of the styling is set by the OS theming...)

Yes, the button in connectdlgbase.ui has a <bold>true</bold> in the font setting. We can make sure all is consistent in the PR to fix this issue.

softins avatar Jun 14 '24 17:06 softins

@pljones since this is a bug, can we move it to 3.11.0 back?

ann0see avatar Jun 20 '24 18:06 ann0see

I think we'll have to do something, so yeah. I'd like the PR asap, of course :)

pljones avatar Jun 21 '24 17:06 pljones

If we've no MacOS developers, we may have to drop MacOS support...

pljones avatar Jun 29 '24 15:06 pljones

Before we drop macOS support I'll get into macOS development.

ann0see avatar Jun 29 '24 17:06 ann0see

There are very likely some MacOS developers among the WorldJam participants. I'll put out a call...

chrisrimple avatar Jun 29 '24 17:06 chrisrimple

If we've no MacOS developers, we may have to drop MacOS support...

I can look at it after my holiday.

softins avatar Jun 29 '24 17:06 softins