! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
Mousepad doesn't get focus with 'Focus stealing prevention' on
Status:
RESOLVED: FIXED
Product:
Mousepad
Component:
General

Comments

Description Harold Aling 2006-12-22 07:49:01 CET
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.8.1) Gecko/20060601 Firefox/2.0 (Ubuntu-edgy)
Build Identifier: 

Opening a text file from the desktop opens in an unfocused Mousepad window. Opening the same file with 'scite' works correctly...

I have also filed a similar bug against Thunar, you can read up on it here: http://bugzilla.xfce.org/show_bug.cgi?id=2674

Thanks!

Reproducible: Always
Comment 1 Olivier Fourdan editbugs 2006-12-22 21:11:21 CET
This is really not a bug with mousepad but rather with xfdesktop/Thunar.
Comment 2 Harold Aling 2006-12-22 21:14:45 CET
(In reply to comment #1)
> This is really not a bug with mousepad but rather with xfdesktop/Thunar.
> 

It only happens with mousepad, but I trust your vision on this...
Comment 3 Erik Harrison 2007-01-10 05:26:04 CET
Closing as invalid
Comment 4 Harold Aling 2007-01-10 08:25:04 CET
Scite: gets focus when opening a .txt document from Thunar/Xfdekstop
Mousepad: doesn't get focus when opening a .txt document from Thunar/Xfdekstop

The only different ingredient is Mousepad, so it probably doesn't set the correct timestamp to it's GTK window... (?)

If there IS something invalid about this bug report, please say WHAT is invalid before closing the bug...
Comment 5 Erik Harrison 2007-01-10 19:03:57 CET
Honestly Harold? Because the author of Xfwm4 (Olivier) which determines whether or not a newly mapped window gets focus says it's a bug in xfdesktop/thunar. And until a minute ago I haven't been able to replicate it.

But now I can - your bug report didn't mention that you had turned on focus stealing prevention in the WM tweaks. I'm reopening this bug, but don't expect action on it for a while.
Comment 6 Andre Miranda editbugs 2013-10-16 01:11:35 CEST
Tested with Mousepad 0.3.0 and 'focus stealing prevention' turned on, this bug can't be reproduced. Please check.
Comment 7 Matthew Brush editbugs 2013-10-27 00:48:32 CEST
Closing as fixed since it can't be reproduced with lastest version, which is a total re-write of version this bug is about, and which is no longer maintained or supported. Please feel free to re-open and update the version on this bug or make a new report if you experience it still in latest version.

Bug #2677

Reported by:
Harold Aling
Reported on: 2006-12-22
Last modified on: 2013-10-27

People

Assignee:
Matthew Brush
CC List:
3 users

Version

Version:
0.2.11svn
Target Milestone:
Mousepad 0.2.x

Attachments

Additional information