Mantis Bugtracker
  

Viewing Issue Advanced Details Jump to Notes ] View Simple ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0006765 [Squeak] Morphic minor always 11-13-07 09:22 11-14-07 08:32
Reporter TRee View Status public  
Assigned To
Priority normal Resolution open Platform
Status new   OS
Projection none   OS Version
ETA none Fixed in Version Product Version 3.10
  Product Build
Summary 0006765: Click a SystemWindow; it does not go on top of a regular Morph, only on top of other SystemWindows
Description Squeak3.10beta.7143

A DemoMorph, sco Morph, covers part of the screen.
DemoMorph>>mouseDown: is written so that a DemoMorph goes to front when clicked.
A SystemWindow, e.g., a Browser, does NOT go to front when clicked.
Steps To Reproduce
Additional Information Karl pointed out that the problem was caused by
  SystemWindow>>mouseDown: evt
    ...
    TopWindow == self ifFalse:
        [evt hand releaseKeyboardFocus.
        self activate]
        ...
System Window only only goes on top of its own current TopWindow!!

I hacked this solution that fixed the problem for me:
  SystemWindow>>mouseDown: evt
    ...
    ((w := self world) notNil and: [w firstSubmorph == self])
    ifFalse:
        [evt hand releaseKeyboardFocus.
        self activate]
        ...
Attached Files

- Relationships
child of 0005124new  SystemWindows is ripe for a refactoring. 

- Notes
(0011435 - 145 - 169 - 169 - 169 - 169 - 169)
wiz
11-14-07 01:14

Hi TRee,

It would be good if you could briefly describe the desired behavior for the record.

Yours in curiosity and service, --Jerome Peace
 
(0011436 - 105 - 105 - 105 - 105 - 105 - 105)
TRee
11-14-07 08:32

Expected behavior is that a window will go to front (be wholly visible on the screen) when it is clicked.
 

- Issue History
Date Modified Username Field Change
11-13-07 09:22 TRee New Issue
11-13-07 23:17 wiz Relationship added child of 0005124
11-14-07 01:14 wiz Note Added: 0011435
11-14-07 08:32 TRee Note Added: 0011436


Mantis 1.0.8[^]
Copyright © 2000 - 2007 Mantis Group
41 total queries executed.
31 unique queries executed.
Powered by Mantis Bugtracker