[squeak-dev] -vm display=X11 -iconic causes clicks to register well *below* where the user clicked

Chris Muller asqueaker at gmail.com
Mon Aug 8 16:00:17 UTC 2016


Glad to see your name Dave, I hope you're on the mend!

I noticed that unmaximizing, then re-maximizing seems to clear up the
mis-alignment.  However, I've been doing this for more than 10 years
and never noticed this offset before...  Anyway..

Marcel, yes, -iconic means to start it minimized.  It appears as a
button in the tint2 taskbar, so its easy to see the multi-processing
part of the system working during that time (buttons appearing and
disappearing) but without disturbing working in another window if I
want.



On Mon, Aug 8, 2016 at 7:10 AM, David T. Lewis <lewis at mail.msen.com> wrote:
> On Sun, Aug 07, 2016 at 05:05:23PM -0500, Chris Muller wrote:
>> Today I noticed that in -iconic launched images, clicks register about
>> 1cm below where I click, rendering the image very difficult to use.
>>
>> To reproduce, take a trunk image, 1) load OSProcess, 2) maximize the
>> window, 3) save and exit the image.
>>
>> Now, from Linux command line, relaunch the image as I do my background
>> worker images:
>>
>>    squeak -vm display=X11 -iconic myImage.image &
>>
>> It launches iconic, click the icon in the taskbar to open it.  Now
>> click anywhere on the desktop, and notice the events being triggered
>> well below the mouse pointer.  Both hand position and clicks, as
>> well...
>>
>>  - Chris
>>
>> PS -- Why I ever lauch "-iconic", I have several apps which divide up
>> a large task and launch background Squeak images to tackle, each, a
>> portion of the task.  When the background images launch, I don't want
>> them to pop up on top of what I'm working on, but still be there
>> (e.g., not headless) so I can see them come-and-go in the TaskBar or
>> in case there's a problem.
>
> Confirming. I see the same behavior with an interpreter VM and V3 image.
>
> This looks like an X11 VM issue, possibly related to incorrectly including
> the window decoration in the saved window size.
>
> Dave
>
>


More information about the Squeak-dev mailing list