! 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 !
drop down creates new window on second screen (DISPLAY=:0.1)
Status:
RESOLVED: WONTFIX
Product:
Xfce4-terminal
Component:
General

Comments

Description gb2312 2013-03-28 04:01:27 CET
Created attachment 4978 
register/call addtional dbus services by screen

Using --drop-down option on second screen (:0.1) of dual screen (:0.0 and :0.1)
setup each time would create a new drop down window.

I believe it's because every time it's because there is already a dbus instance
running on 0.0, which would return display mistach on invocation, force screen
:0.1 to create new one every time.

In addition to default dbus service name

org.xfce.Terminal5

I have a hack to register encoded services at

org.xfce.Terminal5.screen._0x3A_0_0x2E_0   == :0.0
org.xfce.Terminal5.screen._0x3A_0_0x2E_1   == :0.1

and get the invocation to retry matching names if default call returned
display mismatch. This seems to work despite some strange dbus error on
registration which is not consistent with the duplicate registration.
Comment 1 Nick Schermer editbugs 2013-05-05 20:50:16 CEST
Fixed another way, hopefully.
Comment 2 gb2312 2013-06-10 23:17:08 CEST
I just installed debian xfce4-terminal 0.6.2, but when starting an addtional
xfce4-terminal on a separate display/screen, (all) the original xfce4-terminal
disappeared! It actually failed with:

$ xfce4-terminal The program 'xfce4-terminal' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadMatch (invalid parameter attributes)'.
  (Details: serial 604 error_code 8 request_code 1 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)

I did try gdb & etc but couldn't find out what occurred. Then when I reverted
the changes using function terminal_gdbus_display_name(), the problem stopped.
Comment 3 gb2312 2013-06-10 23:18:44 CEST
Created attachment 5067 
revert changes removes BadMatch failure.

This is the debug patch I made that reverted recent change and avoided
the X system error.
Comment 4 Skunnyk editbugs 2020-05-22 12:50:28 CEST
Closing old bugs.

Bug #9957

Reported by:
gb2312
Reported on: 2013-03-28
Last modified on: 2020-05-22

People

Assignee:
Nick Schermer
CC List:
2 users

Version

Attachments

Additional information