[prev in list] [next in list] [prev in thread] [next in thread] 

List:       koffice-devel
Subject:    Re: kword frameUnderMouse bug ?
From:       Frank Dekervel <Frank.dekervel () student ! kuleuven ! ac ! Be>
Date:       2002-02-27 16:22:55
[Download RAW message or body]

Op woensdag 27 februari 2002 16:17, schreef Thomas Zander:
> The second problem I see in the frame selection code is that you can't
> select a frame that is behind another.
>
> I think a better way to fix this is to get the first frame (like we do now)
> and then keep searching for a possibly selected frame.
> If no selected frame is found at that same position then the first is
> returned. If we find a selected frame then we unselect it and then return
> the first frame we find after the one that was selected.
>
> This way you have a state based selection algoritm that cycles through all
> frames, and the inline frames will be shown, but will not pose a problem
> since you can still select the other frame.
>
> This will have to be solved partly kwframe.[cc|h] probably with adding a
> boolean (with default=off) to the 2 search methods called from the method
> you state above.

Hi,
i have a little bit trouble parsing your mail, but i think the behaviour with 
the patch is already far better than without. To make it perfect, i would 
keep the patch, but extend it:

if frame handles (for an inline frame) are already shown (its selected), you 
can click on the handles that 'should not be visible -- are behind another 
frame --', 

but i don't think there should be a way to select an inline frame that ain't 
already selected by clicking on handles/frame borders that ain't visible, 
since that would be confusing: suppose you have some text running around 
frame A, and an inline frame in frame A that is too big for frame A. if you 
click on the text right of frame A, you expect the text to be selected or 
edited, not the frame behind the text, right ? if you want i can send you a 
.kwd file to show my point.

maybe we're just saying the same thing, but i don't quite get you right now.

greetings,
Frank


>
> Please give it a try.
>
> Sorry for the slow reply, and the (IMO incorrect) fix you allready made...
> But thanx for the attenttion!!
_______________________________________________
koffice-devel mailing list
koffice-devel@mail.kde.org
http://mail.kde.org/mailman/listinfo/koffice-devel
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic