Bug 104138 - A win7 guest in fullscreen, The fullscreen window can move(connecting by virt-viewer)
Summary: A win7 guest in fullscreen, The fullscreen window can move(connecting by virt...
Status: RESOLVED MOVED
Alias: None
Product: Spice
Classification: Unclassified
Component: virt-viewer (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Windows (All)
: medium normal
Assignee: Spice Bug List
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-06 01:06 UTC by hudeng
Modified: 2018-06-05 14:18 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
picture of bug (211.66 KB, image/png)
2017-12-06 01:06 UTC, hudeng
Details
2F749F7C@7C0E2217.55A3275A.png (12.94 KB, application/octet-stream)
2017-12-06 08:07 UTC, hudeng
Details
attachment-25805-0.html (2.48 KB, text/html)
2017-12-15 01:15 UTC, hudeng
Details

Description hudeng 2017-12-06 01:06:23 UTC
Created attachment 135992 [details]
picture of bug

OS:windows 10
guest:kvm windows 7
virt-viewer:6.0

Connect in fullscreen, The fullscreen windows can move.
Comment 1 Christophe Fergeau 2017-12-06 07:45:30 UTC
What are the steps to follow to reproduce this bug?
Comment 2 hudeng 2017-12-06 08:07:22 UTC
Created attachment 135995 [details]
2F749F7C@7C0E2217.55A3275A.png

Remote-viewr 6.0 connect to  a kvm guest(win7),Then click the full screen button in the menu(view--->Fullscreen), Then drag the toolbar on fullscreen window top. 
 
------------------ Original ------------------
From: "bugzilla-daemon"; 
Date: 2017年12月6日(星期三) 下午3:45
To: "hudeng"; 
Subject: [Bug 104138] A win7 guest in fullscreen, The fullscreen window canmove(connecting by virt-viewer)

 
" target="_blank"> Christophe Fergeau  changed           bug 104138           
                                      What             Removed             Added           
                      CC                                                     teuf@gnome.org                      
       
         
             Comment # 1               on bug 104138               from " target="_blank"> Christophe Fergeau          What are the steps to follow to reproduce this bug?         
       

       
       You are receiving this mail because:                  
You reported the bug.
Comment 3 hudeng 2017-12-14 07:44:24 UTC
window drag can disable by css file, for example:


*{
  -GtkWidget-window-dragging: false;
}
Comment 4 Eduardo Lima (Etrunko) 2017-12-14 14:52:23 UTC
(In reply to hudeng from comment #3)
> window drag can disable by css file, for example:
> 
> 
> *{
>   -GtkWidget-window-dragging: false;
> }

This property disables dragging not only in fullscreen, but in all cases, even if the window is not maximized. I could not reproduce this on linux, so may be something in windows version of Gtk+ only?
Comment 5 hudeng 2017-12-15 01:15:54 UTC
Created attachment 136184 [details]
attachment-25805-0.html

I think it can reduce the impact of this configuration. Get toolbar GdkScreen by using gtk_widget_get_screen, then use gtk_style_context_add_provider_for_screen
 modify toolbar window-dragging property.
------------------ Original ------------------
From:  "bugzilla-daemon"<bugzilla-daemon@freedesktop.org>;
Date:  Thu, Dec 14, 2017 10:52 PM
To:  "hudeng"<hudeng@os-easy.com>; 

Subject:  [Bug 104138] A win7 guest in fullscreen, The fullscreen window canmove(connecting by virt-viewer)

 
                             
         
             Comment # 4               on bug 104138               from "> Eduardo Lima (Etrunko)          (In reply to hudeng from comment #3) > window drag can disable by css file, for example: >  >  > *{ >   -GtkWidget-window-dragging: false; > } This property disables dragging not only in fullscreen, but in all cases, even if the window is not maximized. I could not reproduce this on linux, so may be something in windows version of Gtk+ only?         
       

       
       You are receiving this mail because:                  
You reported the bug.
Comment 6 GitLab Migration User 2018-06-05 14:18:06 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/spice/spice-gtk/issues/42.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.