specify6 icon indicating copy to clipboard operation
specify6 copied to clipboard

[macOS] Windows are too small to fit any content

Open maxpatiiuk opened this issue 7 years ago • 48 comments

On a data insertion tab in Specify 6.8.00 on macOS, there is a button "More forms" Screen Shot 2019-11-29 at 1 23 18 PM

Normally, the click on this button opens the "Chose a form" window, which should look like that Screen Shot 2019-11-29 at 1 23 54 PM

But also sometimes is displayed like that:

Screen Shot 2019-11-29 at 1 23 44 PM

It seemed at first like it can not fetch any tables, but in reality, the window is just to short to fit any content. User can increase the height of the window manually, or click a fullscreen button to solve this issue, though the user is far more likely to think that there are no "More forms" available

The issues occur seemingly randomly without particular consistency: I can click the button 10 times, and 5 of them will be showing the window of normal size, whereas other 5 would show an ultra-short window

A possible solution would be to set the minimum height for the window and is such a way to prevent the user or the system from summoning a window that is too short

I am not sure, but the problem seems to be specific to macOS systems. Also, it fixes itself after the reboot of Specify but then can occur again for seemingly no apparent reason. Tell me if more research and testing is needed to identify the possible cause of this bug

maxpatiiuk avatar Nov 29 '19 19:11 maxpatiiuk

Similar problem with "Updating tree" window, except in this case the user can not change the size of the window, to properly fit the content

Screen Shot 2019-11-29 at 1 53 19 PM

maxpatiiuk avatar Nov 29 '19 19:11 maxpatiiuk

Same problem with "Chose a Record Set" Window (Workbench > Create a Data Set from Record Set)

Screen Shot 2019-11-29 at 2 32 35 PM

This is how it is supposed to look, even if there are no record sets available to chose from: Screen Shot 2019-11-29 at 2 34 20 PM

maxpatiiuk avatar Nov 29 '19 20:11 maxpatiiuk

Still is a problem for Tree updates window

Screen Shot 2019-12-04 at 10 19 39 AM

maxpatiiuk avatar Dec 04 '19 16:12 maxpatiiuk

Still the case for Choose a Record Set

Screen Shot 2019-12-04 at 10 21 34 AM

maxpatiiuk avatar Dec 04 '19 16:12 maxpatiiuk

@timo11 need to take another look at this issue

maxpatiiuk avatar Dec 04 '19 16:12 maxpatiiuk

This was fixed 12/3. Are you running from the ide or are you using v6.8.00_testing_20191202?

timo11 avatar Dec 04 '19 18:12 timo11

Am running the latest beta of Specify (v6.8.00_testing_20191202)

Screen Shot 2019-12-04 at 12 31 52 PM

Screen Shot 2019-12-04 at 12 30 42 PM

maxpatiiuk avatar Dec 04 '19 18:12 maxpatiiuk

All bugs are reproducible

Screen Shot 2019-12-04 at 12 32 49 PM

maxpatiiuk avatar Dec 04 '19 18:12 maxpatiiuk

The fix from 12/3 is not in the release from 12/2

timo11 avatar Dec 04 '19 18:12 timo11

Okay. Am sorry about that. Will test it in the next release

maxpatiiuk avatar Dec 04 '19 19:12 maxpatiiuk

Updating Tree window does work well now All the other windows are still broken (30% of the time)

Screen Shot 2019-12-04 at 4 52 50 PM Screen Shot 2019-12-04 at 4 53 39 PM Screen Shot 2019-12-04 at 4 55 00 PM

maxpatiiuk avatar Dec 04 '19 22:12 maxpatiiuk

All windows were sized properly 10+/10+ displays. Seems, for me, that the issue was more likely to occur after swtiching to Specify from another app, and after using the close box rather than the cancel btn.

timo11 avatar Dec 05 '19 17:12 timo11

Reproducible in the newest beta if I close the window before this one by both cancel button and red X in the corner Thought now it happens not in 50% of cases, but only in one in 30. Good enough? I just can not comprehend why is this issue occurring at random Also, the window usually opens at the middle of the screen, but sometimes it spawns in a location different than that (may be connected)

Screen Shot 2019-12-05 at 3 59 28 PM Screen Shot 2019-12-05 at 3 56 17 PM

maxpatiiuk avatar Dec 05 '19 22:12 maxpatiiuk

also, on a PC, when I click to see the error log, the window expands past both of my screens. I have to move it to get to an edge to resize it. To test this, I'm sure you will need to have created an error earlier so there is a stack trace error in the text.

tlammer avatar Dec 06 '19 21:12 tlammer

also, this happens: image

tlammer avatar Dec 06 '19 22:12 tlammer

Linux here Error window wider that the screen Errror is summoned by entering incorect IT Username and IT Passwrd

Screenshot from 2019-12-09 14-02-44

maxpatiiuk avatar Dec 09 '19 20:12 maxpatiiuk

Even though this one does not occur in Specify 6.8 on my screen, it still can, depending on how wide user's screen is. Specify should limit maximum width of error window to the width of a screen and use word wrap for text inside Screenshot from 2019-12-09 14-07-02

maxpatiiuk avatar Dec 09 '19 20:12 maxpatiiuk

Still happening Screen Shot 2019-12-12 at 3 53 02 PM Screen Shot 2019-12-12 at 4 01 22 PM Screen Shot 2019-12-12 at 4 02 03 PM

Choose a record set took ~50 times opening/closing the windows to replicate the issue, but still happens

maxpatiiuk avatar Dec 12 '19 23:12 maxpatiiuk

The window to chose a collection usually opens normally, but this time it did not Screen Shot 2019-12-13 at 11 01 25 AM I think that every window in Specify on macOS can get opened with inappropriate size from time to time

maxpatiiuk avatar Dec 13 '19 17:12 maxpatiiuk

I can't duplicate this issue on my mac (High Sierra 10.13.6) as of commit 730cd1c2.

timo11 avatar Dec 13 '19 21:12 timo11