Re: Display resizing question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hmm. Have you compared the spice debug output between virt-viewer and
your app to see if you can spot any obvious differences? (you can run
virt-viewer with --spice-debug to enable debugging)



On Thu, 2015-10-15 at 19:25 +0300, Alex Roithman wrote:
> But virt-viewer (Remote-viewer, based on spice-gtk-widget) process
> the resizing correctly with same one guest.
> 
> On 15 October 2015 at 19:17, Jonathon Jongsma <jjongsma@xxxxxxxxxx>
> wrote:
> > Ah, so does this mean you are using MATE as the desktop
> > environment? At
> > the moment, I believe that GNOME shell is the only desktop
> > environment
> > that handles the resize hotplug events properly.
> > 
> > 
> > On Thu, 2015-10-15 at 19:03 +0300, Alex Roithman wrote:
> > > This is the log with more quickly resizing...
> > > http://fpaste.org/279609/
> > >  The guest OS: Fedora-22-MATE LiveCD(x86_64).
> > >
> > > I am embarrassed that the "decode-glz.c: 374 decode_header:
> > 1024x768,
> > > id 0, ref 0" is the size that the display has at initialization.
> > >
> > >
> > > On 15 October 2015 at 18:29, Jonathon Jongsma <
> > jjongsma@xxxxxxxxxx>
> > > wrote:
> > > > On Thu, 2015-10-15 at 16:14 +0300, Alex Roithman wrote:
> > > > >  I can not to change the size of the display, using the API:
> > > > > 
> > https://github.com/F1ash/qt-virt-manager/blob/master/src/vm_viewe
> > > > r/qs
> > > > > pice_widgets/qspicewidget.cpp#L607-L631
> > > > >
> > > > > For debugging i use:
> > > > > spice_util_set_debug(true);
> > > > >
> > > > > Then i get this log:
> > > > > http://fpaste.org/279494/
> > > >
> > > > I see from this log that you are attempting to resize the
> > display
> > > > by 1
> > > > pixel increments. Does it also fail if you try slighty more
> > > > significant
> > > > changes? What is your guest OS?
> > > >
> > > >
> > > > >
> > > > > We can see that channel-main is processed the new size data
> > and
> > > > > configured the new size for display (see tail of log),
> > > > > but i can't see nothing changes in widget, nothing emitted
> > > > signals
> > > > > for this.
> > > > > How work with it?
> > > > > _______________________________________________
> > > > > Spice-devel mailing list
> > > > > Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> > > > > http://lists.freedesktop.org/mailman/listinfo/spice-devel
> > > >
> > > _______________________________________________
> > > Spice-devel mailing list
> > > Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> > > http://lists.freedesktop.org/mailman/listinfo/spice-devel
> > 
> _______________________________________________
> Spice-devel mailing list
> Spice-devel@xxxxxxxxxxxxxxxxxxxxx
> http://lists.freedesktop.org/mailman/listinfo/spice-devel
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]