~ps-jenkins/unity/trusty-proposed

« back to all changes in this revision

Viewing changes to lockscreen/UserPromptView.h

  • Committer: CI bot
  • Author(s): Chris Townsend, Andrea Azzarone, Alfred Neumayer, Brandon Schaefer, Marco Trevisan (Treviño)
  • Date: 2014-07-14 14:30:31 UTC
  • mfrom: (3797.1.35 unity.trusty-7.2.2)
  • Revision ID: ps-jenkins@lists.canonical.com-20140714143031-f5ky7acxlp761352
Prepare for upstream micro-release 7.2.2 that includes fixes for the following bugs:
Bug #607796: Launcher, Window management - Dragging and holding a selection over an entry in the Launcher should spread out windows belonging to that application
Bug #727902: Launcher icon highlighting should not switch off as soon the cursor moves after the app spread appears.
Bug #741869: Unity/compiz intercepts Super and Alt keypresses from grabbed windows like VMs.
Bug #754580: Cannot move tabs between multiple Firefox or Chromium windows while using Unity unless windows are both unmaximized, unminimized, and visible.
Bug #839728: Launcher - dragging a item on top of a launcher tile that is a valid drop receptacle in the Launcher should cause that launcher tile to glow
Bug #924840: Keyboard shortcuts overlay text too long
Bug #1281058: [UIFe] The system shutdowns when multiple accounts are open
Bug #1283775: Launcher: icon pips are not always updated properly
Bug #1304882: [Regression] Launcher doesn't reappear fully after hiding from DND
Bug #1305586: Lock screen is unusable when some windows have a keyboard/mouse grab
Bug #1307738: Lockscreen caps lock icon drawn under text entry, should be a white icon.
Bug #1308288: Lockscreen warning icon has no tooltip
Bug #1308323: Shutdown/reboot/login/logout dialogs not scaled after toggling UI scale Edit
Bug #1308911: Clipboard contents are accessible within lockscreen
Bug #1309739: Unity launcher icon edge illumination is offset
Bug #1310200: Indicators disappear at the panel (clementine, dropbox, skype etc)
Bug #1313280: Fullscreen window set to "Always on Top" in single-monitor will hide the lockscreen
Bug #1316005: Panel shadow appears over full screen applications w/ locally integrated menus enabled
Bug #1317348: Switcher (Alt-Tab) does not respect monitor-defined scaling factor
Bug #1317356: Shortcut hint does not respect monitor scaling factor
Bug #1317869: Keyboard shortcuts overlay does not show up when workspaces are enabled at 1366x768
Bug #1320438: Unity launcher auto hide fails on screen unlock using "Super+L"
Bug #1321043: [regression] lock screen bypass with touchpad Fixes: 607796, 727902, 741869, 754580, 839728, 924840, 1281058, 1283775, 1304882, 1305586, 1307738, 1308288, 1308323, 1308911, 1309739, 1310200, 1313280, 1316005, 1317348, 1317356, 1317869, 1320438, 1321043
Approved by: Marco Trevisan (Treviño)

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
  void AddMessage(std::string const& message, nux::Color const& color);
57
57
  void AuthenticationCb(bool authenticated);
58
58
 
59
 
  void CheckIfCapsLockOn();
60
 
 
61
59
protected:
62
60
  void Draw(nux::GraphicsEngine& graphics_engine, bool force_draw) override;
63
61
  void DrawContent(nux::GraphicsEngine& graphics_engine, bool force_draw) override;
66
64
  void ResetLayout();
67
65
 
68
66
  bool InspectKeyEvent(unsigned int eventType, unsigned int key_sym, const char* character);
69
 
  void RecvKeyUp(unsigned int, unsigned long, unsigned long);
70
 
 
71
 
  void PaintWarningIcon(nux::GraphicsEngine& graphics_engine, nux::Geometry const& geo);
72
 
  void ToggleCapsLockBool();
73
 
 
74
 
  int GetWarningIconOffset();
75
67
 
76
68
  session::Manager::Ptr session_manager_;
77
69
  UserAuthenticatorPam user_authenticator_;
81
73
  StaticCairoText* message_;
82
74
  StaticCairoText* error_;
83
75
  StaticCairoText* invalid_login_;
84
 
  std::deque<IMTextEntry*> focus_queue_;
 
76
  std::deque<TextInput*> focus_queue_;
85
77
 
86
 
  nux::BaseTexture* warning_;
87
78
  nux::Geometry cached_focused_geo_;
88
 
 
89
 
  bool caps_lock_on_;
90
 
  int spin_icon_width_;
91
79
};
92
80
 
93
81
}