nedit-ng icon indicating copy to clipboard operation
nedit-ng copied to clipboard

Window not correct default size when created off screen

Open eteran opened this issue 5 years ago • 3 comments

@anjohnson previously reported in issue #65 the following:

I still have the issue (which occurs with both nc and nc-ng under RHEL-7.5 with Gnome 3.28 but I've not seen with nc under RHEL-6.10 with Gnome 2.28) that starting a new server sometimes opens 2 windows, one for Untitled and one for the file I asked for. If I ask it to open 2 files I might get 2 windows or 3, and the second and subsequent windows may have the size problem discussed in point 2 above. I think this must be a race condition in the server code because sometimes I get an Untitled window or tab, sometimes the second file requested gets opened in the first window (of the correct window size) with no Untitled tab, and sometimes the second file opens a third window that is correctly sized. I mention this here because @lester96 also raised it earlier in this conversation and I don't want that report to get lost.

I am breaking this part out into its own issue so it is easier to track and search for.

eteran avatar May 16 '19 17:05 eteran

The fix for #102 seems to have stopped nc-ng from creating the extra Untitled windows/tabs that I was getting, but new windows (when I already have at least one other window open on a different virtual desktop) still mostly get created at the default size, not at my preferred size.

anjohnson avatar May 22 '19 17:05 anjohnson

@anjohnson thanks for the heads up!

eteran avatar May 22 '19 17:05 eteran

Another update — so apparently I lied. For some reason (which I'm not expecting you to look into at this point) the nedit-ng and nc-ng windows that I had left open over the long weekend lost their ability to see my shift key for selecting character ranges with either the keyboard or mouse, although other keys and editing functions still seemed to work fine. Anyway as a result I closed all the windows and restarted them and the shift keys work fine now, but the nc-ng command (with one filename) created two windows, one for Untitled and the other for the named file. Both windows were my preferred size this time though.

I am not using the -svrname option.

anjohnson avatar May 28 '19 15:05 anjohnson