Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-35385

New messages pop-ups are covered by the chat window

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.2, 2.3.6
    • Fix Version/s: 2.3.7, 2.4.4
    • Component/s: Chat, Messages
    • Labels:
    • Testing Instructions:
      Hide

      You need to either wait at least two minutes between checks for a popup or edit lib/moodlelib.php around line 10485 and comment out "$USER->message_lastpopup = time();" Moodle will not display popups more frequently than every 2 minutes unless you prevent the updating of the last popup setting.

      1. Open a terminal
      2. cd mod/chat
      3. php chatd.php --start
      1. Open a browser and log in as admin.
      2. Go to admin tree -> Plugins -> Activity modules -> Chat
      3. Set chat_method to "Chat server daemon". Keep this tab open.
      4. Go to admin user's messaging preferences and set personal messages to display a popup when both offline and online.
      1. In another browser log in as a different user and send admin a message.
      1. As admin go to a course and add a chat instance.
      2. Go to the chat instance and click "Click here to enter the chat now"
      3. Make sure you don't see any popups within the chat window.

      Close the chat room, alter chat_method and reenter the chat room.
      There are three modes in total, chat server daemon, ajax and normal. Check you dont see any popups within the chat window in any mode.

      Show
      You need to either wait at least two minutes between checks for a popup or edit lib/moodlelib.php around line 10485 and comment out "$USER->message_lastpopup = time();" Moodle will not display popups more frequently than every 2 minutes unless you prevent the updating of the last popup setting. Open a terminal cd mod/chat php chatd.php --start Open a browser and log in as admin. Go to admin tree -> Plugins -> Activity modules -> Chat Set chat_method to "Chat server daemon". Keep this tab open. Go to admin user's messaging preferences and set personal messages to display a popup when both offline and online. In another browser log in as a different user and send admin a message. As admin go to a course and add a chat instance. Go to the chat instance and click "Click here to enter the chat now" Make sure you don't see any popups within the chat window. Close the chat room, alter chat_method and reenter the chat room. There are three modes in total, chat server daemon, ajax and normal. Check you dont see any popups within the chat window in any mode.
    • Affected Branches:
      MOODLE_23_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE, MOODLE_24_STABLE
    • Pull Master Branch:
      MDL-35385_chat

      Description

      Replication steps:-

      1. Open a terminal
      2. cd mod/chat
      3. php chatd.php --start
      4. You SHOULD NOT see a "Command line scripts must define CLI_SCRIPT before requiring config.php" error
      5. Open a browser and login as an admin user
      6. Go to admin tree -> Plugins -> Activity modules -> Chat
      7. Set chat_method to "Chat server daemon"
      8. Enable msg popups from msg settings
      9. Send a few msgs to user A from user B
      10. Go to a course and add a chat module instance
      11. Go to the chat instance and click "Click here to enter the chat now"
      12. Log in as user B, make sure you can see popups on right corner
      13. Do not read or ignore messages, and login to a chat session
      14. Chat window on right has half truncated msg popup as shown in screen

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                • Votes:
                  0 Vote for this issue
                  Watchers:
                  4 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Fix Release Date:
                    13/May/13